mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-03 00:39:02 +00:00
*Only* open valid Scripts.
This commit is contained in:
@@ -59,7 +59,6 @@ nlohmann::json infoFromScript(const std::string &path) {
|
||||
|
||||
FILE* file = fopen(path.c_str(), "r");
|
||||
if(!file) {
|
||||
fclose(file);
|
||||
return out;
|
||||
}
|
||||
in = nlohmann::json::parse(file, nullptr, false);
|
||||
|
||||
Reference in New Issue
Block a user