mirror of
https://github.com/libretro/RetroArch
synced 2024-12-28 09:29:16 +00:00
Style nits
This commit is contained in:
parent
482740b5fa
commit
d764c51eae
6
remote.c
6
remote.c
@ -65,7 +65,8 @@ static input_remote_state_t *input_remote_get_state_ptr(void)
|
||||
}
|
||||
|
||||
#if defined(HAVE_NETWORK_GAMEPAD) && defined(HAVE_NETPLAY)
|
||||
static bool remote_init_network(rarch_remote_t *handle, uint16_t port, unsigned user)
|
||||
static bool remote_init_network(rarch_remote_t *handle,
|
||||
uint16_t port, unsigned user)
|
||||
{
|
||||
struct addrinfo hints = {0};
|
||||
char port_buf[16] = {0};
|
||||
@ -125,7 +126,8 @@ rarch_remote_t *rarch_remote_new(uint16_t port)
|
||||
#if defined(HAVE_NETWORK_GAMEPAD) && defined(HAVE_NETPLAY)
|
||||
settings_t *settings = config_get_ptr();
|
||||
#endif
|
||||
rarch_remote_t *handle = (rarch_remote_t*)calloc(1, sizeof(*handle));
|
||||
rarch_remote_t *handle = (rarch_remote_t*)
|
||||
calloc(1, sizeof(*handle));
|
||||
|
||||
if (!handle)
|
||||
return NULL;
|
||||
|
@ -381,8 +381,6 @@ static void set_special_paths(char **argv, unsigned num_content)
|
||||
return;
|
||||
|
||||
RARCH_WARN("SYSTEM DIR is empty, assume CONTENT DIR %s\n",argv[0]);
|
||||
/*fill_pathname_basedir(settings->system_directory, argv[0],
|
||||
sizeof(settings->system_directory));*/
|
||||
}
|
||||
|
||||
const char *rarch_get_current_savefile_dir(void)
|
||||
|
Loading…
Reference in New Issue
Block a user