Skip to content

Commit

Permalink
Fix state previews not showing when a rom is loaded (and fix them cra…
Browse files Browse the repository at this point in the history
…shing when a rom is not loaded)
  • Loading branch information
CasualPokePlayer committed Sep 16, 2024
1 parent e504cbd commit 830a54c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GSE/StateManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 830a54c

Please sign in to comment.