diff --git a/src/xenia/kernel/xam/xam_ui.cc b/src/xenia/kernel/xam/xam_ui.cc index 5175cea02..eabcd71e5 100644 --- a/src/xenia/kernel/xam/xam_ui.cc +++ b/src/xenia/kernel/xam/xam_ui.cc @@ -860,9 +860,9 @@ bool xeDrawProfileContent(ui::ImGuiDrawer* imgui_drawer, const uint64_t xuid, } if (ImGui::BeginMenu("Login to slot:")) { - for (uint8_t i = 0; i < XUserMaxUserCount; i++) { + for (uint8_t i = 1; i <= XUserMaxUserCount; i++) { if (ImGui::MenuItem(fmt::format("slot {}", i).c_str())) { - profile_manager->Login(xuid, i); + profile_manager->Login(xuid, i - 1); } } ImGui::EndMenu();