diff --git a/relocator/src/entry.cpp b/relocator/src/entry.cpp index d1d8457..60f0760 100644 --- a/relocator/src/entry.cpp +++ b/relocator/src/entry.cpp @@ -181,7 +181,7 @@ extern "C" void doStart(int argc, char **argv) { } } - DEBUG_FUNCTION_LINE_VERBOSE("Relocations done\n"); + DEBUG_FUNCTION_LINE_VERBOSE("Call Relocations done hook\n"); CallHook(loadedModules, WUMS_HOOK_RELOCATIONS_DONE); for (auto &curModule: loadedModules) { diff --git a/source/main.cpp b/source/main.cpp index c9df18a..82f3bd9 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -44,6 +44,7 @@ int main(int argc, char **argv) { } } + DEBUG_FUNCTION_LINE("Setup relocator"); SetupRelocator(); nn::act::Initialize(); diff --git a/source/module/ModuleData.h b/source/module/ModuleData.h index 803f617..7253235 100644 --- a/source/module/ModuleData.h +++ b/source/module/ModuleData.h @@ -28,9 +28,8 @@ #include "FunctionSymbolData.h" struct FunctionSymbolDataComparator { - bool operator()(const std::shared_ptr& lhs, - const std::shared_ptr& rhs) const - { + bool operator()(const std::shared_ptr &lhs, + const std::shared_ptr &rhs) const { return (uint32_t) lhs->getAddress() < (uint32_t) rhs->getAddress(); } };