summaryrefslogtreecommitdiffstats
path: root/src/core/core_timing.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-09-10 10:48:15 +0200
committerbunnei <bunneidev@gmail.com>2022-10-19 04:13:35 +0200
commita4d11f4427859cbe82fc825f8493844e17bb668f (patch)
treed1844e8ad7bcfd3c9467cad75091bc207fba7103 /src/core/core_timing.h
parentcore: hle: kernel: Fix InitializePreemption order. (diff)
downloadyuzu-a4d11f4427859cbe82fc825f8493844e17bb668f.tar
yuzu-a4d11f4427859cbe82fc825f8493844e17bb668f.tar.gz
yuzu-a4d11f4427859cbe82fc825f8493844e17bb668f.tar.bz2
yuzu-a4d11f4427859cbe82fc825f8493844e17bb668f.tar.lz
yuzu-a4d11f4427859cbe82fc825f8493844e17bb668f.tar.xz
yuzu-a4d11f4427859cbe82fc825f8493844e17bb668f.tar.zst
yuzu-a4d11f4427859cbe82fc825f8493844e17bb668f.zip
Diffstat (limited to '')
-rw-r--r--src/core/core_timing.h7
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();