mirror of https://github.com/mgba-emu/mgba.git
GBA Video: Fix OAM not invalidating after reset (fixes #1630)
This commit is contained in:
parent
b169f4b29c
commit
cde4e1adee
1
CHANGES
1
CHANGES
|
@ -7,6 +7,7 @@ Emulation fixes:
|
||||||
- GBA Serialize: Fix serializing DMA transfer register
|
- GBA Serialize: Fix serializing DMA transfer register
|
||||||
- GBA Serialize: Fix audio serialization for desynced FIFOs
|
- GBA Serialize: Fix audio serialization for desynced FIFOs
|
||||||
- GBA Serialize: Fix audio DMA timing deserialization
|
- GBA Serialize: Fix audio DMA timing deserialization
|
||||||
|
- GBA Video: Fix OAM not invalidating after reset (fixes mgba.io/i/1630)
|
||||||
Other fixes:
|
Other fixes:
|
||||||
- Qt: Only dynamically reset video scale if a game is running
|
- Qt: Only dynamically reset video scale if a game is running
|
||||||
- Qt: Fix race condition with proxied video events
|
- Qt: Fix race condition with proxied video events
|
||||||
|
|
|
@ -931,6 +931,7 @@ void GBAVideoGLRendererDeinit(struct GBAVideoRenderer* renderer) {
|
||||||
void GBAVideoGLRendererReset(struct GBAVideoRenderer* renderer) {
|
void GBAVideoGLRendererReset(struct GBAVideoRenderer* renderer) {
|
||||||
struct GBAVideoGLRenderer* glRenderer = (struct GBAVideoGLRenderer*) renderer;
|
struct GBAVideoGLRenderer* glRenderer = (struct GBAVideoGLRenderer*) renderer;
|
||||||
|
|
||||||
|
glRenderer->oamDirty = true;
|
||||||
glRenderer->paletteDirty = true;
|
glRenderer->paletteDirty = true;
|
||||||
glRenderer->vramDirty = 0xFFFFFF;
|
glRenderer->vramDirty = 0xFFFFFF;
|
||||||
glRenderer->firstAffine = -1;
|
glRenderer->firstAffine = -1;
|
||||||
|
|
Loading…
Reference in New Issue