mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 13:25:45 +00:00
threading: Reschedule only on cores that are necessary.
This commit is contained in:
parent
9e559ceb09
commit
5a5850af69
4 changed files with 10 additions and 3 deletions
|
@ -141,6 +141,11 @@ ARM_Interface& System::ArmInterface(size_t core_index) {
|
|||
return cpu_cores[core_index]->ArmInterface();
|
||||
}
|
||||
|
||||
Cpu& System::CpuCore(size_t core_index) {
|
||||
ASSERT(core_index < NUM_CPU_CORES);
|
||||
return *cpu_cores[core_index];
|
||||
}
|
||||
|
||||
System::ResultStatus System::Init(EmuWindow* emu_window, u32 system_mode) {
|
||||
NGLOG_DEBUG(HW_Memory, "initialized OK");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue