menu_common.c - cleanups
This commit is contained in:
parent
7a40fa29f0
commit
42e1101957
|
@ -144,9 +144,7 @@ static void load_menu_content_prepare(void)
|
||||||
|
|
||||||
void load_menu_content_history(unsigned game_index)
|
void load_menu_content_history(unsigned game_index)
|
||||||
{
|
{
|
||||||
const char *path = NULL;
|
const char *path, *core_path, *core_name = NULL;
|
||||||
const char *core_path = NULL;
|
|
||||||
const char *core_name = NULL;
|
|
||||||
|
|
||||||
if (!driver.menu)
|
if (!driver.menu)
|
||||||
return;
|
return;
|
||||||
|
@ -519,8 +517,7 @@ bool menu_replace_config(const char *path)
|
||||||
bool menu_save_new_config(void)
|
bool menu_save_new_config(void)
|
||||||
{
|
{
|
||||||
char config_dir[PATH_MAX], config_name[PATH_MAX], config_path[PATH_MAX], msg[512];
|
char config_dir[PATH_MAX], config_name[PATH_MAX], config_path[PATH_MAX], msg[512];
|
||||||
bool ret = false;
|
bool ret, found_path = false;
|
||||||
bool found_path = false;
|
|
||||||
|
|
||||||
*config_dir = '\0';
|
*config_dir = '\0';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue