mirror of https://github.com/mgba-emu/mgba.git
ARM9: Fix warnings
This commit is contained in:
parent
b64f46f955
commit
974b87f32e
|
@ -403,9 +403,11 @@ static inline void _immediate(struct ARMCore* cpu, uint32_t opcode) {
|
||||||
|
|
||||||
#define DEFINE_MULTIPLY_INSTRUCTION_WY_ARM(NAME, BODY) \
|
#define DEFINE_MULTIPLY_INSTRUCTION_WY_ARM(NAME, BODY) \
|
||||||
DEFINE_MULTIPLY_INSTRUCTION_3_ARM(NAME ## B, \
|
DEFINE_MULTIPLY_INSTRUCTION_3_ARM(NAME ## B, \
|
||||||
|
UNUSED(x); \
|
||||||
y = ARM_SXT_16(cpu->gprs[rs]); \
|
y = ARM_SXT_16(cpu->gprs[rs]); \
|
||||||
BODY) \
|
BODY) \
|
||||||
DEFINE_MULTIPLY_INSTRUCTION_3_ARM(NAME ## T, \
|
DEFINE_MULTIPLY_INSTRUCTION_3_ARM(NAME ## T, \
|
||||||
|
UNUSED(x); \
|
||||||
y = ARM_SXT_16(cpu->gprs[rs] >> 16); \
|
y = ARM_SXT_16(cpu->gprs[rs] >> 16); \
|
||||||
BODY) \
|
BODY) \
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue