summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rvcontroller.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/rvcontroller.lua b/rvcontroller.lua
index 1b787da..40978ca 100644
--- a/rvcontroller.lua
+++ b/rvcontroller.lua
@@ -2782,7 +2782,7 @@ local function checklpe(instruction)
return false
elseif instruction%4 == 3 then
--Uncompressed
- local opcode = instruction%0x100
+ local opcode = instruction%0x80
local bits = explodebits(instruction,32)
if opcode == 0x67 and not (bits[12] or bits[13] or bits[14]) then
--jalr