Wii: Increase GUI size
Jeffrey Pfau jeffrey@endrift.com
Sat, 09 Jan 2016 00:19:59 -0800
1 files changed,
3 insertions(+),
2 deletions(-)
jump to
M
src/platform/wii/main.c
→
src/platform/wii/main.c
@@ -45,6 +45,7 @@ FM_MAX
}; #define SAMPLES 1024 +#define GUI_SCALE 1.35 static void _retraceCallback(u32 count);@@ -205,7 +206,7 @@ rotation.readGyroZ = _readGyroZ;
struct GBAGUIRunner runner = { .params = { - vmode->fbWidth * 1.6, vmode->efbHeight * 1.6, + vmode->fbWidth * GUI_SCALE, vmode->efbHeight * GUI_SCALE, font, "", _drawStart, _drawEnd, _pollInput, _pollCursor,@@ -498,7 +499,7 @@ GX_LoadProjectionMtx(proj, GX_ORTHOGRAPHIC);
} void _guiPrepare(void) { - _reproj2(vmode->fbWidth * 1.6, vmode->efbHeight * 1.6); + _reproj2(vmode->fbWidth * GUI_SCALE, vmode->efbHeight * GUI_SCALE); } void _guiFinish(void) {