mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2026-09-29 22:33:45 -05:00
Fix json parsing error handling, other small fixes
This commit is contained in:
@@ -19,7 +19,7 @@ namespace WUPSBackendSettings {
|
||||
std::string folderPath = getModulePath() + "/configs/";
|
||||
std::string filePath = folderPath + "wupsbackend.json";
|
||||
|
||||
if (!ParseJsonFromFile(filePath, j)) {
|
||||
if (ParseJsonFromFile(filePath, j) != UTILS_IO_ERROR_SUCCESS) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user