Frontend: Fix last two slots missing from quick load

This commit is contained in:
Connor McLaughlin 2019-10-29 02:08:46 +10:00
parent 3ad6b005a8
commit 6f7b9c8e28
1 changed files with 1 additions and 1 deletions

View File

@ -772,7 +772,7 @@ void SDLInterface::DrawMainMenuBar()
if (ImGui::BeginMenu("Load State")) 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())) if (ImGui::MenuItem(TinyString::FromFormat("State %u", i).GetCharArray()))
DoLoadState(i); DoLoadState(i);