all repos — mgba @ aa7ef287bc2346e9ff36c4654e1d5deac17e5a27

mGBA Game Boy Advance Emulator

Squelch HLE BIOS warnings
Jeffrey Pfau jeffrey@endrift.com
Fri, 19 Apr 2013 21:04:53 -0700
commit

aa7ef287bc2346e9ff36c4654e1d5deac17e5a27

parent

283a48613be2ee34040e73dcc5c6b8610f610415

2 files changed, 3 insertions(+), 3 deletions(-)

jump to
M src/gba/gba-memory.csrc/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.hsrc/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