diff --git a/dynamic.c b/dynamic.c index a378b91867..b03ca6ff32 100644 --- a/dynamic.c +++ b/dynamic.c @@ -716,6 +716,8 @@ bool rarch_environment_cb(unsigned cmd, void *data) } { + char *game_options_path = NULL; + bool ret = false; const struct retro_variable *vars = (const struct retro_variable*)data; char buf[PATH_MAX_LENGTH] = {0}; const char *options_path = settings->core_options_path; @@ -727,8 +729,6 @@ bool rarch_environment_cb(unsigned cmd, void *data) options_path = buf; } - char *game_options_path = NULL; - bool ret = false; if (settings->game_specific_options) ret = rarch_game_specific_options(&game_options_path); diff --git a/netplay.h b/netplay.h index f66a583dfe..426167be38 100644 --- a/netplay.h +++ b/netplay.h @@ -49,7 +49,7 @@ enum netplay_cmd NETPLAY_CMD_CHEATS = 0x0013, /** Sends over cheats enabled on client. */ /* controlling game playback */ NETPLAY_CMD_PAUSE = 0x0030, /**< Pauses the game, takes no args. */ - NETPLAY_CMD_RESUME = 0x0031, /**< Resumes the game, takes no args. */ + NETPLAY_CMD_RESUME = 0x0031 /**< Resumes the game, takes no args. */ }; /* These are the configurations sent by NETPLAY_CMD_CFG. */ @@ -58,7 +58,7 @@ enum netplay_cmd_cfg NETPLAY_CFG_NICK = 0x0001, /**< nickname */ NETPLAY_CFG_SWAP_INPUT = 0x0002, /**< input.netplay_client_swap_input */ NETPLAY_CFG_DELAY_FRAMES = 0x0004, /**< netplay.sync_frames */ - NETPLAY_CFG_PLAYER_SLOT = 0x0008, /**< For more than 2 players. */ + NETPLAY_CFG_PLAYER_SLOT = 0x0008 /**< For more than 2 players. */ }; void input_poll_net(void);