3DS: Make save file read/write
Jeffrey Pfau jeffrey@endrift.com
Mon, 17 Aug 2015 01:39:44 -0700
1 files changed,
1 insertions(+),
2 deletions(-)
jump to
M
src/platform/3ds/main.c
→
src/platform/3ds/main.c
@@ -44,8 +44,7 @@ renderer.outputBuffer = videoBuffer;
renderer.outputBufferStride = VIDEO_HORIZONTAL_PIXELS; struct VFile* rom = VFileOpen3DS(&sdmcArchive, "/rom.gba", FS_OPEN_READ); - - struct VFile* save = VFileOpen3DS(&sdmcArchive, "/rom.sav", FS_OPEN_WRITE | FS_OPEN_CREATE); + struct VFile* save = VFileOpen3DS(&sdmcArchive, "/rom.sav", FS_OPEN_READ | FS_OPEN_WRITE); GBACreate(gba); ARMSetComponents(cpu, &gba->d, 0, 0);