Wii, 3DS, PSP2: Fix file select reseting to the top directory
Jeffrey Pfau jeffrey@endrift.com
Wed, 26 Aug 2015 19:35:34 -0700
3 files changed,
3 insertions(+),
3 deletions(-)
M
src/platform/3ds/main.c
→
src/platform/3ds/main.c
@@ -106,9 +106,9 @@ 320, 240,
font, _drawStart, _drawEnd, _pollInput }; + char currentPath[256] = ""; while (aptMainLoop()) { char path[256]; - char currentPath[256] = ""; if (!selectFile(¶ms, "/", path, currentPath, sizeof(path), GBAIsROM)) { break; }
M
src/platform/psp2/main.c
→
src/platform/psp2/main.c
@@ -68,9 +68,9 @@ PSP2_HORIZONTAL_PIXELS, PSP2_VERTICAL_PIXELS,
font, _drawStart, _drawEnd, _pollInput }; + char currentPath[256] = ""; while (true) { char path[256]; - char currentPath[256] = ""; if (!selectFile(¶ms, "cache0:", path, currentPath, sizeof(path), GBAIsROM)) { break; }
M
src/platform/wii/main.c
→
src/platform/wii/main.c
@@ -165,9 +165,9 @@ blip_set_rates(context.gba->audio.left, GBA_ARM7TDMI_FREQUENCY, 48000);
blip_set_rates(context.gba->audio.right, GBA_ARM7TDMI_FREQUENCY, 48000); #endif + char currentPath[256] = ""; while (true) { char path[256]; - char currentPath[256] = ""; guOrtho(proj, -20, 240, 0, 352, 0, 300); GX_LoadProjectionMtx(proj, GX_ORTHOGRAPHIC);