about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorYang Liu <numbksco@gmail.com>2024-09-20 22:04:00 +0800
committerGitHub <noreply@github.com>2024-09-20 16:04:00 +0200
commit4aeb8ea1b037f8db84837f723253133277d0995b (patch)
treedaaf582b8dc0affeb190eb4cdf3a039b12fdf982 /src
parent6a415b54d00ced2ad01e326f6fc80762a973d8b3 (diff)
downloadbox64-4aeb8ea1b037f8db84837f723253133277d0995b.tar.gz
box64-4aeb8ea1b037f8db84837f723253133277d0995b.zip
[LA64_DYNAREC] Fixed a typo in GETGB (#1846)
Diffstat (limited to 'src')
-rw-r--r--src/dynarec/la64/dynarec_la64_helper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dynarec/la64/dynarec_la64_helper.h b/src/dynarec/la64/dynarec_la64_helper.h
index ba43be46..89cc8249 100644
--- a/src/dynarec/la64/dynarec_la64_helper.h
+++ b/src/dynarec/la64/dynarec_la64_helper.h
@@ -302,7 +302,7 @@
         gb2 = 0;                                              \
     } else {                                                  \
         gd = (nextop & 0x38) >> 3;                            \
-        gb2 = ((gd & 4) >> 2);                                \
+        gb2 = ((gd & 4) << 1);                                \
         gb1 = TO_LA64((gd & 3));                              \
     }                                                         \
     gd = i;                                                   \