have two different functions to set PC in r4300i, for word and dword + set the initial PC after PIF HLE instead of Registers constructor
This commit is contained in:
@@ -333,6 +333,7 @@ void DoPIFHLE(Mem& mem, Registers& regs, CartInfo cartInfo) {
|
||||
regs.gpr[22] = (cicSeeds[cicType] >> 8) & 0xFF;
|
||||
regs.cop0.Reset();
|
||||
mem.Write32(regs, 0x04300004, 0x01010101);
|
||||
regs.SetPC32(0xA4000040);
|
||||
}
|
||||
|
||||
void ExecutePIF(Mem& mem, Registers& regs, CartInfo cartInfo) {
|
||||
|
||||
Reference in New Issue
Block a user