mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2026-08-11 20:25:49 -05:00
Save the address of memory allocated on the plugin heap
This commit is contained in:
@@ -197,6 +197,10 @@ std::optional<PluginInformation> PluginInformationFactory::load(const PluginData
|
||||
}
|
||||
}
|
||||
|
||||
// Save the addresses for the allocated. This way we can free it again :)
|
||||
pluginInfo.allocatedDataMemoryAddress = data_data;
|
||||
pluginInfo.allocatedTextMemoryAddress = text_data;
|
||||
|
||||
return pluginInfo;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user