Squelch HLE BIOS warnings
Jeffrey Pfau jeffrey@endrift.com
Fri, 19 Apr 2013 21:04:53 -0700
2 files changed,
3 insertions(+),
3 deletions(-)
M
src/gba/gba-memory.c
→
src/gba/gba-memory.c
@@ -27,7 +27,7 @@ memory->d.store32 = GBAStore32;
memory->d.store16 = GBAStore16; memory->d.store8 = GBAStore8; - memory->bios = hleBios; + memory->bios = (uint32_t*) hleBios; memory->wram = mmap(0, SIZE_WORKING_RAM, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0); memory->iwram = mmap(0, SIZE_WORKING_IRAM, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0); memory->rom = 0;
M
src/gba/hle-bios.h
→
src/gba/hle-bios.h
@@ -1,7 +1,7 @@
#ifndef HLE_BIOS_H #define HLE_BIOS_H -const unsigned int hleBiosLength; -const unsigned char hleBios[]; +extern const unsigned int hleBiosLength; +extern const unsigned char hleBios[]; #endif