mirror of
https://github.com/wiiu-env/WiiUPluginSystem.git
synced 2026-09-26 02:55:50 -05:00
[Loader] Refacored memory mapping class, added function to get size of a mapped memory region.
- Removed log
This commit is contained in:
@@ -302,7 +302,6 @@ bool PluginLoader::loadAndLinkElf(PluginData * pluginData, Elf *elf, void * endA
|
||||
goto exit_error;
|
||||
}
|
||||
|
||||
//DEBUG_FUNCTION_LINE("Copy section %s to %08X\n",name,curAddress);
|
||||
if (!ElfTools::elfLoadSection(elf, scn, shdr, (void*) curAddress)) {
|
||||
goto exit_error;
|
||||
}
|
||||
@@ -346,6 +345,8 @@ bool PluginLoader::loadAndLinkElf(PluginData * pluginData, Elf *elf, void * endA
|
||||
|
||||
this->setCurrentStoreAddress((void *) curAddress);
|
||||
|
||||
DEBUG_FUNCTION_LINE("Copied plugin %s to %08X\n",pluginData->getPluginInformation()->getName().c_str(),curAddress);
|
||||
|
||||
result = true;
|
||||
exit_error:
|
||||
if (!result) DEBUG_FUNCTION_LINE("exit_error\n");
|
||||
|
||||
Reference in New Issue
Block a user