diff options
| author | bunnei <bunneidev@gmail.com> | 2022-09-10 01:48:15 -0700 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2022-10-18 19:13:35 -0700 |
| commit | a4d11f4427859cbe82fc825f8493844e17bb668f (patch) | |
| tree | d1844e8ad7bcfd3c9467cad75091bc207fba7103 /src/core/core_timing.h | |
| parent | 1b787adbd0b58986e6efdf6d536dcc949362c108 (diff) | |
core: Partially persist emulation state across game boots.
Diffstat (limited to 'src/core/core_timing.h')
| -rw-r--r-- | src/core/core_timing.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/core/core_timing.h b/src/core/core_timing.h index 3259397b2..7996b529f 100644 --- a/src/core/core_timing.h +++ b/src/core/core_timing.h @@ -61,8 +61,8 @@ public: /// required to end slice - 1 and start slice 0 before the first cycle of code is executed. void Initialize(std::function<void()>&& on_thread_init_); - /// Tears down all timing related functionality. - void Shutdown(); + /// Clear all pending events. This should ONLY be done on exit. + void ClearPendingEvents(); /// Sets if emulation is multicore or single core, must be set before Initialize void SetMulticore(bool is_multicore_) { @@ -136,9 +136,6 @@ public: private: struct Event; - /// Clear all pending events. This should ONLY be done on exit. - void ClearPendingEvents(); - static void ThreadEntry(CoreTiming& instance); void ThreadLoop(); |
