mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-13 22:27:57 -05:00
common: Change semantics of UNREACHABLE to unconditionally crash
This commit is contained in:
@ -11,3 +11,8 @@ void assert_handle_failure() {
|
||||
Crash();
|
||||
}
|
||||
}
|
||||
|
||||
[[noreturn]] void unreachable_impl() {
|
||||
Crash();
|
||||
throw std::runtime_error("Unreachable code");
|
||||
}
|
||||
|
Reference in New Issue
Block a user