mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-22 02:44:38 +00:00
Merge pull request #3396 from RobLoach/vsync
[Emscripten] Fix disabling the vsync
This commit is contained in:
commit
98b2712dfb
@ -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)
|
||||
.parents('.form-check')
|
||||
.addClass('disabled');
|
||||
document.getElementById('latency').disabled = true;
|
||||
document.getElementById('latency-label').style.color = 'gray';
|
||||
|
||||
@ -244,4 +247,4 @@ var Module =
|
||||
{
|
||||
this.totalDependencies = Math.max(this.totalDependencies, left);
|
||||
}
|
||||
};
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user