mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2026-08-28 05:45:30 -05:00
Fix compiling with debug logs
This commit is contained in:
@@ -285,7 +285,7 @@ void PrintCapturedStackTrace(const std::span<const uint32_t> trace) {
|
||||
DEBUG_FUNCTION_LINE_INFO("└────────────────────────────────────────────────────────────┘");
|
||||
}
|
||||
|
||||
std::string hookNameToString(const wups_loader_hook_type_t type) {
|
||||
const char *hookNameToString(const wups_loader_hook_type_t type) {
|
||||
switch (type) {
|
||||
case WUPS_LOADER_HOOK_INIT_WUT_MALLOC:
|
||||
return "WUPS_LOADER_HOOK_INIT_WUT_MALLOC";
|
||||
|
||||
@@ -171,4 +171,4 @@ std::string getModuleAndSymbolName(uint32_t addr);
|
||||
|
||||
void PrintCapturedStackTrace(std::span<const uint32_t> trace);
|
||||
|
||||
std::string hookNameToString(wups_loader_hook_type_t type);
|
||||
const char *hookNameToString(wups_loader_hook_type_t type);
|
||||
Reference in New Issue
Block a user