mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
CoreTiming: Store Globals in CoreTimingManager.
This commit is contained in:
parent
c9558ecb4c
commit
daa70533cd
8 changed files with 48 additions and 77 deletions
|
@ -304,7 +304,7 @@ TEST(CoreTiming, ScheduleIntoPast)
|
|||
// the stale value, i.e. effectively half-way through the previous slice.
|
||||
// NOTE: We're only testing that the scheduler doesn't break, not whether this makes sense.
|
||||
Core::UndeclareAsCPUThread();
|
||||
auto& core_timing_globals = Core::System::GetInstance().GetCoreTimingGlobals();
|
||||
auto& core_timing_globals = core_timing.GetGlobals();
|
||||
core_timing_globals.global_timer -= 1000;
|
||||
core_timing.ScheduleEvent(0, cb_b, CB_IDS[1], CoreTiming::FromThread::NON_CPU);
|
||||
core_timing_globals.global_timer += 1000;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue