diff options
| author | 2022-09-10 01:48:15 -0700 | |
|---|---|---|
| committer | 2022-10-18 19:13:35 -0700 | |
| commit | a4d11f4427859cbe82fc825f8493844e17bb668f (patch) | |
| tree | d1844e8ad7bcfd3c9467cad75091bc207fba7103 /src/core/core_timing.h | |
| parent | core: hle: kernel: Fix InitializePreemption order. (diff) | |
| download | yuzu-a4d11f4427859cbe82fc825f8493844e17bb668f.tar.gz yuzu-a4d11f4427859cbe82fc825f8493844e17bb668f.tar.xz yuzu-a4d11f4427859cbe82fc825f8493844e17bb668f.zip | |
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: | |||
| 61 | /// required to end slice - 1 and start slice 0 before the first cycle of code is executed. | 61 | /// required to end slice - 1 and start slice 0 before the first cycle of code is executed. |
| 62 | void Initialize(std::function<void()>&& on_thread_init_); | 62 | void Initialize(std::function<void()>&& on_thread_init_); |
| 63 | 63 | ||
| 64 | /// Tears down all timing related functionality. | 64 | /// Clear all pending events. This should ONLY be done on exit. |
| 65 | void Shutdown(); | 65 | void ClearPendingEvents(); |
| 66 | 66 | ||
| 67 | /// Sets if emulation is multicore or single core, must be set before Initialize | 67 | /// Sets if emulation is multicore or single core, must be set before Initialize |
| 68 | void SetMulticore(bool is_multicore_) { | 68 | void SetMulticore(bool is_multicore_) { |
| @@ -136,9 +136,6 @@ public: | |||
| 136 | private: | 136 | private: |
| 137 | struct Event; | 137 | struct Event; |
| 138 | 138 | ||
| 139 | /// Clear all pending events. This should ONLY be done on exit. | ||
| 140 | void ClearPendingEvents(); | ||
| 141 | |||
| 142 | static void ThreadEntry(CoreTiming& instance); | 139 | static void ThreadEntry(CoreTiming& instance); |
| 143 | void ThreadLoop(); | 140 | void ThreadLoop(); |
| 144 | 141 | ||