z80, DrZ80: another fix for EABI stack alignment

This commit is contained in:
kub 2021-12-14 20:20:12 +01:00
parent ac871e1ab3
commit a8acecdc08

View file

@ -1517,7 +1517,7 @@ DoInterrupt_end:
ldr r0,[cpucontext, #z80irqcallback]
tst r0,r0
streqb r0,[cpucontext,#z80irq] ;@ default handling
ldmeqfd sp!,{pc}
ldmeqfd sp!,{r2,pc}
stmfd sp!,{r3,r12}
mov lr,pc
mov pc,r0 ;@ call callback function