From 230015f9ca086dde3718fd00437708b20b034795 Mon Sep 17 00:00:00 2001 From: gibbed Date: Mon, 13 Apr 2020 14:23:45 -0500 Subject: [PATCH] [XAM] Add default case. [XAM] Add default case in xeXamUserReadProfileSettingsEx. --- src/xenia/kernel/xam/xam_user.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/xenia/kernel/xam/xam_user.cc b/src/xenia/kernel/xam/xam_user.cc index 4b266c31e..86dbe61db 100644 --- a/src/xenia/kernel/xam/xam_user.cc +++ b/src/xenia/kernel/xam/xam_user.cc @@ -172,7 +172,11 @@ uint32_t xeXamUserReadProfileSettingsEx(uint32_t title_id, uint32_t user_index, case UserProfile::Setting::Type::WSTRING: case UserProfile::Setting::Type::BINARY: { needed_size += setting_key.size; - } break; + break; + } + default: { + break; + } } } // needed_size *= !xuids_ptr ? 1 : xuid_count;