2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-20 14:59:12 +00:00

Fix reading/writing saves

This commit is contained in:
2022-03-22 01:37:10 -07:00
parent e4715a2df6
commit 64e662069d
8 changed files with 64 additions and 74 deletions

View File

@@ -60,7 +60,7 @@ std::string CMemoryCardSys::_CreateDolphinCard(kabufuda::ECardSlot slot, bool do
}
auto path = *dolphinPath + "GC";
int ret = mkdir(path.c_str(), 0755);
if (ret != 0 && ret != EEXIST) {
if (ret != 0 && errno != EEXIST) {
return {};
}