Skip to content

Commit

Permalink
Part 2 of e4d5979
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Sep 18, 2023
1 parent e4d5979 commit 259090d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions romsel_dsimenutheme/arm9/source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,7 @@ void loadGameOnFlashcard(const char *ndsPath, bool dsGame) {
}
std::string romFolderNoSlash = romfolder;
RemoveTrailingSlashes(romFolderNoSlash);
chdir(romFolderNoSlash.c_str());
mkdir("saves", 0777);
std::string savepath = romFolderNoSlash + "/saves/" + savename;
std::string savepathFc = romFolderNoSlash + "/" + savenameFc;
Expand Down
1 change: 1 addition & 0 deletions romsel_r4theme/arm9/source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,7 @@ void loadGameOnFlashcard(const char* ndsPath, bool dsGame) {
}
std::string romFolderNoSlash = romfolder;
RemoveTrailingSlashes(romFolderNoSlash);
chdir(romFolderNoSlash.c_str());
mkdir("saves", 0777);
std::string savepath = romFolderNoSlash + "/saves/" + savename;
std::string savepathFc = romFolderNoSlash + "/" + savenameFc;
Expand Down

0 comments on commit 259090d

Please sign in to comment.