Added some logging

This commit is contained in:
Maschell
2020-04-29 12:06:47 +02:00
parent 7b8a421d7a
commit 7fe051d2cf
3 changed files with 8 additions and 1 deletions

View File

@@ -127,8 +127,11 @@ int main(int argc, char **argv) {
ModuleData * moduleData = ModuleDataFactory::load(modules.GetFilepath(i), 0x00900000, 0x01000000 - textSectionStart, gModuleData->trampolines, DYN_LINK_TRAMPOLIN_LIST_LENGTH);
if(moduleData != NULL) {
DEBUG_FUNCTION_LINE("Successfully loaded %s", modules.GetFilepath(i));
ModuleDataPersistence::saveModuleData(gModuleData, moduleData);
delete moduleData;
}else{
DEBUG_FUNCTION_LINE("Failed to load %s", modules.GetFilepath(i));
}
}