Fix logging the wrong filepath

This commit is contained in:
Maschell 2020-04-29 11:10:41 +02:00
parent 7611a54a63
commit 65260dbaa0

View File

@ -120,7 +120,7 @@ int main(int argc, char **argv) {
for(int i = 0; i < modules.GetFilecount(); i++) { for(int i = 0; i < modules.GetFilecount(); i++) {
*gModuleData = {}; *gModuleData = {};
DEBUG_FUNCTION_LINE("Loading module %s",setupModules.GetFilepath(i)); DEBUG_FUNCTION_LINE("Loading module %s",modules.GetFilepath(i));
ModuleData * moduleData = ModuleDataFactory::load(modules.GetFilepath(i), 0x00880000, 0x01000000 - textSectionStart, gModuleData->trampolines, DYN_LINK_TRAMPOLIN_LIST_LENGTH); ModuleData * moduleData = ModuleDataFactory::load(modules.GetFilepath(i), 0x00880000, 0x01000000 - textSectionStart, gModuleData->trampolines, DYN_LINK_TRAMPOLIN_LIST_LENGTH);