all repos — mgba @ a7fce06280f1669b11283b489d616f59fc5295ad

mGBA Game Boy Advance Emulator

Wii: Fix overscan and path
Jeffrey Pfau jeffrey@endrift.com
Sun, 16 Aug 2015 01:25:01 -0700
commit

a7fce06280f1669b11283b489d616f59fc5295ad

parent

ddab7a7e44b16f75855f071fffacb73b701c80ff

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

jump to
M src/platform/wii/main.csrc/platform/wii/main.c

@@ -164,14 +164,14 @@ blip_set_rates(gba.audio.right, GBA_ARM7TDMI_FREQUENCY, 48000);

#endif char path[256]; - guOrtho(proj, 0, 240, 0, 400, 0, 300); + guOrtho(proj, -20, 220, 0, 400, 0, 300); GX_LoadProjectionMtx(proj, GX_ORTHOGRAPHIC); struct GUIParams params = { - 400, 240, + 400, 230, font, _drawStart, _drawEnd, _pollInput }; - if (!selectFile(&params, "sd:", path, sizeof(path), "gba") || !GBAWiiLoadGame(path)) { + if (!selectFile(&params, "/", path, sizeof(path), "gba") || !GBAWiiLoadGame(path)) { free(renderer.outputBuffer); GUIFontDestroy(font); return 1;