From 830a54ced63b34fbeb1f8656b7414377490b45b4 Mon Sep 17 00:00:00 2001 From: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon, 16 Sep 2024 14:58:01 -0700 Subject: [PATCH] Fix state previews not showing when a rom is loaded (and fix them crashing when a rom is not loaded) --- GSE/StateManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GSE/StateManager.cs b/GSE/StateManager.cs index 340694c..008be12 100644 --- a/GSE/StateManager.cs +++ b/GSE/StateManager.cs @@ -61,7 +61,7 @@ private void LoadStatePreview() private void OnStateSlotChanged() { osdManager.QueueMessage($"Current state slot set to {GetStateSlot(config.SaveStateSlot)}"); - if (!config.HideStatePreviews && !emuManager.RomIsLoaded) + if (!config.HideStatePreviews && emuManager.RomIsLoaded) { LoadStatePreview(); }