From 6afa948d0674e434f4899e6175f234767ded155a Mon Sep 17 00:00:00 2001 From: Andrew Church Date: Fri, 5 Sep 2014 00:31:25 +0900 Subject: [PATCH] s32 -> int because it doesn't need to explicitly be 32 bits. --- Core/HLE/ReplaceTables.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/HLE/ReplaceTables.cpp b/Core/HLE/ReplaceTables.cpp index 0b130f586d..0df2c677ff 100644 --- a/Core/HLE/ReplaceTables.cpp +++ b/Core/HLE/ReplaceTables.cpp @@ -583,7 +583,7 @@ static int Hook_brandish_download_frame() { if (fb_index_load != MIPS_MAKE_LW(MIPS_GET_RT(fb_index_load), MIPS_GET_RS(fb_index_load), fb_index_load & 0xffff)) { return 0; } - const s32 fb_index_offset = (s16)(fb_index_load & 0xffff); + const int fb_index_offset = (s16)(fb_index_load & 0xffff); const u32 fb_index = (Memory::Read_U32(fb_info + fb_index_offset) + 1) & 1; const u32 fb_address = 0x4000000 + (0x44000 * fb_index); const u32 dest_address = currentMIPS->r[MIPS_REG_A1];