mirror of
https://github.com/libretro/RetroArch.git
synced 2025-03-03 07:18:56 +00:00
Merge pull request #12787 from sonninnos/win32-orig-refresh
(WIN32) Remember original refresh rate
This commit is contained in:
commit
9e84c5c2c8
@ -238,7 +238,8 @@ static bool win32_display_server_set_resolution(void *data,
|
||||
serv->orig_width = GetSystemMetrics(SM_CXSCREEN);
|
||||
if (serv->orig_height == 0)
|
||||
serv->orig_height = GetSystemMetrics(SM_CYSCREEN);
|
||||
serv->orig_refresh = dm.dmDisplayFrequency;
|
||||
if (serv->orig_refresh == 0)
|
||||
serv->orig_refresh = dm.dmDisplayFrequency;
|
||||
|
||||
/* Used to stop super resolution bug */
|
||||
if (width == dm.dmPelsWidth)
|
||||
|
Loading…
x
Reference in New Issue
Block a user