mirror of
https://github.com/wiiu-env/WUMSLoader.git
synced 2024-11-23 16:29:16 +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 {
|
} else {
|
||||||
moduleData->setInitBeforeRelocationDoneHook(false);
|
moduleData->setInitBeforeRelocationDoneHook(false);
|
||||||
}
|
}
|
||||||
} else if (key == "wums") {
|
} else if (key == "wums" || key == "wum") {
|
||||||
if (value != "0.3.1") {
|
if (value != "0.3.1") {
|
||||||
DEBUG_FUNCTION_LINE_WARN("Ignoring module - Unsupported WUMS version: %s.", value.c_str());
|
DEBUG_FUNCTION_LINE_WARN("Ignoring module - Unsupported WUMS version: %s.", value.c_str());
|
||||||
return std::nullopt;
|
return std::nullopt;
|
||||||
|
Loading…
Reference in New Issue
Block a user