summaryrefslogtreecommitdiffstats
path: root/src/core/hid/hid_core.cpp
diff options
context:
space:
mode:
authorMai <mathew1800@gmail.com>2022-06-14 14:34:16 +0200
committerGitHub <noreply@github.com>2022-06-14 14:34:16 +0200
commita3b12e3809e388e9c9b0608b14d85c0985e412c3 (patch)
tree135226fe24596286c54bf9c5c4a12868c3c55e90 /src/core/hid/hid_core.cpp
parentMerge pull request #8459 from Morph1984/wextra-gcc (diff)
parentkernel: fix passthrough of local captures in lambda (diff)
downloadyuzu-a3b12e3809e388e9c9b0608b14d85c0985e412c3.tar
yuzu-a3b12e3809e388e9c9b0608b14d85c0985e412c3.tar.gz
yuzu-a3b12e3809e388e9c9b0608b14d85c0985e412c3.tar.bz2
yuzu-a3b12e3809e388e9c9b0608b14d85c0985e412c3.tar.lz
yuzu-a3b12e3809e388e9c9b0608b14d85c0985e412c3.tar.xz
yuzu-a3b12e3809e388e9c9b0608b14d85c0985e412c3.tar.zst
yuzu-a3b12e3809e388e9c9b0608b14d85c0985e412c3.zip
Diffstat (limited to '')
-rw-r--r--src/core/hid/hid_core.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hid/hid_core.cpp b/src/core/hid/hid_core.cpp
index 7eed52593..7d6373414 100644
--- a/src/core/hid/hid_core.cpp
+++ b/src/core/hid/hid_core.cpp
@@ -48,7 +48,7 @@ EmulatedController* HIDCore::GetEmulatedController(NpadIdType npad_id_type) {
return handheld.get();
case NpadIdType::Invalid:
default:
- UNREACHABLE_MSG("Invalid NpadIdType={}", npad_id_type);
+ ASSERT_MSG(false, "Invalid NpadIdType={}", npad_id_type);
return nullptr;
}
}
@@ -77,7 +77,7 @@ const EmulatedController* HIDCore::GetEmulatedController(NpadIdType npad_id_type
return handheld.get();
case NpadIdType::Invalid:
default:
- UNREACHABLE_MSG("Invalid NpadIdType={}", npad_id_type);
+ ASSERT_MSG(false, "Invalid NpadIdType={}", npad_id_type);
return nullptr;
}
}