mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2024-11-17 02:09:17 +01:00
Fix calculating the size needed to store the plugins in memory.
This commit is contained in:
parent
80eb885dd2
commit
037e1f2ce8
@ -64,6 +64,9 @@ std::optional<PluginInformation> PluginInformationFactory::load(const PluginData
|
||||
} else if ((address >= 0x10000000) && address < 0xC0000000) {
|
||||
data_size += sectionSize;
|
||||
}
|
||||
if (psec->get_name().rfind(".wups.", 0) == 0) {
|
||||
data_size += sectionSize;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user