Fix calculating the size needed to store the plugins in memory.

This commit is contained in:
Maschell 2020-05-03 13:51:39 +02:00
parent 80eb885dd2
commit 037e1f2ce8

View File

@ -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;
}
}
}