mirror of
https://github.com/Dark98/threeSD.git
synced 2026-07-02 16:49:04 +00:00
Add a check in LoadPresetConfig
This commit is contained in:
@@ -1207,6 +1207,12 @@ std::vector<Config> LoadPresetConfig(std::string mount_point) {
|
|||||||
if (!FileUtil::IsDirectory(nand_dir)) {
|
if (!FileUtil::IsDirectory(nand_dir)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
if (virtual_name != SysNANDName &&
|
||||||
|
virtual_name.substr(0, EmuNANDPrefix.size()) != EmuNANDPrefix) {
|
||||||
|
|
||||||
|
// Not a NAND folder
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
Config::NandConfig config;
|
Config::NandConfig config;
|
||||||
config.nand_name = virtual_name;
|
config.nand_name = virtual_name;
|
||||||
|
|||||||
Reference in New Issue
Block a user