diff options
Diffstat (limited to 'user/dosbox/asmfix.patch')
-rw-r--r-- | user/dosbox/asmfix.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/user/dosbox/asmfix.patch b/user/dosbox/asmfix.patch new file mode 100644 index 000000000..db341e42c --- /dev/null +++ b/user/dosbox/asmfix.patch @@ -0,0 +1,11 @@ +--- dosbox-x-dosbox-x-wip-20180513-1316/src/cpu/core_dyn_x86/risc_x86.h 2018-05-13 19:52:17.000000000 +0000 ++++ dosbox-x-dosbox-x-wip-20180513-1316/src/cpu/core_dyn_x86/risc_x86.h 2018-05-16 12:02:44.329617468 +0000 +@@ -130,7 +130,7 @@ + #else + register Bit32u tempflags=reg_flags & FMASK_TEST; + __asm__ volatile ( +- "pushl $(run_return_adress) \n" ++ "call 1f ; 1: addl $run_return_adress-.,(%%esp) \n" + "pushl %2 \n" + "jmp *%3 \n" + "run_return_adress: \n" |