mirror of
https://github.com/libretro/RetroArch
synced 2024-12-26 21:29:08 +00:00
Cleanups
This commit is contained in:
parent
f2ee7c8f0b
commit
941c3b9678
@ -42,7 +42,8 @@ static void disk_control_reset_callback(
|
||||
if (!disk_control)
|
||||
return;
|
||||
|
||||
memset(&disk_control->cb, 0, sizeof(struct retro_disk_control_ext_callback));
|
||||
memset(&disk_control->cb, 0,
|
||||
sizeof(struct retro_disk_control_ext_callback));
|
||||
}
|
||||
|
||||
/* Set v0 disk interface callback functions */
|
||||
|
@ -57,6 +57,7 @@ typedef struct
|
||||
char dat_file_path[PATH_MAX_LENGTH];
|
||||
} scan_settings_t;
|
||||
|
||||
/* TODO/FIXME - static public global variables */
|
||||
/* Static settings object
|
||||
* > Provides easy access to settings parameters
|
||||
* when creating associated menu entries
|
||||
|
@ -111,6 +111,9 @@
|
||||
#define PL_LABEL_SPACER_RGUI " | "
|
||||
#define PL_LABEL_SPACER_MAXLEN 8
|
||||
|
||||
#define BYTES_TO_MB(bytes) ((bytes) / 1024 / 1024)
|
||||
#define BYTES_TO_GB(bytes) (((bytes) / 1024) / 1024 / 1024)
|
||||
|
||||
#ifdef HAVE_NETWORKING
|
||||
#if !defined(HAVE_SOCKET_LEGACY) && (!defined(SWITCH) || defined(SWITCH) && defined(HAVE_LIBNX))
|
||||
#include <net/net_ifinfo.h>
|
||||
@ -381,9 +384,6 @@ static int menu_displaylist_parse_core_info(menu_displaylist_info_t *info)
|
||||
return count;
|
||||
}
|
||||
|
||||
#define BYTES_TO_MB(bytes) ((bytes) / 1024 / 1024)
|
||||
#define BYTES_TO_GB(bytes) (((bytes) / 1024) / 1024 / 1024)
|
||||
|
||||
static unsigned menu_displaylist_parse_system_info(file_list_t *list)
|
||||
{
|
||||
int controller;
|
||||
|
Loading…
Reference in New Issue
Block a user