mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
Fix crash that can occur with Discord netplay
This commit is contained in:
parent
3f1a516696
commit
b998bda5a1
@ -353,7 +353,9 @@ void discord_update(enum discord_presence presence)
|
||||
{
|
||||
playlist_get_index_by_path(
|
||||
current_playlist, path_get(RARCH_PATH_CONTENT), &entry);
|
||||
label = entry->label;
|
||||
|
||||
if (entry && !string_is_empty(entry->label))
|
||||
label = entry->label;
|
||||
}
|
||||
|
||||
if (!label)
|
||||
|
Loading…
Reference in New Issue
Block a user