mirror of
https://github.com/wiiu-env/WUMSLoader.git
synced 2024-12-25 23:51:50 +01:00
Check the wums version in meta field "wum" (old released store it there)
This commit is contained in:
parent
1d0b7c60d6
commit
14392b4dc9
@ -247,7 +247,7 @@ std::optional<std::shared_ptr<ModuleData>> ModuleDataFactory::load(const std::st
|
||||
} else {
|
||||
moduleData->setInitBeforeRelocationDoneHook(false);
|
||||
}
|
||||
} else if (key == "wums") {
|
||||
} else if (key == "wums" || key == "wum") {
|
||||
if (value != "0.3.1") {
|
||||
DEBUG_FUNCTION_LINE_WARN("Ignoring module - Unsupported WUMS version: %s.", value.c_str());
|
||||
return std::nullopt;
|
||||
|
Loading…
Reference in New Issue
Block a user