mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-24 10:07:52 -05:00
core: hle: kernel: Use result macros for new/changed code.
This commit is contained in:
@ -470,9 +470,6 @@ constexpr inline Result __TmpCurrentResultReference = ResultSuccess;
|
||||
#define R_UNLESS(expr, res) \
|
||||
{ \
|
||||
if (!(expr)) { \
|
||||
if (res.IsError()) { \
|
||||
LOG_ERROR(Kernel, "Failed with result: {}", res.raw); \
|
||||
} \
|
||||
R_THROW(res); \
|
||||
} \
|
||||
}
|
||||
|
Reference in New Issue
Block a user