mirror of https://github.com/mgba-emu/mgba.git
GBA: Fix video timing when skipping BIOS (fixes #1318)
This commit is contained in:
parent
232e972be2
commit
e251a69a29
1
CHANGES
1
CHANGES
|
@ -18,6 +18,7 @@ Bugfixes:
|
|||
- GB, GBA Serialize: Fix loading two states in a row
|
||||
- GBA Video: Fix enabling layers in non-tile modes (fixes mgba.io/i/1317)
|
||||
- Qt: Fix quick load recent accidentally saving (fixes mgba.io/i/1309)
|
||||
- GBA: Fix video timing when skipping BIOS (fixes mgba.io/i/1318)
|
||||
Misc:
|
||||
- GBA Video: Improve sprite cycle counting (fixes mgba.io/i/1274)
|
||||
|
||||
|
|
|
@ -232,7 +232,8 @@ void GBASkipBIOS(struct GBA* gba) {
|
|||
} else {
|
||||
cpu->gprs[ARM_PC] = BASE_WORKING_RAM;
|
||||
}
|
||||
gba->memory.io[REG_VCOUNT >> 1] = 0x7E;
|
||||
gba->video.vcount = 0x7D;
|
||||
gba->memory.io[REG_VCOUNT >> 1] = 0x7D;
|
||||
gba->memory.io[REG_POSTFLG >> 1] = 1;
|
||||
int currentCycles = 0;
|
||||
ARM_WRITE_PC;
|
||||
|
|
Loading…
Reference in New Issue