mirror of
https://github.com/wiiu-env/WUMSLoader.git
synced 2024-10-31 21:35:07 +01:00
ModuleDataPersistence: Add missing export name loading
This commit is contained in:
parent
c6c12798ea
commit
cd3065b9e5
@ -65,6 +65,8 @@ std::vector<ModuleData> ModuleDataPersistence::loadModuleData(module_information
|
|||||||
moduleData.setStartAddress(module_data->startAddress);
|
moduleData.setStartAddress(module_data->startAddress);
|
||||||
moduleData.setEndAddress(module_data->endAddress);
|
moduleData.setEndAddress(module_data->endAddress);
|
||||||
|
|
||||||
|
|
||||||
|
moduleData.setExportName(module_data->module_export_name);
|
||||||
for (uint32_t j = 0; j < DYN_LINK_RELOCATION_LIST_LENGTH; j++) {
|
for (uint32_t j = 0; j < DYN_LINK_RELOCATION_LIST_LENGTH; j++) {
|
||||||
dyn_linking_relocation_entry_t *linking_entry = &(module_data->linking_entries[j]);
|
dyn_linking_relocation_entry_t *linking_entry = &(module_data->linking_entries[j]);
|
||||||
if (linking_entry->destination == NULL) {
|
if (linking_entry->destination == NULL) {
|
||||||
|
@ -88,6 +88,8 @@ std::vector<ModuleData> ModuleDataPersistence::loadModuleData(module_information
|
|||||||
moduleData.setStartAddress(module_data->startAddress);
|
moduleData.setStartAddress(module_data->startAddress);
|
||||||
moduleData.setEndAddress(module_data->endAddress);
|
moduleData.setEndAddress(module_data->endAddress);
|
||||||
|
|
||||||
|
moduleData.setExportName(module_data->module_export_name);
|
||||||
|
|
||||||
for (uint32_t j = 0; j < EXPORT_ENTRY_LIST_LENGTH; j++) {
|
for (uint32_t j = 0; j < EXPORT_ENTRY_LIST_LENGTH; j++) {
|
||||||
export_data_t *export_entry = &(module_data->export_entries[j]);
|
export_data_t *export_entry = &(module_data->export_entries[j]);
|
||||||
if (export_entry->address == NULL) {
|
if (export_entry->address == NULL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user