mirror of https://github.com/mgba-emu/mgba.git
3DS: Make save file read/write
This commit is contained in:
parent
7a3c7c1488
commit
f453dbd7f1
|
@ -44,8 +44,7 @@ int main() {
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue