From 0405cf40d09de1098c50115175bb2773208061ad Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 12 Aug 2019 17:09:26 +0200 Subject: [PATCH] Cleanups --- retroarch.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/retroarch.c b/retroarch.c index e39da3183a..ec2d8abc43 100644 --- a/retroarch.c +++ b/retroarch.c @@ -4079,7 +4079,9 @@ TODO: Add a setting for these tweaks */ } break; case CMD_EVENT_SEND_DEBUG_INFO: +#ifdef HAVE_NETWORKING rarch_send_debug_info(); +#endif break; case CMD_EVENT_FPS_TOGGLE: { @@ -24754,11 +24756,9 @@ static void send_debug_info_cb(retro_task_t *task, NULL, MESSAGE_QUEUE_ICON_DEFAULT, MESSAGE_QUEUE_CATEGORY_ERROR); } } -#endif static void rarch_send_debug_info(void) { -#ifdef HAVE_NETWORKING char debug_filepath[PATH_MAX_LENGTH]; const char *url = "http://lobby.libretro.com/debuginfo/add/"; char *info_buf = NULL; @@ -24812,8 +24812,8 @@ finish: free(param_buf); if (info_buf) free(info_buf); -#endif } +#endif void rarch_log_file_init(void) {