C89_BUILD fixes

This commit is contained in:
twinaphex 2015-11-19 12:30:00 +01:00
parent 476f390f55
commit 321dfe1daa
2 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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);