mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-18 15:27:53 +00:00
common: Change semantics of UNREACHABLE to unconditionally crash
This commit is contained in:
parent
063d8354a7
commit
c1771c98f3
72 changed files with 182 additions and 173 deletions
|
@ -290,7 +290,7 @@ MiiStoreData BuildRandomStoreData(Age age, Gender gender, Race race, const Commo
|
|||
u8 glasses_type{};
|
||||
while (glasses_type_start < glasses_type_info.values[glasses_type]) {
|
||||
if (++glasses_type >= glasses_type_info.values_count) {
|
||||
UNREACHABLE();
|
||||
ASSERT(false);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue