mirror of
https://github.com/libretro/RetroArch.git
synced 2025-01-19 15:28:25 +00:00
C89_BUILD fixes
This commit is contained in:
parent
476f390f55
commit
321dfe1daa
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user