Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

common: common_funcs: Change R_UNLESS to LOG_ERROR.

bunnei4bb6de297f03
diff --git a/src/common/common_funcs.h b/src/common/common_funcs.h
index 71d136d4ae..71b64e32a3 100644
--- a/src/common/common_funcs.h
+++ b/src/common/common_funcs.h
@@ -98,7 +98,7 @@ __declspec(dllimport) void __stdcall DebugBreak(void);
{ \
if (!(expr)) { \
if (res.IsError()) { \
- LOG_CRITICAL(Kernel, "Failed with error {}", res.raw); \
+ LOG_ERROR(Kernel, "Failed with result: {}", res.raw); \
} \
return res; \
} \