mirror of
https://github.com/libretro/RetroArch
synced 2025-02-02 14:54:10 +00:00
Cleanup headers
This commit is contained in:
parent
d4eefc020f
commit
e1c1917ed5
@ -1219,6 +1219,7 @@ bool event_command(enum event_command cmd)
|
|||||||
global->rewind.state = NULL;
|
global->rewind.state = NULL;
|
||||||
break;
|
break;
|
||||||
case EVENT_CMD_REWIND_INIT:
|
case EVENT_CMD_REWIND_INIT:
|
||||||
|
if (!driver->netplay_data)
|
||||||
init_rewind();
|
init_rewind();
|
||||||
break;
|
break;
|
||||||
case EVENT_CMD_REWIND_TOGGLE:
|
case EVENT_CMD_REWIND_TOGGLE:
|
||||||
|
@ -25,7 +25,6 @@
|
|||||||
#include "input/input_common.h"
|
#include "input/input_common.h"
|
||||||
#include "input/input_keymaps.h"
|
#include "input/input_keymaps.h"
|
||||||
#include "input/input_remapping.h"
|
#include "input/input_remapping.h"
|
||||||
#include "configuration.h"
|
|
||||||
#include "general.h"
|
#include "general.h"
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
|
|
||||||
|
@ -16,10 +16,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <file/file_path.h>
|
#include <file/file_path.h>
|
||||||
#include "file_ext.h"
|
|
||||||
#include <file/file_extract.h>
|
#include <file/file_extract.h>
|
||||||
|
|
||||||
#include "core_info.h"
|
|
||||||
#include "general.h"
|
#include "general.h"
|
||||||
#include "dir_list_special.h"
|
#include "dir_list_special.h"
|
||||||
#include "config.def.h"
|
#include "config.def.h"
|
||||||
|
@ -14,14 +14,16 @@
|
|||||||
* If not, see <http://www.gnu.org/licenses/>.
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "core_options.h"
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <file/config_file.h>
|
#include <file/config_file.h>
|
||||||
#include <file/dir_list.h>
|
#include <file/dir_list.h>
|
||||||
#include <compat/posix_string.h>
|
#include <compat/posix_string.h>
|
||||||
#include <compat/strl.h>
|
#include <compat/strl.h>
|
||||||
#include <retro_miscellaneous.h>
|
#include <retro_miscellaneous.h>
|
||||||
|
|
||||||
|
#include "core_options.h"
|
||||||
|
|
||||||
struct core_option
|
struct core_option
|
||||||
{
|
{
|
||||||
char *desc;
|
char *desc;
|
||||||
|
@ -15,23 +15,19 @@
|
|||||||
* If not, see <http://www.gnu.org/licenses/>.
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
#include <file/file_extract.h>
|
#include <file/file_extract.h>
|
||||||
|
|
||||||
#include "file_ext.h"
|
|
||||||
#include "dir_list_special.h"
|
#include "dir_list_special.h"
|
||||||
|
|
||||||
#include "database_info.h"
|
#include "database_info.h"
|
||||||
#include "file_ops.h"
|
|
||||||
#include "msg_hash.h"
|
#include "msg_hash.h"
|
||||||
#include "general.h"
|
#include "general.h"
|
||||||
#include "runloop.h"
|
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdint.h>
|
|
||||||
|
|
||||||
#define DB_QUERY_ENTRY 0x1c310956U
|
#define DB_QUERY_ENTRY 0x1c310956U
|
||||||
#define DB_QUERY_ENTRY_PUBLISHER 0x125e594dU
|
#define DB_QUERY_ENTRY_PUBLISHER 0x125e594dU
|
||||||
#define DB_QUERY_ENTRY_DEVELOPER 0xcbd89be5U
|
#define DB_QUERY_ENTRY_DEVELOPER 0xcbd89be5U
|
||||||
|
1
driver.c
1
driver.c
@ -16,7 +16,6 @@
|
|||||||
|
|
||||||
#include <compat/posix_string.h>
|
#include <compat/posix_string.h>
|
||||||
|
|
||||||
#include "driver.h"
|
|
||||||
#include "general.h"
|
#include "general.h"
|
||||||
#include "msg_hash.h"
|
#include "msg_hash.h"
|
||||||
#include "gfx/video_monitor.h"
|
#include "gfx/video_monitor.h"
|
||||||
|
@ -25,18 +25,13 @@
|
|||||||
#include <retro_log.h>
|
#include <retro_log.h>
|
||||||
#include <boolean.h>
|
#include <boolean.h>
|
||||||
|
|
||||||
#include "libretro_version_1.h"
|
|
||||||
#include "libretro.h"
|
#include "libretro.h"
|
||||||
#include "dynamic.h"
|
|
||||||
#include "general.h"
|
#include "general.h"
|
||||||
#include "runloop.h"
|
#include "runloop.h"
|
||||||
#include "runloop_data.h"
|
#include "runloop_data.h"
|
||||||
#include "retroarch.h"
|
#include "retroarch.h"
|
||||||
#include "performance.h"
|
#include "performance.h"
|
||||||
#include "input/keyboard_line.h"
|
|
||||||
#include "input/input_remapping.h"
|
#include "input/input_remapping.h"
|
||||||
#include "audio/audio_driver.h"
|
|
||||||
#include "audio/audio_utils.h"
|
|
||||||
#include "record/record_driver.h"
|
#include "record/record_driver.h"
|
||||||
#include "gfx/video_pixel_converter.h"
|
#include "gfx/video_pixel_converter.h"
|
||||||
|
|
||||||
|
@ -39,10 +39,8 @@
|
|||||||
#include "msg_hash.h"
|
#include "msg_hash.h"
|
||||||
|
|
||||||
#include "libretro_version_1.h"
|
#include "libretro_version_1.h"
|
||||||
#include "dynamic.h"
|
|
||||||
#include "configuration.h"
|
#include "configuration.h"
|
||||||
#include "general.h"
|
#include "general.h"
|
||||||
#include "retroarch.h"
|
|
||||||
#include "runloop_data.h"
|
#include "runloop_data.h"
|
||||||
#include "performance.h"
|
#include "performance.h"
|
||||||
#include "cheats.h"
|
#include "cheats.h"
|
||||||
@ -53,10 +51,6 @@
|
|||||||
#ifdef HAVE_MENU
|
#ifdef HAVE_MENU
|
||||||
#include "menu/menu.h"
|
#include "menu/menu.h"
|
||||||
#include "menu/menu_hash.h"
|
#include "menu/menu_hash.h"
|
||||||
#include "menu/menu_entries.h"
|
|
||||||
#include "menu/menu_setting.h"
|
|
||||||
#include "menu/menu_shader.h"
|
|
||||||
#include "menu/menu_input.h"
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
char orig_savestate_dir[PATH_MAX_LENGTH];
|
char orig_savestate_dir[PATH_MAX_LENGTH];
|
||||||
|
9
rewind.c
9
rewind.c
@ -21,7 +21,6 @@
|
|||||||
|
|
||||||
#include <retro_inline.h>
|
#include <retro_inline.h>
|
||||||
|
|
||||||
#include "dynamic.h"
|
|
||||||
#include "general.h"
|
#include "general.h"
|
||||||
#include "msg_hash.h"
|
#include "msg_hash.h"
|
||||||
#include "rewind.h"
|
#include "rewind.h"
|
||||||
@ -554,17 +553,9 @@ void state_manager_capacity(state_manager_t *state,
|
|||||||
void init_rewind(void)
|
void init_rewind(void)
|
||||||
{
|
{
|
||||||
void *state = NULL;
|
void *state = NULL;
|
||||||
driver_t *driver = driver_get_ptr();
|
|
||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
global_t *global = global_get_ptr();
|
global_t *global = global_get_ptr();
|
||||||
|
|
||||||
(void)driver;
|
|
||||||
|
|
||||||
#ifdef HAVE_NETPLAY
|
|
||||||
if (driver->netplay_data)
|
|
||||||
return;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (!settings->rewind_enable || global->rewind.state)
|
if (!settings->rewind_enable || global->rewind.state)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
#include <compat/strl.h>
|
#include <compat/strl.h>
|
||||||
|
|
||||||
#include "configuration.h"
|
#include "configuration.h"
|
||||||
#include "dynamic.h"
|
|
||||||
#include "performance.h"
|
#include "performance.h"
|
||||||
#include "retroarch.h"
|
#include "retroarch.h"
|
||||||
#include "runloop.h"
|
#include "runloop.h"
|
||||||
@ -36,7 +35,6 @@
|
|||||||
|
|
||||||
#ifdef HAVE_MENU
|
#ifdef HAVE_MENU
|
||||||
#include "menu/menu.h"
|
#include "menu/menu.h"
|
||||||
#include "menu/menu_input.h"
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_NETPLAY
|
#ifdef HAVE_NETPLAY
|
||||||
|
@ -21,14 +21,11 @@
|
|||||||
|
|
||||||
#include "general.h"
|
#include "general.h"
|
||||||
|
|
||||||
#include "runloop_data.h"
|
|
||||||
#include "tasks/tasks.h"
|
#include "tasks/tasks.h"
|
||||||
#include "input/input_overlay.h"
|
#include "input/input_overlay.h"
|
||||||
|
|
||||||
#ifdef HAVE_MENU
|
#ifdef HAVE_MENU
|
||||||
#include "menu/menu.h"
|
#include "menu/menu.h"
|
||||||
#include "menu/menu_entries.h"
|
|
||||||
#include "menu/menu_input.h"
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
enum
|
enum
|
||||||
|
Loading…
x
Reference in New Issue
Block a user