ARM9: Fix warnings

This commit is contained in:
Vicki Pfau 2017-04-11 17:32:32 -07:00
parent b64f46f955
commit 974b87f32e
1 changed files with 2 additions and 0 deletions

View File

@ -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) \