mirror of https://github.com/mgba-emu/mgba.git
3DS: Fix unused screens not clearing (fixes #1184)
This commit is contained in:
parent
a6367030db
commit
20e0c8f303
1
CHANGES
1
CHANGES
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue