FullscreenUI: Fix crash in game properties on non-scanned file

pull/3379/head
Stenzek 4 days ago
parent eda32e0695
commit fbbc4943f6
No known key found for this signature in database

@ -3364,7 +3364,7 @@ bool FullscreenUI::SwitchToGameSettings()
const GameList::Entry* entry = GameList::GetEntryForPath(s_state.current_game_path); const GameList::Entry* entry = GameList::GetEntryForPath(s_state.current_game_path);
if (!entry) if (!entry)
{ {
SwitchToGameSettingsForSerial(s_state.current_game_serial, entry->hash); SwitchToGameSettingsForSerial(s_state.current_game_serial, s_state.current_game_hash);
return true; return true;
} }
else else

Loading…
Cancel
Save