mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
[UI] Fixed inconsistency in slot id
This commit is contained in:
parent
58098aa6bf
commit
d2921a09eb
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue