mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp
synced 2026-05-29 08:43:11 -04:00
Switch system_clock to high_resolution_clock, work around win32 sleep_for/sleep_until bug when clocks go backwards
This commit is contained in:
@@ -322,10 +322,7 @@ public:
|
||||
throw std::runtime_error("Failed to make RmlUi data model for the graphics config menu");
|
||||
}
|
||||
|
||||
{
|
||||
using namespace std::chrono_literals;
|
||||
std::this_thread::sleep_for(50ms);
|
||||
}
|
||||
ultramodern::sleep_milliseconds(50);
|
||||
new_options = ultramodern::get_graphics_config();
|
||||
bind_config_list_events(constructor);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user