mirror of https://github.com/mgba-emu/mgba.git
Squelch HLE BIOS warnings
This commit is contained in:
parent
283a48613b
commit
aa7ef287bc
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue