GBA BIOS: Silence warning
Jeffrey Pfau jeffrey@endrift.com
Sat, 17 Sep 2016 11:05:31 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/gba/bios.c
→
src/gba/bios.c
@@ -555,7 +555,7 @@ uint32_t source = cpu->gprs[0] & 0xFFFFFFFC;
uint32_t dest = cpu->gprs[1]; uint32_t header = cpu->memory.load32(cpu, source, 0); int remaining = header >> 8; - int bits = header & 0xF; + unsigned bits = header & 0xF; if (bits == 0) { mLOG(GBA_BIOS, GAME_ERROR, "Invalid Huffman bits"); bits = 8;