From 6f7b9c8e28532012ba7bda233a1d2f99a697b1d4 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Tue, 29 Oct 2019 02:08:46 +1000 Subject: [PATCH] Frontend: Fix last two slots missing from quick load --- src/duckstation/sdl_interface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/duckstation/sdl_interface.cpp b/src/duckstation/sdl_interface.cpp index 64f91cda5..447aca823 100644 --- a/src/duckstation/sdl_interface.cpp +++ b/src/duckstation/sdl_interface.cpp @@ -772,7 +772,7 @@ void SDLInterface::DrawMainMenuBar() if (ImGui::BeginMenu("Load State")) { - for (u32 i = 1; i <= 8; i++) + for (u32 i = 1; i <= NUM_QUICK_SAVE_STATES; i++) { if (ImGui::MenuItem(TinyString::FromFormat("State %u", i).GetCharArray())) DoLoadState(i);