aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-02-04 16:56:57 -0800
committerbunnei <bunneidev@gmail.com>2021-02-05 14:03:36 -0800
commitea4f62615e71cd2b680517b7609928ed0abf216d (patch)
treee324ee348627fccb5706ad11fcb316877f4aaa3f /src/common
parent546af643404f8de456ac8e39262ad40c5d4e6659 (diff)
hle: kernel: Drop R_UNLESS_NOLOG in favor of expanded if-statement.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/common_funcs.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/common/common_funcs.h b/src/common/common_funcs.h
index cd3207a03..71b64e32a 100644
--- a/src/common/common_funcs.h
+++ b/src/common/common_funcs.h
@@ -104,14 +104,6 @@ __declspec(dllimport) void __stdcall DebugBreak(void);
} \
}
-/// Evaluates a boolean expression, and returns a result unless that expression is true.
-#define R_UNLESS_NOLOG(expr, res) \
- { \
- if (!(expr)) { \
- return res; \
- } \
- }
-
#define R_SUCCEEDED(res) (res.IsSuccess())
/// Evaluates an expression that returns a result, and returns the result if it would fail.