mirror of https://github.com/mgba-emu/mgba.git
Place save files in directories when loading in dirmode
This commit is contained in:
parent
a14ce5c815
commit
5a0247ac78
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue