mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 23:37:46 -04:00
z80, DrZ80: another fix for EABI stack alignment
This commit is contained in:
parent
ac871e1ab3
commit
a8acecdc08
1 changed files with 1 additions and 1 deletions
|
@ -1517,7 +1517,7 @@ DoInterrupt_end:
|
||||||
ldr r0,[cpucontext, #z80irqcallback]
|
ldr r0,[cpucontext, #z80irqcallback]
|
||||||
tst r0,r0
|
tst r0,r0
|
||||||
streqb r0,[cpucontext,#z80irq] ;@ default handling
|
streqb r0,[cpucontext,#z80irq] ;@ default handling
|
||||||
ldmeqfd sp!,{pc}
|
ldmeqfd sp!,{r2,pc}
|
||||||
stmfd sp!,{r3,r12}
|
stmfd sp!,{r3,r12}
|
||||||
mov lr,pc
|
mov lr,pc
|
||||||
mov pc,r0 ;@ call callback function
|
mov pc,r0 ;@ call callback function
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue