mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
jit: Be very clear on sign extension.
This commit is contained in:
1 parent
e397754587
commit
e99c69f19e
5 files changed
+5
-5
No files matched your search
@@ -30,7 +30,7 @@ namespace MIPSCodeUtils
|
||||
#define _RT ((op>>16) & 0x1F)
|
||||
#define _IMM16 (signed short)(op & 0xFFFF)
|
||||
#define _IMM26 (op & 0x03FFFFFF)
|
||||
#define TARGET16 ((int)((uint32_t)_IMM16 << 2))
|
||||
#define TARGET16 ((int)((uint32_t)(int)_IMM16 << 2))
|
||||
#define TARGET26 (_IMM26 << 2)
|
||||
|
||||
u32 GetJumpTarget(u32 addr) {
|
||||
|
||||
Reference in new issue
Block a user