summaryrefslogtreecommitdiff
path: root/src/core/hle/result.h
diff options
context:
space:
mode:
authorGravatar bunnei2022-10-14 22:55:51 -0700
committerGravatar bunnei2022-10-18 19:13:35 -0700
commit829e82e264504696ce1d0ae9421a53d16bf104ea (patch)
treece5c5f35eec6c801c51d7ff6242cbd42ad2d84f8 /src/core/hle/result.h
parentcore: Partially persist emulation state across game boots. (diff)
downloadyuzu-829e82e264504696ce1d0ae9421a53d16bf104ea.tar.gz
yuzu-829e82e264504696ce1d0ae9421a53d16bf104ea.tar.xz
yuzu-829e82e264504696ce1d0ae9421a53d16bf104ea.zip
core: hle: kernel: Use result macros for new/changed code.
Diffstat (limited to 'src/core/hle/result.h')
-rw-r--r--src/core/hle/result.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/hle/result.h b/src/core/hle/result.h
index d714dea38..ef4b2d417 100644
--- a/src/core/hle/result.h
+++ b/src/core/hle/result.h
@@ -470,9 +470,6 @@ constexpr inline Result __TmpCurrentResultReference = ResultSuccess;
470#define R_UNLESS(expr, res) \ 470#define R_UNLESS(expr, res) \
471 { \ 471 { \
472 if (!(expr)) { \ 472 if (!(expr)) { \
473 if (res.IsError()) { \
474 LOG_ERROR(Kernel, "Failed with result: {}", res.raw); \
475 } \
476 R_THROW(res); \ 473 R_THROW(res); \
477 } \ 474 } \
478 } 475 }