mirror of https://github.com/mgba-emu/mgba.git
Wii, 3DS, PSP2: Fix file select reseting to the top directory
This commit is contained in:
parent
d747badc25
commit
495c0ee54e
|
@ -106,9 +106,9 @@ int main() {
|
|||
font, _drawStart, _drawEnd, _pollInput
|
||||
};
|
||||
|
||||
char currentPath[256] = "";
|
||||
while (aptMainLoop()) {
|
||||
char path[256];
|
||||
char currentPath[256] = "";
|
||||
if (!selectFile(¶ms, "/", path, currentPath, sizeof(path), GBAIsROM)) {
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -68,9 +68,9 @@ int main() {
|
|||
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;
|
||||
}
|
||||
|
|
|
@ -165,9 +165,9 @@ int main() {
|
|||
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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue