Browse Source
kernel/scheduler: Pass in system instance in constructor
kernel/scheduler: Pass in system instance in constructor
Avoids directly relying on the global system instance and instead makes an arbitrary system instance an explicit dependency on construction. This also allows removing dependencies on some global accessor functions as well.remotes/1778439668340191200/nce_cpp
5 changed files with 23 additions and 17 deletions
-
9src/core/core_cpu.cpp
-
8src/core/core_cpu.h
-
3src/core/cpu_core_manager.cpp
-
14src/core/hle/kernel/scheduler.cpp
-
6src/core/hle/kernel/scheduler.h
Write
Preview
Loading…
Cancel
Save
Reference in new issue