mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
discord: replace forward slashes with underscores
This commit is contained in:
parent
7755c9ae55
commit
7568d35086
@ -116,7 +116,9 @@ void discord_update(enum discord_presence presence)
|
|||||||
if (core_info)
|
if (core_info)
|
||||||
{
|
{
|
||||||
const char *core_name = core_info->core_name ? core_info->core_name : "core";
|
const char *core_name = core_info->core_name ? core_info->core_name : "core";
|
||||||
const char *system_name = string_replace_substring(string_to_lower((char *)core_name), " ", "_");
|
|
||||||
|
const char *system_name = string_replace_substring(
|
||||||
|
string_replace_substring(string_to_lower((char *)core_name), " ", "_"), "/", "_");
|
||||||
|
|
||||||
char *label = NULL;
|
char *label = NULL;
|
||||||
playlist_t *current_playlist = playlist_get_cached();
|
playlist_t *current_playlist = playlist_get_cached();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user