diff options
| author | 2015-05-01 19:05:18 -0400 | |
|---|---|---|
| committer | 2015-05-01 19:05:18 -0400 | |
| commit | 6a2d8c46f21e8813e0472dba28932ed461ce1a66 (patch) | |
| tree | d7057cf9926c822c12cc7d82814a252db79ca600 /src/core/core_timing.cpp | |
| parent | Merge pull request #717 from linkmauve/useless-auto (diff) | |
| parent | Qt: Shutdown game on emulator close event. (diff) | |
| download | yuzu-6a2d8c46f21e8813e0472dba28932ed461ce1a66.tar.gz yuzu-6a2d8c46f21e8813e0472dba28932ed461ce1a66.tar.xz yuzu-6a2d8c46f21e8813e0472dba28932ed461ce1a66.zip | |
Merge pull request #713 from bunnei/qt-emuthread-fixes
Fix emulation state resetting to support multiple emulation sessions
Diffstat (limited to 'src/core/core_timing.cpp')
| -rw-r--r-- | src/core/core_timing.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/core_timing.cpp b/src/core/core_timing.cpp index 6f716b1ca..f70c84c3d 100644 --- a/src/core/core_timing.cpp +++ b/src/core/core_timing.cpp | |||
| @@ -160,6 +160,16 @@ void Init() { | |||
| 160 | last_global_time_us = 0; | 160 | last_global_time_us = 0; |
| 161 | has_ts_events = 0; | 161 | has_ts_events = 0; |
| 162 | mhz_change_callbacks.clear(); | 162 | mhz_change_callbacks.clear(); |
| 163 | |||
| 164 | first = nullptr; | ||
| 165 | ts_first = nullptr; | ||
| 166 | ts_last = nullptr; | ||
| 167 | |||
| 168 | event_pool = nullptr; | ||
| 169 | event_ts_pool = nullptr; | ||
| 170 | allocated_ts_events = 0; | ||
| 171 | |||
| 172 | advance_callback = nullptr; | ||
| 163 | } | 173 | } |
| 164 | 174 | ||
| 165 | void Shutdown() { | 175 | void Shutdown() { |