summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime.S b/runtime.S
index 8c8473b..a1115e3 100644
--- a/runtime.S
+++ b/runtime.S
@@ -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