mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 13:00:15 +02:00
Dispatcher: Keep the call-ret stack balanced for thunk callbacks
This commit is contained in:
1 parent
20efadbe66
commit
3efb2379ee
1 file changed
+1
@@ -516,6 +516,7 @@ void Dispatcher::EmitDispatcher() {
|
||||
|
||||
// load static regs
|
||||
FillStaticRegs();
|
||||
stp<ARMEmitter::IndexType::PRE>(ARMEmitter::XReg::zr, ARMEmitter::XReg::zr, REG_CALLRET_SP, -0x10);
|
||||
|
||||
// Now go back to the regular dispatcher loop
|
||||
b(&LoopTop);
|
||||
|
||||
Reference in new issue
Block a user