forked from PretendoNetwork/Inkay
fix: bad debug prints
This commit is contained in:
parent
158c597aeb
commit
39dc7d8c8a
3 changed files with 4 additions and 5 deletions
|
|
@ -53,7 +53,7 @@ nn::swkbd::LanguageType get_system_language() {
|
||||||
return nn::swkbd::LanguageType::English;
|
return nn::swkbd::LanguageType::English;
|
||||||
}
|
}
|
||||||
|
|
||||||
DEBUG_FUNCTION_LINE_VERBOSE("System language found: %d", language);
|
DEBUG_FUNCTION_LINE_VERBOSE("System language found: %d", static_cast<int>(language));
|
||||||
cached_language = language;
|
cached_language = language;
|
||||||
return language;
|
return language;
|
||||||
}
|
}
|
||||||
|
|
@ -80,7 +80,7 @@ static void get_mcp_config() {
|
||||||
mcp_os_version = os_version;
|
mcp_os_version = os_version;
|
||||||
|
|
||||||
DEBUG_FUNCTION_LINE_VERBOSE("Running on %d.%d.%d%c; %s%s",
|
DEBUG_FUNCTION_LINE_VERBOSE("Running on %d.%d.%d%c; %s%s",
|
||||||
os_version.major, os_version.minor, os_version.patch, os_version.region
|
os_version.major, os_version.minor, os_version.patch, os_version.region,
|
||||||
config.code_id, config.serial_id
|
config.code_id, config.serial_id
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ WUPS_PLUGIN_LICENSE("GPLv3");
|
||||||
WUPS_USE_STORAGE("inkay");
|
WUPS_USE_STORAGE("inkay");
|
||||||
|
|
||||||
INITIALIZE_PLUGIN() {
|
INITIALIZE_PLUGIN() {
|
||||||
WHBLogModuleInit();
|
WHBLogCafeInit();
|
||||||
|
|
||||||
Config::Init();
|
Config::Init();
|
||||||
|
|
||||||
|
|
@ -54,7 +54,7 @@ DEINITIALIZE_PLUGIN() {
|
||||||
Inkay_Finalize();
|
Inkay_Finalize();
|
||||||
NotificationModule_DeInitLibrary();
|
NotificationModule_DeInitLibrary();
|
||||||
|
|
||||||
WHBLogModuleDeinit();
|
WHBLogCafeDeinit();
|
||||||
}
|
}
|
||||||
|
|
||||||
ON_APPLICATION_START() {
|
ON_APPLICATION_START() {
|
||||||
|
|
|
||||||
|
|
@ -85,7 +85,6 @@ bool replace_unsigned(U *addr, U original_value, U new_value) {
|
||||||
);
|
);
|
||||||
DCFlushRange(addr, sizeof(new_value));
|
DCFlushRange(addr, sizeof(new_value));
|
||||||
|
|
||||||
DEBUG_FUNCTION_LINE_VERBOSE("%08x is now %08x", inst, *inst);
|
|
||||||
return *addr == new_value;
|
return *addr == new_value;
|
||||||
}
|
}
|
||||||
template bool replace_unsigned<uint64_t>(uint64_t *, uint64_t, uint64_t);
|
template bool replace_unsigned<uint64_t>(uint64_t *, uint64_t, uint64_t);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue