fix: bad debug prints

This commit is contained in:
Ash Logan 2026-07-28 22:49:32 +10:00
commit 39dc7d8c8a
3 changed files with 4 additions and 5 deletions

View file

@ -53,7 +53,7 @@ nn::swkbd::LanguageType get_system_language() {
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;
return language;
}
@ -80,7 +80,7 @@ static void get_mcp_config() {
mcp_os_version = os_version;
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
);
}

View file

@ -38,7 +38,7 @@ WUPS_PLUGIN_LICENSE("GPLv3");
WUPS_USE_STORAGE("inkay");
INITIALIZE_PLUGIN() {
WHBLogModuleInit();
WHBLogCafeInit();
Config::Init();
@ -54,7 +54,7 @@ DEINITIALIZE_PLUGIN() {
Inkay_Finalize();
NotificationModule_DeInitLibrary();
WHBLogModuleDeinit();
WHBLogCafeDeinit();
}
ON_APPLICATION_START() {

View file

@ -85,7 +85,6 @@ bool replace_unsigned(U *addr, U original_value, U new_value) {
);
DCFlushRange(addr, sizeof(new_value));
DEBUG_FUNCTION_LINE_VERBOSE("%08x is now %08x", inst, *inst);
return *addr == new_value;
}
template bool replace_unsigned<uint64_t>(uint64_t *, uint64_t, uint64_t);