Squelch HLE BIOS warnings

This commit is contained in:
Jeffrey Pfau 2013-04-19 21:04:53 -07:00
parent 283a48613b
commit aa7ef287bc
2 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ void GBAMemoryInit(struct GBAMemory* memory) {
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;

View File

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