Wii: Fix overscan and path

This commit is contained in:
Jeffrey Pfau 2015-08-16 01:25:01 -07:00
parent ddab7a7e44
commit a7fce06280
1 changed files with 3 additions and 3 deletions

View File

@ -164,14 +164,14 @@ int main() {
#endif #endif
char path[256]; char path[256];
guOrtho(proj, 0, 240, 0, 400, 0, 300); guOrtho(proj, -20, 220, 0, 400, 0, 300);
GX_LoadProjectionMtx(proj, GX_ORTHOGRAPHIC); GX_LoadProjectionMtx(proj, GX_ORTHOGRAPHIC);
struct GUIParams params = { struct GUIParams params = {
400, 240, 400, 230,
font, _drawStart, _drawEnd, _pollInput 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); free(renderer.outputBuffer);
GUIFontDestroy(font); GUIFontDestroy(font);
return 1; return 1;