Wii: Stretch now sets pixel-accurate mode size cap
Vicki Pfau vi@endrift.com
Sat, 29 Sep 2018 12:08:21 -0700
2 files changed,
3 insertions(+),
2 deletions(-)
M
CHANGES
→
CHANGES
@@ -114,6 +114,7 @@ - mGUI: Add SGB border configuration option
- mGUI: Add support for different settings types - Wii: Disable use of strtof_l (fixes mgba.io/i/1106) - Wii: Expose stretch configuration in settings + - Wii: Stretch now sets pixel-accurate mode size cap 0.7 beta 1: (2018-09-24) - Initial beta for 0.7
M
src/platform/wii/main.c
→
src/platform/wii/main.c
@@ -911,8 +911,8 @@ GX_CopyTex(rescaleTexmem, GX_TRUE);
GX_LoadTexObj(&rescaleTex, GX_TEXMAP0); } - int hfactor = vmode->fbWidth / (corew * wAdjust); - int vfactor = vmode->efbHeight / (coreh * hAdjust); + int hfactor = (vmode->fbWidth * wStretch) / (corew * wAdjust); + int vfactor = (vmode->efbHeight * hStretch) / (coreh * hAdjust); if (hfactor > vfactor) { scaleFactor = vfactor; } else {