mirror of
https://github.com/libretro/RetroArch.git
synced 2025-03-04 16:07:24 +00:00
(OSX) Cleanups
This commit is contained in:
parent
b0548e1329
commit
77a7b39e88
2
cheats.c
2
cheats.c
@ -80,8 +80,6 @@ bool cheat_manager_save(cheat_manager_t *handle, const char *path)
|
||||
for (i = 0; i < handle->size; i++)
|
||||
{
|
||||
char key[64], desc_key[256], code_key[256], enable_key[256];
|
||||
char *tmp = NULL;
|
||||
bool tmp_bool = false;
|
||||
|
||||
snprintf(key, sizeof(key), "cheat%u", i);
|
||||
snprintf(desc_key, sizeof(desc_key), "cheat%u_desc", i);
|
||||
|
@ -312,7 +312,7 @@ static bool video_shader_parse_textures(config_file_t *conf,
|
||||
*
|
||||
* Returns: handle to shader parameter if successful, otherwise NULL.
|
||||
**/
|
||||
static struct video_shader_parameter *video_shader_parse_find_parameter(
|
||||
static struct gfx_shader_parameter *video_shader_parse_find_parameter(
|
||||
struct gfx_shader_parameter *params, unsigned num_params, const char *id)
|
||||
{
|
||||
unsigned i;
|
||||
|
@ -88,7 +88,6 @@ void input_remapping_save_file(const char *path)
|
||||
|
||||
for (i = 0; i < g_settings.input.max_users; i++)
|
||||
{
|
||||
char buf[64];
|
||||
char key_ident[RARCH_FIRST_META_KEY][128];
|
||||
char key_strings[RARCH_FIRST_META_KEY][128] = { "b", "y", "select", "start",
|
||||
"up", "down", "left", "right", "a", "x", "l", "r", "l2", "r2", "l3", "r3"};
|
||||
|
@ -322,8 +322,6 @@ static int action_ok_remap_file(const char *path,
|
||||
static int action_ok_remap_file_load(const char *path,
|
||||
const char *label, unsigned type, size_t idx)
|
||||
{
|
||||
unsigned i, j;
|
||||
config_file_t *conf = NULL;
|
||||
const char *menu_path = NULL;
|
||||
char remap_path[PATH_MAX_LENGTH];
|
||||
if (!driver.menu)
|
||||
|
Loading…
x
Reference in New Issue
Block a user