GBA: Fix multiboot entry point while skipping BIOS

This commit is contained in:
Vicki Pfau 2020-02-10 18:06:57 -08:00
parent 6f9dbbc20d
commit c982350478
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
0.8.1: (Future)
Emulation fixes:
- GB Serialize: Fix timing bug loading channel 4 timing
- GBA: Fix multiboot entry point while skipping BIOS
- GBA BIOS: Fix undefined instruction HLE behavior
- GBA Memory: Misaligned SRAM writes are ignored
- GBA Serialize: Fix serializing DMA transfer register

View File

@ -257,7 +257,7 @@ void GBASkipBIOS(struct GBA* gba) {
if (gba->memory.rom) {
cpu->gprs[ARM_PC] = BASE_CART0;
} else {
cpu->gprs[ARM_PC] = BASE_WORKING_RAM;
cpu->gprs[ARM_PC] = BASE_WORKING_RAM + 0xC0;
}
gba->video.vcount = 0x7D;
gba->memory.io[REG_VCOUNT >> 1] = 0x7D;