mirror of https://github.com/mgba-emu/mgba.git
GBA Video: Fix second frame mode 5
This commit is contained in:
parent
37f5058de0
commit
a651a91aa1
1
CHANGES
1
CHANGES
|
@ -53,6 +53,7 @@ Bugfixes:
|
|||
- ARM7: Fix ARM multiply instructions when PC is a destination register
|
||||
- SDL: Fix potential build issues when Qt and SDL2 are in use
|
||||
- GBA Memory: Fix jumping to invalid memory when switching from Thumb to ARM
|
||||
- GBA Video: Fix second frame mode 5
|
||||
Misc:
|
||||
- Qt: Show multiplayer numbers in window title
|
||||
- Qt: Handle saving input settings better
|
||||
|
|
|
@ -1616,7 +1616,7 @@ static void _drawBackgroundMode5(struct GBAVideoSoftwareRenderer* renderer, stru
|
|||
BACKGROUND_BITMAP_ITERATE(160, 128);
|
||||
|
||||
if (!mosaicWait) {
|
||||
LOAD_16(color, (offset + (localX >> 8) + (localY >> 8) * 160) << 1, renderer->d.vram);
|
||||
LOAD_16(color, offset + (localX >> 8) * 2 + (localY >> 8) * 320, renderer->d.vram);
|
||||
#ifndef COLOR_16_BIT
|
||||
unsigned color32 = 0;
|
||||
color32 |= (color << 9) & 0xF80000;
|
||||
|
|
Loading…
Reference in New Issue