Adjust Pop() sequencing in paravirt.c
This commit is contained in:
committed by
mrdudz
parent
623e951e33
commit
ceca1c496d
@@ -328,6 +328,5 @@ void ParaVirtHooks (CPURegs* Regs)
|
||||
|
||||
/* Simulate RTS */
|
||||
unsigned lo = Pop(Regs);
|
||||
unsigned hi = Pop(Regs);
|
||||
Regs->PC = lo + (hi << 8) + 1;
|
||||
Regs->PC = lo + (Pop(Regs) << 8) + 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user