mirror of
https://github.com/libretro/RetroArch
synced 2025-04-15 23:42:30 +00:00
Merge pull request #44 from alphanu1/alphanu1-patch-44
bug fix with hz switching
This commit is contained in:
commit
73b5aff2e1
@ -215,10 +215,10 @@ static bool win32_display_server_set_resolution(void *data,
|
||||
if (!serv)
|
||||
return false;
|
||||
|
||||
if (orig_width == 0)
|
||||
orig_width = GetSystemMetrics(SM_CXSCREEN);
|
||||
if (orig_height == 0)
|
||||
orig_height = GetSystemMetrics(SM_CYSCREEN);
|
||||
if (win32_orig_width == 0)
|
||||
win32_orig_width = GetSystemMetrics(SM_CXSCREEN);
|
||||
if (win32_orig_height == 0)
|
||||
win32_orig_height = GetSystemMetrics(SM_CYSCREEN);
|
||||
|
||||
EnumDisplaySettings(NULL, ENUM_CURRENT_SETTINGS, &curDevmode);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user