diff options
author | Mike Pavone <pavone@retrodev.com> | 2013-05-11 01:57:41 -0700 |
---|---|---|
committer | Mike Pavone <pavone@retrodev.com> | 2013-05-11 01:57:41 -0700 |
commit | 6ab97fce20853a8b04f40ff747f3ef108fdaf59a (patch) | |
tree | 80c9a4dfdc4e7cc8fcd0c6491c9a27933a9214c4 | |
parent | febd036b1a55c877e8d479d1cda8a3291d5a56e5 (diff) |
Fix check for code writes
-rw-r--r-- | runtime.S | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -310,7 +310,7 @@ workram_w: and $0xFFFF, %edi mov %cx, (%r9, %rdi) mov %edi, %ecx - shr $10, %ecx + shr $11, %ecx bt %ecx, 160(%rsi) jnc not_code call m68k_save_context @@ -399,7 +399,7 @@ workram_wb: and $0xFFFF, %rdi mov %cl, (%r9, %rdi) mov %edi, %ecx - shr $10, %ecx + shr $11, %ecx bt %ecx, 160(%rsi) jnc not_code_b xor $1, %edi |