mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-22 02:44:38 +00:00
[Emscripten] Fix disabling the vsync
This commit is contained in:
parent
eb83d6dfc0
commit
7602ce5bc9
@ -142,8 +142,11 @@ function stat(path)
|
||||
function startRetroArch()
|
||||
{
|
||||
document.getElementById('canvas_div').style.display = 'block';
|
||||
document.getElementById('vsync').disabled = true;
|
||||
document.getElementById('vsync-label').style.color = 'gray';
|
||||
// Disable the VSync option.
|
||||
jQuery('#vsync')
|
||||
.attr('disabled', true)
|
||||
.parent('.form-check')
|
||||
.addClass('disabled');
|
||||
document.getElementById('latency').disabled = true;
|
||||
document.getElementById('latency-label').style.color = 'gray';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user