Fix auto updating ncch files

This commit is contained in:
PabloMK7
2022-10-20 23:14:57 +02:00
parent 67c4b87184
commit c49379442d
5 changed files with 24 additions and 1 deletions

View File

@ -738,6 +738,10 @@ void SetCurrentRomPath(const std::string& path) {
g_currentRomPath = path;
}
const std::string& GetCurrentRomPath() {
return g_currentRomPath;
}
bool StringReplace(std::string& haystack, const std::string& a, const std::string& b, bool swap) {
const auto& needle = swap ? b : a;
const auto& replacement = swap ? a : b;