Prevent setting RT64 config twice on boot

This commit is contained in:
Mr-Wiseguy 2024-04-14 16:06:13 -04:00
parent b334c677b9
commit fe8f45eaf2
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ void gfx_thread_func(uint8_t* rdram, std::atomic_flag* thread_ready, ultramodern
ultramodern::set_native_thread_name("Gfx Thread");
ultramodern::set_native_thread_priority(ultramodern::ThreadPriority::Normal);
ultramodern::GraphicsConfig old_config;
ultramodern::GraphicsConfig old_config = ultramodern::get_graphics_config();
ultramodern::RT64Context rt64{rdram, window_handle, cur_config.load().developer_mode};