Place save files in directories when loading in dirmode
Jeffrey Pfau jeffrey@endrift.com
Fri, 18 Jul 2014 00:52:53 -0700
1 files changed,
3 insertions(+),
0 deletions(-)
jump to
M
src/gba/gba-thread.c
→
src/gba/gba-thread.c
@@ -224,6 +224,9 @@ vf->close(vf);
} dirent = threadContext->gamedir->listNext(threadContext->gamedir); } + + // TODO: Differentiate ZIPs and filesystem directories + threadContext->save = threadContext->gamedir->openFile(threadContext->gamedir, "sram.sav", O_RDWR | O_CREAT); } if (!threadContext->rom) {