PowerPC: Refactor to class, move to System.

This commit is contained in:
Admiral H. Curtiss committed 2023-04-09 21:48:37 +02:00
1 parent ebbbdc49ab
commit 23843583bf
50 files changed
+705 -531

No files matched your search

+3 -2
View File
@@ -200,8 +200,9 @@ static void ResetAndPausePPC()
auto& system = Core::System::GetInstance();
auto& memory = system.GetMemory();
memory.Write_U32(0x48000000, 0x00000000); // b 0x0
PowerPC::Reset();
system.GetPPCState().pc = 0;
auto& power_pc = system.GetPowerPC();
power_pc.Reset();
power_pc.GetPPCState().pc = 0;
}
static void ReleasePPC()