Place save files in directories when loading in dirmode

This commit is contained in:
Jeffrey Pfau 2014-07-18 00:52:53 -07:00
parent a14ce5c815
commit 5a0247ac78
1 changed files with 3 additions and 0 deletions

View File

@ -224,6 +224,9 @@ bool GBAThreadStart(struct GBAThread* threadContext) {
}
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) {