mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Comment out function that isn't used
This commit is contained in:
parent
4a20709645
commit
d9ab59cb4a
@ -2432,8 +2432,8 @@ static bool accessibility_speak_unix(int speed,
|
||||
{
|
||||
int pid;
|
||||
const char *language = get_user_language_iso639_1(true);
|
||||
char* voice_out = (char *)malloc(3+strlen(language));
|
||||
char* speed_out = (char *)malloc(3+3);
|
||||
char* voice_out = (char*)malloc(3+strlen(language));
|
||||
char* speed_out = (char*)malloc(3+3);
|
||||
const char* speeds[10] = {"80", "100", "125", "150", "170", "210", "260", "310", "380", "450"};
|
||||
|
||||
if (speed < 1)
|
||||
@ -2482,7 +2482,7 @@ static bool accessibility_speak_unix(int speed,
|
||||
char* cmd[] = { (char*) "espeak", NULL, NULL, NULL, NULL};
|
||||
cmd[1] = voice_out;
|
||||
cmd[2] = speed_out;
|
||||
cmd[3] = (char *) speak_text;
|
||||
cmd[3] = (char*)speak_text;
|
||||
execvp("espeak", cmd);
|
||||
}
|
||||
return true;
|
||||
|
@ -283,9 +283,9 @@ static void handle_discord_spectate(const char* secret)
|
||||
}
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
#if 0
|
||||
static void handle_discord_join_response(void *ignore, const char *line)
|
||||
{
|
||||
#if 0
|
||||
/* TODO/FIXME: needs in-game widgets */
|
||||
if (strstr(line, "yes"))
|
||||
Discord_Respond(user_id, DISCORD_REPLY_YES);
|
||||
@ -294,9 +294,9 @@ static void handle_discord_join_response(void *ignore, const char *line)
|
||||
menu_input_dialog_end();
|
||||
retroarch_menu_running_finished(false);
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
static void handle_discord_join_request(const DiscordUser* request)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user