mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
CoreTiming: Pull globals into a single struct
This commit is contained in:
parent
dc2d11c1a7
commit
38917a151d
4 changed files with 44 additions and 44 deletions
|
@ -253,9 +253,9 @@ 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();
|
||||
CoreTiming::g_global_timer -= 1000;
|
||||
CoreTiming::g.global_timer -= 1000;
|
||||
CoreTiming::ScheduleEvent(0, cb_b, CB_IDS[1], CoreTiming::FromThread::NON_CPU);
|
||||
CoreTiming::g_global_timer += 1000;
|
||||
CoreTiming::g.global_timer += 1000;
|
||||
Core::DeclareAsCPUThread();
|
||||
AdvanceAndCheck(1, MAX_SLICE_LENGTH, MAX_SLICE_LENGTH + 1000);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue