mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-08-18 14:13:13 +00:00
[common/settings] Allow to add custom blocked domains & change hardcoded list
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
@@ -262,6 +262,13 @@ void AndroidConfig::SavePathValues() {
|
||||
}
|
||||
EndArray();
|
||||
|
||||
BeginArray(std::string("blocked_domains"));
|
||||
for (size_t i = 0; i < Settings::values.blocked_domains.size(); ++i) {
|
||||
SetArrayIndex(i);
|
||||
WriteStringSetting(std::string("domain"), Settings::values.blocked_domains[i]);
|
||||
}
|
||||
EndArray();
|
||||
|
||||
// Save custom NAND directory
|
||||
const auto nand_path = Common::FS::GetEdenPathString(Common::FS::EdenPath::NANDDir);
|
||||
WriteStringSetting(std::string("nand_directory"), nand_path,
|
||||
|
||||
Reference in New Issue
Block a user