Minor formatting and logging cleanup

This commit is contained in:
Maschell 2022-01-23 22:17:48 +01:00
parent d6ace2f0ef
commit 575e9914f0
3 changed files with 4 additions and 4 deletions

View File

@ -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) {

View File

@ -44,6 +44,7 @@ int main(int argc, char **argv) {
}
}
DEBUG_FUNCTION_LINE("Setup relocator");
SetupRelocator();
nn::act::Initialize();

View File

@ -28,9 +28,8 @@
#include "FunctionSymbolData.h"
struct FunctionSymbolDataComparator {
bool operator()(const std::shared_ptr<FunctionSymbolData>& lhs,
const std::shared_ptr<FunctionSymbolData>& rhs) const
{
bool operator()(const std::shared_ptr<FunctionSymbolData> &lhs,
const std::shared_ptr<FunctionSymbolData> &rhs) const {
return (uint32_t) lhs->getAddress() < (uint32_t) rhs->getAddress();
}
};