mirror of https://github.com/mgba-emu/mgba.git
GBA BIOS: Use core's VRAM variable instead of renderer's
This commit is contained in:
parent
2d558338bf
commit
486b7abc94
1
CHANGES
1
CHANGES
|
@ -36,6 +36,7 @@ Bugfixes:
|
|||
- GB Serialize: Fix game title check
|
||||
- GB, GBA: Fix sync to video with frameskip
|
||||
- GB Audio: Fix NRx2 writes while active (fixes mgba.io/i/866)
|
||||
- GBA BIOS: Use core's VRAM variable instead of renderer's
|
||||
Misc:
|
||||
- GBA Timer: Use global cycles for timers
|
||||
- GBA: Extend oddly-sized ROMs to full address space (fixes mgba.io/i/722)
|
||||
|
|
|
@ -61,7 +61,7 @@ static void _RegisterRamReset(struct GBA* gba) {
|
|||
memset(gba->video.palette, 0, SIZE_PALETTE_RAM);
|
||||
}
|
||||
if (registers & 0x08) {
|
||||
memset(gba->video.renderer->vram, 0, SIZE_VRAM);
|
||||
memset(gba->video.vram, 0, SIZE_VRAM);
|
||||
}
|
||||
if (registers & 0x10) {
|
||||
memset(gba->video.oam.raw, 0, SIZE_OAM);
|
||||
|
|
Loading…
Reference in New Issue