all repos — mgba @ d9079c06103ff22b8a14883b4a80341a306bb56f

mGBA Game Boy Advance Emulator

3DS: Fix pixel accurate screens being swapped
Jeffrey Pfau jeffrey@endrift.com
Sun, 28 Aug 2016 00:11:51 -0700
commit

d9079c06103ff22b8a14883b4a80341a306bb56f

parent

2f7fccfee10c104d968de815f70d9cb5207ea3eb

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/platform/3ds/main.csrc/platform/3ds/main.c

@@ -371,12 +371,12 @@

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;