mirror of
https://github.com/PCSX2/pcsx2.git
synced 2025-12-16 04:08:48 +00:00
Common: Fix AT&T mixup in FastJmp code
This commit is contained in:
parent
d36043c678
commit
1b31eb9e4a
@ -64,7 +64,7 @@ asm(
|
||||
"\t.global " PREFIX "fastjmp_jmp\n"
|
||||
"\t.text\n"
|
||||
"\t" PREFIX "fastjmp_set:" R"(
|
||||
movl %eax, 0(%esp)
|
||||
movl 0(%esp), %eax
|
||||
movl %esp, %edx # fixup stack pointer, so it doesn't include the call to fastjmp_set
|
||||
addl $4, %edx
|
||||
movl %eax, 0(%ecx) # actually eip
|
||||
|
||||
Loading…
Reference in New Issue
Block a user