(menu) Cleanups

This commit is contained in:
twinaphex 2016-09-08 05:43:10 +02:00
parent a8f1d5b115
commit 83194ff235
5 changed files with 21 additions and 15 deletions

View File

@ -161,9 +161,6 @@ int generic_menu_iterate(void *data, void *userdata, enum menu_action action)
{
ret = menu_hash_get_help_enum(cbs->enum_idx,
menu->menu_state.msg, sizeof(menu->menu_state.msg));
#if 0
RARCH_LOG("enum: %s\n", msg_hash_to_str(cbs->enum_idx));
#endif
}
else
{
@ -172,10 +169,6 @@ int generic_menu_iterate(void *data, void *userdata, enum menu_action action)
menu_entries_get_at_offset(selection_buf, selection,
NULL, NULL, &type, NULL, NULL);
#if 0
RARCH_LOG("file_type: %d\n", type);
#endif
switch (type)
{
case FILE_TYPE_FONT:

View File

@ -31,6 +31,10 @@
#include <features/features_cpu.h>
#include <string/stdstring.h>
#ifdef HAVE_CONFIG_H
#include "../config.h"
#endif
#include "menu_driver.h"
#include "menu_input.h"
#include "menu_animation.h"

View File

@ -16,15 +16,21 @@
#include <compat/strl.h>
#include <features/features_cpu.h>
#ifdef HAVE_CONFIG_H
#include "../config.h"
#endif
#ifdef HAVE_CHEEVOS
#include "../cheevos.h"
#endif
#include "menu_display.h"
#include "menu_driver.h"
#include "menu_popup.h"
#include "../retroarch.h"
#include "../configuration.h"
#ifdef HAVE_CHEEVOS
#include "../cheevos.h"
#endif
#include "../input/input_autodetect.h"
#include "../input/input_config.h"

View File

@ -36,6 +36,10 @@
#include <compat/strl.h>
#ifdef HAVE_CONFIG_H
#include "../config.h"
#endif
#include "../frontend/frontend_driver.h"
#include "menu_setting.h"
@ -70,11 +74,6 @@
#include "../tasks/tasks_internal.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_CHEEVOS
static void setting_get_string_representation_cheevos_password(void *data,
char *s, size_t len)

View File

@ -21,6 +21,10 @@
#include <file/file_path.h>
#include <string/stdstring.h>
#ifdef HAVE_CONFIG_H
#include "../config.h"
#endif
#include "menu_driver.h"
#include "menu_shader.h"
#include "../file_path_special.h"