mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
[discord] do not toggle menu
This commit is contained in:
parent
69d020e16d
commit
c2e3b5bfbf
1 changed files with 3 additions and 1 deletions
|
@ -164,6 +164,7 @@ static void handle_discord_join_request(const DiscordUser* request)
|
||||||
static char url[PATH_MAX_LENGTH];
|
static char url[PATH_MAX_LENGTH];
|
||||||
static char url_encoded[PATH_MAX_LENGTH];
|
static char url_encoded[PATH_MAX_LENGTH];
|
||||||
static char filename[PATH_MAX_LENGTH];
|
static char filename[PATH_MAX_LENGTH];
|
||||||
|
char buf[PATH_MAX_LENGTH];
|
||||||
|
|
||||||
RARCH_LOG("[Discord] join request from %s#%s - %s %s\n",
|
RARCH_LOG("[Discord] join request from %s#%s - %s %s\n",
|
||||||
request->username,
|
request->username,
|
||||||
|
@ -174,9 +175,10 @@ static void handle_discord_join_request(const DiscordUser* request)
|
||||||
discord_download_avatar(request->userId, request->avatar);
|
discord_download_avatar(request->userId, request->avatar);
|
||||||
|
|
||||||
#ifdef HAVE_MENU
|
#ifdef HAVE_MENU
|
||||||
char buf[PATH_MAX_LENGTH];
|
|
||||||
menu_input_ctx_line_t line;
|
menu_input_ctx_line_t line;
|
||||||
|
/* To-Do: needs in-game widgets
|
||||||
rarch_menu_running();
|
rarch_menu_running();
|
||||||
|
*/
|
||||||
|
|
||||||
memset(&line, 0, sizeof(line));
|
memset(&line, 0, sizeof(line));
|
||||||
snprintf(buf, sizeof(buf), "%s %s?", msg_hash_to_str(MSG_DISCORD_CONNECTION_REQUEST), request->username);
|
snprintf(buf, sizeof(buf), "%s %s?", msg_hash_to_str(MSG_DISCORD_CONNECTION_REQUEST), request->username);
|
||||||
|
|
Loading…
Add table
Reference in a new issue