Stub RegisterRamReset
Jeffrey Pfau jeffrey@endrift.com
Sat, 27 Apr 2013 22:54:41 -0700
1 files changed,
9 insertions(+),
0 deletions(-)
jump to
M
src/gba/gba-bios.c
→
src/gba/gba-bios.c
@@ -9,6 +9,12 @@ #include <stdlib.h>
static void _unLz77(struct GBAMemory* memory, uint32_t source, uint8_t* dest); +static void _RegisterRamReset(struct GBA* gba) { + uint32_t registers = gba->cpu.gprs[0]; + (void)(registers); + GBALog(GBA_LOG_STUB, "RegisterRamReset unimplemented"); +} + static void _CpuSet(struct GBA* gba) { uint32_t source = gba->cpu.gprs[0]; uint32_t dest = gba->cpu.gprs[1];@@ -80,6 +86,9 @@
void GBASwi16(struct ARMBoard* board, int immediate) { struct GBA* gba = ((struct GBABoard*) board)->p; switch (immediate) { + case 0x1: + _RegisterRamReset(gba); + break; case 0x2: GBAHalt(gba); break;