all repos — mgba @ 20e0c8f303285bd3ce03f30cda62bda9996b6e9d

mGBA Game Boy Advance Emulator

3DS: Fix unused screens not clearing (fixes #1184)
Vicki Pfau vi@endrift.com
Wed, 26 Sep 2018 09:17:06 -0700
commit

20e0c8f303285bd3ce03f30cda62bda9996b6e9d

parent

a6367030db01638c1106058ef4fe5cd53fdc1fb7

2 files changed, 3 insertions(+), 0 deletions(-)

jump to
M CHANGESCHANGES

@@ -104,6 +104,7 @@ - Libretro: Add Game Boy cheat support

Bugfixes: - PSP2: Fix audio crackling after fast forward - PSP2: Fix audio crackling when buffer is full + - 3DS: Fix unused screens not clearing (fixes mgba.io/i/1184) 0.6 beta 1: (2018-09-24) - Initial beta for 0.6
M src/platform/3ds/main.csrc/platform/3ds/main.c

@@ -194,7 +194,9 @@ }

C3D_FrameBegin(flags); ctrStartFrame(); + C3D_FrameDrawOn(bottomScreen[doubleBuffer]); C3D_RenderTargetClear(bottomScreen[doubleBuffer], C3D_CLEAR_COLOR, 0, 0); + C3D_FrameDrawOn(topScreen[doubleBuffer]); C3D_RenderTargetClear(topScreen[doubleBuffer], C3D_CLEAR_COLOR, 0, 0); }