summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/sm/controller.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-15 19:02:25 +0200
committerGitHub <noreply@github.com>2018-08-15 19:02:25 +0200
commitf96de510eef0b5721d4d81c0b8722dc08e14ddfd (patch)
tree92c1c5f85ef7226d05dc240ce5953b12a5c250fa /src/core/hle/service/sm/controller.cpp
parentMerge pull request #1077 from bunnei/rgba16u (diff)
parentkernel/server_session: Add IsSession() member function (diff)
downloadyuzu-f96de510eef0b5721d4d81c0b8722dc08e14ddfd.tar
yuzu-f96de510eef0b5721d4d81c0b8722dc08e14ddfd.tar.gz
yuzu-f96de510eef0b5721d4d81c0b8722dc08e14ddfd.tar.bz2
yuzu-f96de510eef0b5721d4d81c0b8722dc08e14ddfd.tar.lz
yuzu-f96de510eef0b5721d4d81c0b8722dc08e14ddfd.tar.xz
yuzu-f96de510eef0b5721d4d81c0b8722dc08e14ddfd.tar.zst
yuzu-f96de510eef0b5721d4d81c0b8722dc08e14ddfd.zip
Diffstat (limited to 'src/core/hle/service/sm/controller.cpp')
-rw-r--r--src/core/hle/service/sm/controller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/sm/controller.cpp b/src/core/hle/service/sm/controller.cpp
index 518a0cc46..ae8cd9eeb 100644
--- a/src/core/hle/service/sm/controller.cpp
+++ b/src/core/hle/service/sm/controller.cpp
@@ -10,7 +10,7 @@
namespace Service::SM {
void Controller::ConvertSessionToDomain(Kernel::HLERequestContext& ctx) {
- ASSERT_MSG(!ctx.Session()->IsDomain(), "session is alread a domain");
+ ASSERT_MSG(ctx.Session()->IsSession(), "Session is already a domain");
ctx.Session()->ConvertToDomain();
IPC::ResponseBuilder rb{ctx, 3};