PowerPC: Remove PC macro.

This commit is contained in:
Admiral H. Curtiss
2023-01-09 21:49:50 +01:00
parent 82f3170876
commit be8d0b76ca
30 changed files with 151 additions and 127 deletions

View File

@ -473,7 +473,7 @@ bool CBoot::Load_BS2(Core::System& system, const std::string& boot_rom_filename)
PowerPC::ppcState.spr[SPR_DBAT3L] = 0xfff00001;
SetupBAT(/*is_wii*/ false);
PC = 0x81200150;
PowerPC::ppcState.pc = 0x81200150;
return true;
}
@ -572,7 +572,7 @@ bool CBoot::BootUp(Core::System& system, std::unique_ptr<BootParameters> boot)
SConfig::OnNewTitleLoad();
PC = executable.reader->GetEntryPoint();
PowerPC::ppcState.pc = executable.reader->GetEntryPoint();
if (executable.reader->LoadSymbols())
{