mirror of https://github.com/mgba-emu/mgba.git
GBA Video: Don't update background scanline params in mode 0 (fixes #377)
This commit is contained in:
parent
10e75014e7
commit
e9baf49744
1
CHANGES
1
CHANGES
|
@ -21,6 +21,7 @@ Bugfixes:
|
|||
- Qt: Fix crash when changing audio settings after a game is closed
|
||||
- GBA BIOS: Fix ArcTan sign in HLE BIOS
|
||||
- GBA BIOS: Fix ArcTan2 sign in HLE BIOS (fixes mgba.io/i/689)
|
||||
- GBA Video: Don't update background scanline params in mode 0 (fixes mgba.io/i/377)
|
||||
Misc:
|
||||
- Qt: Improved HiDPI support
|
||||
- Feature: Support ImageMagick 7
|
||||
|
|
|
@ -820,11 +820,13 @@ static void _drawScanline(struct GBAVideoSoftwareRenderer* renderer, int y) {
|
|||
}
|
||||
}
|
||||
}
|
||||
if (GBARegisterDISPCNTGetMode(renderer->dispcnt) != 0) {
|
||||
renderer->bg[2].sx += renderer->bg[2].dmx;
|
||||
renderer->bg[2].sy += renderer->bg[2].dmy;
|
||||
renderer->bg[3].sx += renderer->bg[3].dmx;
|
||||
renderer->bg[3].sy += renderer->bg[3].dmy;
|
||||
}
|
||||
}
|
||||
|
||||
static void _updatePalettes(struct GBAVideoSoftwareRenderer* renderer) {
|
||||
int i;
|
||||
|
|
Loading…
Reference in New Issue