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
@@ -57,13 +57,14 @@ void PresetTimeBaseTicks(Core::System& system, const Core::CPUThreadGuard& guard
void CBoot::RunFunction(Core::System& system, u32 address)
{
auto& ppc_state = system.GetPPCState();
auto& power_pc = system.GetPowerPC();
auto& ppc_state = power_pc.GetPPCState();
ppc_state.pc = address;
LR(ppc_state) = 0x00;
while (ppc_state.pc != 0x00)
PowerPC::SingleStep();
power_pc.SingleStep();
}
void CBoot::SetupMSR(PowerPC::PowerPCState& ppc_state)