VERY experimental Nintendo Switch 2 emulator
C++
CoreTiming: Initialize static variables at bootup.
bunnei5a855bdb2f26
diff --git a/src/core/core_timing.cpp b/src/core/core_timing.cppindex 6f716b1caf..f70c84c3de 100644--- a/src/core/core_timing.cpp+++ b/src/core/core_timing.cpp@@ -160,6 +160,16 @@ void Init() {last_global_time_us = 0;has_ts_events = 0;mhz_change_callbacks.clear();++ first = nullptr;+ ts_first = nullptr;+ ts_last = nullptr;++ event_pool = nullptr;+ event_ts_pool = nullptr;+ allocated_ts_events = 0;++ advance_callback = nullptr;}void Shutdown() {