mirror of https://github.com/mgba-emu/mgba.git
GBA: Fix multiboot entry point while skipping BIOS
This commit is contained in:
parent
75e67aee17
commit
0670eebe15
1
CHANGES
1
CHANGES
|
@ -5,6 +5,7 @@ Emulation fixes:
|
||||||
- ARM: Fix ALU reading PC after shifting
|
- ARM: Fix ALU reading PC after shifting
|
||||||
- ARM: Fix STR storing PC after address calculation
|
- ARM: Fix STR storing PC after address calculation
|
||||||
- GB Serialize: Fix timing bug loading channel 4 timing
|
- 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 BIOS: Fix undefined instruction HLE behavior
|
||||||
- GBA DMA: Linger last DMA on bus (fixes mgba.io/i/301 and mgba.io/i/1320)
|
- GBA DMA: Linger last DMA on bus (fixes mgba.io/i/301 and mgba.io/i/1320)
|
||||||
- GBA Memory: Misaligned SRAM writes are ignored
|
- GBA Memory: Misaligned SRAM writes are ignored
|
||||||
|
|
|
@ -253,7 +253,7 @@ void GBASkipBIOS(struct GBA* gba) {
|
||||||
if (gba->memory.rom) {
|
if (gba->memory.rom) {
|
||||||
cpu->gprs[ARM_PC] = BASE_CART0;
|
cpu->gprs[ARM_PC] = BASE_CART0;
|
||||||
} else {
|
} else {
|
||||||
cpu->gprs[ARM_PC] = BASE_WORKING_RAM;
|
cpu->gprs[ARM_PC] = BASE_WORKING_RAM + 0xC0;
|
||||||
}
|
}
|
||||||
gba->video.vcount = 0x7D;
|
gba->video.vcount = 0x7D;
|
||||||
gba->memory.io[REG_VCOUNT >> 1] = 0x7D;
|
gba->memory.io[REG_VCOUNT >> 1] = 0x7D;
|
||||||
|
|
Loading…
Reference in New Issue