mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-07 12:05:52 +00:00
FullscreenUI: Fix crash in game properties on non-scanned file
This commit is contained in:
parent
eda32e0695
commit
fbbc4943f6
@ -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…
x
Reference in New Issue
Block a user