Formatting

This commit is contained in:
Maschell 2020-06-07 14:18:34 +02:00
parent 44b65558ef
commit b5f345e22a
2 changed files with 11 additions and 10 deletions

View File

@ -189,7 +189,8 @@ std::optional<ModuleData> ModuleDataFactory::load(std::string path, uint32_t* de
DEBUG_FUNCTION_LINE("initBeforeEntrypoint = %s", value.c_str());
moduleData.setInitBeforeEntrypoint(true);
}
}if (key.compare("wums") == 0) {
}
if (key.compare("wums") == 0) {
if (value.compare("0.1") != 0) {
DEBUG_FUNCTION_LINE("Warning: Ignoring module - Unsupported WUMS version: %s.\n", value.c_str());
return std::nullopt;