Merge pull request #3396 from RobLoach/vsync

[Emscripten] Fix disabling the vsync
This commit is contained in:
Andrés 2016-08-17 13:02:00 -05:00 committed by GitHub
commit 98b2712dfb

View File

@ -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);
}
};
};