Skip to content

Commit

Permalink
Wii U: fix GBA crop in single screen mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Hydr8gon committed May 28, 2024
1 parent 59c0749 commit b54398a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/console/main_wiiu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ void ConsoleUI::drawTexture(void *texture, float tx, float ty, float tw, float t

// Override the gamepad screen texture with the other screen in single screen mode
GX2Texture *tempTexture = nullptr;
if (running && tw >= 240 && ScreenLayout::screenArrangement == 3)
if (running && tw >= 240 && !(ConsoleUI::gbaMode && ScreenLayout::gbaCrop) && ScreenLayout::screenArrangement == 3)
{
int shift = Settings::highRes3D;
uint32_t *data = &ConsoleUI::framebuffer[(256 * 192 * (ScreenLayout::screenSizing < 2)) << (shift * 2)];
Expand Down

0 comments on commit b54398a

Please sign in to comment.