hle: kernel: Drop R_UNLESS_NOLOG in favor of expanded if-statement.

This commit is contained in:
bunnei 2021-02-04 16:56:57 -08:00
parent 546af64340
commit ea4f62615e
3 changed files with 11 additions and 11 deletions

View file

@ -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.