diff options
author | Liam <byteslice@airmail.cc> | 2022-06-07 17:02:29 -0400 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2022-06-13 20:09:00 -0400 |
commit | 084d7d6b014443be7625fb9d8f1ddd309a22f6f4 (patch) | |
tree | ea48c7b1d22a0b282846ba28a9b62c988e38bd29 /src/core/frontend/applets/controller.cpp | |
parent | bd3bfe411d8319b8300037a78c152ad7dab839f3 (diff) |
common: Change semantics of UNREACHABLE to unconditionally crash
Diffstat (limited to 'src/core/frontend/applets/controller.cpp')
-rw-r--r-- | src/core/frontend/applets/controller.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/frontend/applets/controller.cpp b/src/core/frontend/applets/controller.cpp index 0ff2a338e7..6c230f6196 100644 --- a/src/core/frontend/applets/controller.cpp +++ b/src/core/frontend/applets/controller.cpp @@ -65,7 +65,7 @@ void DefaultControllerApplet::ReconfigureControllers(std::function<void()> callb controller->SetNpadStyleIndex(Core::HID::NpadStyleIndex::Handheld); controller->Connect(true); } else { - UNREACHABLE_MSG("Unable to add a new controller based on the given parameters!"); + ASSERT_MSG(false, "Unable to add a new controller based on the given parameters!"); } } |