mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
(Discord) use fill_pathname_application_path
This commit is contained in:
parent
617940fb8d
commit
be3acb902b
@ -488,7 +488,7 @@ void discord_init(const char *discord_app_id)
|
||||
Discord_Initialize(discord_app_id, &handlers, 0, NULL);
|
||||
|
||||
#ifdef _WIN32
|
||||
GetModuleFileNameA(NULL, full_path, sizeof(full_path));
|
||||
fill_pathname_application_path(full_path, sizeof(full_path));
|
||||
if (strstr(get_retroarch_launch_arguments(), full_path))
|
||||
strlcpy(command, get_retroarch_launch_arguments(), sizeof(command));
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user