diff --git a/src/gba/gba-thread.c b/src/gba/gba-thread.c index 9354d3b60..49d9200af 100644 --- a/src/gba/gba-thread.c +++ b/src/gba/gba-thread.c @@ -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) {