3DS: Fix unused screens not clearing (fixes #1184)

This commit is contained in:
Vicki Pfau 2018-09-26 09:17:06 -07:00
parent a6367030db
commit 20e0c8f303
2 changed files with 3 additions and 0 deletions

View File

@ -104,6 +104,7 @@ Features:
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

View File

@ -194,7 +194,9 @@ static void _drawStart(void) {
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);
}