mirror of https://github.com/mgba-emu/mgba.git
3DS: Fix pixel accurate screens being swapped
This commit is contained in:
parent
2f7fccfee1
commit
d9079c0610
|
@ -371,12 +371,12 @@ static void _gameUnloaded(struct mGUIRunner* runner) {
|
|||
static void _drawTex(struct mCore* core, bool faded) {
|
||||
unsigned screen_w, screen_h;
|
||||
switch (screenMode) {
|
||||
case SM_PA_TOP:
|
||||
case SM_PA_BOTTOM:
|
||||
C3D_RenderBufBind(&bottomScreen);
|
||||
screen_w = 320;
|
||||
screen_h = 240;
|
||||
break;
|
||||
case SM_PA_BOTTOM:
|
||||
case SM_PA_TOP:
|
||||
C3D_RenderBufBind(&topScreen);
|
||||
screen_w = 400;
|
||||
screen_h = 240;
|
||||
|
|
Loading…
Reference in New Issue