diff --git a/src/xenia/cpu/hir/value.cc b/src/xenia/cpu/hir/value.cc index a41b8c9a8..03ef79a2a 100644 --- a/src/xenia/cpu/hir/value.cc +++ b/src/xenia/cpu/hir/value.cc @@ -206,6 +206,9 @@ void Value::Convert(TypeName target_type, RoundMode round_mode) { type = target_type; constant.f64 = constant.f32; return; + default: + assert_unhandled_case(target_type); + return; } case FLOAT64_TYPE: switch (target_type) { @@ -213,6 +216,9 @@ void Value::Convert(TypeName target_type, RoundMode round_mode) { type = target_type; constant.f32 = (float)constant.f64; return; + default: + assert_unhandled_case(target_type); + return; } default: assert_unhandled_case(type);