mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-23 06:15:38 +00:00
System: Fix crash when launching exe/psf
This commit is contained in:
parent
a9c026f06a
commit
dec2d48bfe
|
@ -1963,7 +1963,7 @@ void UpdateRunningGame(const char* path, CDImage* image)
|
|||
s_running_game_path = path;
|
||||
g_host_interface->GetGameInfo(path, image, &s_running_game_code, &s_running_game_title);
|
||||
|
||||
if (image->HasSubImages() && g_settings.memory_card_use_playlist_title)
|
||||
if (image && image->HasSubImages() && g_settings.memory_card_use_playlist_title)
|
||||
{
|
||||
std::string image_title(image->GetMetadata("title"));
|
||||
if (!image_title.empty())
|
||||
|
|
Loading…
Reference in a new issue