PowerPC: Factor out CR helpers into POD class

This commit is contained in:
CrystalGamma
2018-12-22 16:09:44 +01:00
parent f6b856d01e
commit e3075f3834
27 changed files with 249 additions and 219 deletions

View File

@ -268,7 +268,7 @@ void RunCodeHandler()
PowerPC::HostWrite_U32(SFP, SP + 8); // Real stack frame
PowerPC::HostWrite_U32(PC, SP + 12);
PowerPC::HostWrite_U32(LR, SP + 16);
PowerPC::HostWrite_U32(PowerPC::CompactCR(), SP + 20);
PowerPC::HostWrite_U32(PowerPC::ppcState.cr.Get(), SP + 20);
// Registers FPR0->13 are volatile
for (int i = 0; i < 14; ++i)
{