diff options
author | Arisotura <thetotalworm@gmail.com> | 2022-09-23 22:53:23 +0200 |
---|---|---|
committer | Arisotura <thetotalworm@gmail.com> | 2022-09-23 22:53:23 +0200 |
commit | 86786738cc91dbea5f9dcdf0e147bd6615e1ca46 (patch) | |
tree | 090abb961c3b990517a8b5d6c5018d7801c71202 /src/DSi_SD.cpp | |
parent | fc112580710a1a96b38ded2481e54a1ba42a3e0d (diff) |
properly make the DSi NAND instance-unique
Diffstat (limited to 'src/DSi_SD.cpp')
-rw-r--r-- | src/DSi_SD.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/DSi_SD.cpp b/src/DSi_SD.cpp index c6932d4..e603347 100644 --- a/src/DSi_SD.cpp +++ b/src/DSi_SD.cpp @@ -136,7 +136,10 @@ void DSi_SDHost::Reset() else sd = nullptr; - mmc = new DSi_MMCStorage(this, true, Platform::GetConfigString(Platform::DSi_NANDPath)); + std::string nandpath = Platform::GetConfigString(Platform::DSi_NANDPath); + std::string instnand = nandpath + Platform::InstanceFileSuffix(); + + mmc = new DSi_MMCStorage(this, true, instnand); mmc->SetCID(DSi::eMMC_CID); Ports[0] = sd; |