mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +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)
|
||||
{
|
||||
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;
|
||||
playlist_t *current_playlist = playlist_get_cached();
|
||||
|
Loading…
x
Reference in New Issue
Block a user