Skip to content

Commit 96864e1

Browse files
committed
ImGuiManager: Fix empty slot message in save state selector
1 parent 1f9122c commit 96864e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/imgui_overlays.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1211,7 +1211,7 @@ void SaveStateSelectorUI::InitializeListEntry(ListEntry* li, ExtendedSaveStateIn
12111211
void SaveStateSelectorUI::InitializePlaceholderListEntry(ListEntry* li, const std::string& path, s32 slot, bool global,
12121212
bool exists, Error&& error)
12131213
{
1214-
if (exists)
1214+
if (!exists)
12151215
li->summary = TRANSLATE_STR("SaveStateSelectorUI", "No save present in this slot.");
12161216
else if (error.IsValid())
12171217
li->summary = error.TakeDescription();

0 commit comments

Comments
 (0)