Commit Graph

1136 Commits

Author SHA1 Message Date
twinaphex 3b38e2fe4c Move this above init_libretro_sym 2016-01-27 19:30:13 +01:00
twinaphex 1e044f38ad Move RARCH_CTL_INIT_SYSTEM_AV_INFO to libretro_version_1.c 2016-01-27 08:21:41 +01:00
twinaphex 6a7b2aed5c Simplifications 2016-01-27 08:17:12 +01:00
twinaphex 392fee9023 Create CORE_CTL_VERIFY_API_VERSION 2016-01-27 08:13:54 +01:00
twinaphex 76f068f852 Simplify RARCH_CTL_VERIFY_API_VERSION 2016-01-27 08:11:42 +01:00
twinaphex 5016ebd344 Create CORE_CTL_RETRO_GET_SYSTEM_AV_INFO 2016-01-27 03:40:02 +01:00
twinaphex 317dda00ea Respect 80-char width limit 2016-01-26 05:38:40 +01:00
twinaphex 390b209cba Cleanups 2016-01-26 02:31:10 +01:00
twinaphex 2a9b2d7759 Cut down on duplicated code surrounding game options files 2016-01-26 02:24:59 +01:00
twinaphex fd94cbdefe Move rarch_main_init_wrap to frontend.c and turn it into
a static function
2016-01-25 05:45:37 +01:00
twinaphex 854937483d Move rarch_playlist_load_content to menu_content.c 2016-01-25 05:43:27 +01:00
twinaphex 4630d625f1 Move rarch_defer_core to menu_content.c and rename it
menu_content_defer_core
2016-01-25 05:38:22 +01:00
twinaphex 4381370f35 menu_content_load - cleanup 2016-01-25 05:31:21 +01:00
twinaphex 22bf74ff37 Start moving code to menu_content.c 2016-01-25 04:44:54 +01:00
twinaphex 78395c449b rarch_defer_core: cleanups 2016-01-25 03:52:41 +01:00
twinaphex 11f7735965 Create RARCH_CTL_INIT_SYSTEM_AV_INFO 2016-01-22 15:43:40 +01:00
twinaphex 372d673a26 Rename event_command to event_cmd_ctl - add second parameter 2016-01-22 15:34:43 +01:00
twinaphex 454abdee48 stdstring - create string_is_equal 2016-01-20 04:07:24 +01:00
twinaphex da2ce48fb2 Silence warning 2016-01-20 03:44:01 +01:00
twinaphex 6c5b2ff0b5 Turn corrent_core_type into static variable 2016-01-20 03:15:50 +01:00
twinaphex 3190d8aba2 Create RARCH_CTL_IS_PLAIN_CORE 2016-01-20 03:10:52 +01:00
twinaphex 1eac61e9a0 Create RARCH_CTL_IS_DUMMY_CORE 2016-01-19 23:44:32 +01:00
twinaphex 01d58f8681 Create RARCH_CTL_IS_INITED, RARCH_CTL_SET_INITED, RARCH_CTL_UNSET_INITED 2016-01-19 23:26:47 +01:00
twinaphex 5643b7d3d8 Add CONTENT_CTL_DOES_NOT_NEED_CONTENT and CONTENT_CTL_SET_DOES_NOT_NEED_CONTENT 2016-01-19 23:15:19 +01:00
twinaphex 7a55ae3765 Start updating headers for 2016 2016-01-10 04:06:50 +01:00
twinaphex 08e73ea144 Non_HAVE_MEN codepath fixes - courtesy of Karlton
t # Please enter the commit message for your changes. Lines starting
2016-01-02 02:54:20 +01:00
twinaphex a93cda3aef Move current_savestate_dir to set_paths_redirect as local variable 2015-12-26 09:56:53 +01:00
twinaphex 91f61afa16 Start using string_is_empty 2015-12-26 07:07:01 +01:00
ctult cebb95b0e3 a bit of static analysis
possible memory leaks and null pointer dereferences
2015-12-24 23:04:15 -07:00
twinaphex ab9c52e03e Remove unused local variables 2015-12-11 13:29:15 +01:00
twinaphex 65eeb3d836 Don't touch global->core_info.current from outside runloop.c 2015-12-11 13:24:14 +01:00
twinaphex 0a01eab115 Create RARCH_DRIVER_CTL_INIT_PRE 2015-12-11 10:52:15 +01:00
twinaphex fc6505e408 Get rid of rarch_system_info_get_ptr 2015-12-10 22:30:25 +01:00
twinaphex 10f934dc70 Move overrides_active variable to runloop_ctl 2015-12-10 21:43:44 +01:00
twinaphex 39499eb107 Silence 'cannot be reached' warnings 2015-12-08 19:54:36 +01:00
twinaphex 2daf9832a9 Create new function types 2015-12-07 15:54:06 +01:00
twinaphex 2d55dc3bda Complete namespace changes 2015-12-07 15:32:14 +01:00
twinaphex 8ab15e7ef8 Create RARCH_CTL_DESTROY 2015-12-07 15:03:54 +01:00
twinaphex cad237231e Create RARCH_CTL_PREINIT 2015-12-07 15:01:53 +01:00
twinaphex c62f6ed26d Create RARCH_CTL_DEINIT and RARCH_CTL_INIT 2015-12-07 14:59:09 +01:00
twinaphex 52774b0dee Add RARCH_CTL_SET_PATHS_REDIRECT 2015-12-07 14:30:36 +01:00
twinaphex fd7e4db9aa Combine system.c and runloop.c 2015-12-07 13:56:33 +01:00
Twinaphex 6107d56834 retroarch.h - don't include core_info.h 2015-12-07 08:56:11 +01:00
twinaphex 1cfb39a9d1 merge menu.c and menu_driver.c 2015-12-06 17:55:27 +01:00
twinaphex 8e8f69bb69 Refactor away menu_driver_toggle 2015-12-06 17:41:00 +01:00
twinaphex ffa4c58f1a move setjmp.h to retroarch.c 2015-12-05 21:31:46 +01:00
twinaphex 90ad89cdf1 Header cleanups 2015-12-05 17:19:37 +01:00
twinaphex 18ab12ab83 Take header include record_driver.h out of driver.h 2015-12-05 16:12:29 +01:00
twinaphex ddff980161 Remove unused variables 2015-12-05 09:14:55 +01:00
twinaphex f72b69e8d1 Don't include frontend_driver.h as part of driver.h 2015-12-05 09:09:31 +01:00
twinaphex f38cdd1a64 Create frontend_driver_content_loaded 2015-12-05 07:53:02 +01:00
twinaphex c0a1a6a3fe Move system->shutdown to runloop_ctl, turn it into a local
static variable
2015-12-04 12:44:12 +01:00
twinaphex b9bb4498d8 Backports/rewrites wmarquesr - pt. 6 2015-12-04 10:58:18 +01:00
twinaphex cc1f0e6ab4 Reimplement EVENT_CMD_SET_FRAME_LIMIT and make frame_limit_minimum_time
and frame_limit_last_time static local variables of rarch_main_iterate
2015-12-04 09:54:12 +01:00
twinaphex 251bca7166 Nit 2015-12-04 09:07:21 +01:00
twinaphex b1b3831739 Move error_on_init to rarch_ctl and make it a static local variable 2015-12-04 09:06:47 +01:00
twinaphex 38d6cec9fd Turn g_config into static local variable 2015-12-04 09:02:30 +01:00
twinaphex 4561337183 (retroarch.c) Turn some static variables into static local variables 2015-12-04 03:20:33 +01:00
twinaphex f1a0068dc7 Move bsv global state to movie.c 2015-12-01 01:47:26 +01:00
twinaphex 251075fc03 global->bsv.movie not accessed outside now 2015-12-01 01:38:45 +01:00
twinaphex ca48d12858 Get rid of global->bsv references 2015-12-01 01:29:16 +01:00
twinaphex 09a3537d44 Get rid of more global->bsv.movie references 2015-12-01 01:25:36 +01:00
twinaphex ca52a19b1d Cleanups 2015-11-30 23:35:04 +01:00
twinaphex 952ecf22cd (runloop.c) Turn some functions static 2015-11-30 23:29:46 +01:00
twinaphex 6b92167050 Move block_config_read to retroarch.c 2015-11-30 22:09:28 +01:00
twinaphex 6c4557817d Move force_fullscreen to retroarch.c 2015-11-30 22:02:54 +01:00
twinaphex 9824eb7ea9 Rename rarch_main_ctl to runloop_ctl 2015-11-30 21:42:59 +01:00
twinaphex 4e333302ae Rename RARCH_MAIN_CTL* to RUNLOOP_CTL* 2015-11-30 21:35:50 +01:00
twinaphex ca71e1a5bb Rename RARCH_ACTION_STATE_ to RARCH_CTL_ 2015-11-30 21:28:55 +01:00
twinaphex c76272ad8d Move more state out of global 2015-11-30 19:30:05 +01:00
twinaphex 4e0a4150b5 Merge runloop and runloop_data.c 2015-11-30 15:35:57 +01:00
twinaphex cf53090204 De-globalize current_save_{file|state}_dir variables 2015-11-30 04:10:15 +01:00
twinaphex b62738465c Move video_active to gfx/video_driver.c 2015-11-29 21:38:47 +01:00
twinaphex 12e301825b Move audio_active to audio_driver.c 2015-11-29 21:34:45 +01:00
twinaphex 2d04a8063f Move retro_fail to retroarch.c 2015-11-29 02:27:48 +01:00
twinaphex fa0e2032c6 Move EVENT_CMD_PREPARE_DUMMY to rarch_main_ctl 2015-11-29 00:29:41 +01:00
twinaphex bd6b79fdee command_event should only be used for events that the user can call,
so start moving things that the user shouldn't call to rarch_main_ctl
instead
2015-11-29 00:15:51 +01:00
twinaphex b2421b5942 Merge retroarch and retroarch_info 2015-11-28 20:11:55 +01:00
radius 1296768d47 add stub driver for network gamepad 2015-11-27 18:08:39 -05:00
Higor Eurípedes 6257d178ee (retroarch) Move task subsystem initialization to rarch_main_init() 2015-11-24 16:45:28 -03:00
Higor Eurípedes f04e4ae57c Fix segfault on exit after downloading files 2015-11-23 18:56:59 -03:00
twinaphex a9cb970d0d Move log_file code to verbosity.c 2015-11-23 15:45:02 +01:00
twinaphex 074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
twinaphex d65a445acd Fix concurrency issue with global->verbose 2015-11-22 20:50:39 +01:00
twinaphex 0f33722f5d Refactor Wii per-game resolution mode to be somewhat generic 2015-11-21 08:56:24 +01:00
twinaphex 9ea40f5e32 Add RARCH_DISPLAY_CTL_SET_ASPECT_RATIO 2015-11-20 18:45:00 +01:00
twinaphex 5069d71295 Cleanups 2015-11-20 18:41:25 +01:00
twinaphex a4ae655ff4 Start going through rarch_main_ctl for grabbing fullpath 2015-11-18 11:43:25 +01:00
twinaphex 2b727fa941 Add RARCH_MAIN_CTL_SET_LIBRETRO_PATH/RARCH_MAIN_CTL_SET_CONTENT_PATH 2015-11-18 11:15:42 +01:00
twinaphex a3a5a82d47 (GL) doesn't access global state anymore 2015-11-18 03:08:19 +01:00
twinaphex 2647459962 Move some variables around 2015-11-10 00:40:23 +01:00
twinaphex 3dfdc4ba8f rarch_playlist_load_content - check if path is non-NULL 2015-11-10 00:37:05 +01:00
twinaphex da1931ad9f First working implementation of playlist associations 2015-10-31 17:44:42 +01:00
twinaphex 0c691dab06 Fix rarch_playlist_load_content 2015-10-31 17:18:37 +01:00
twinaphex 1ddd33336a 1) rarch_playlist_load_content - add argument
2) GLUI - handle libretro_pause being false better - hide
background and make white background look better
2015-10-31 17:06:08 +01:00
twinaphex eb33e83eff Some more non-HAVE_MENU buildfixes 2015-10-28 08:02:39 +01:00
twinaphex df01279cf3 Add non-HAVE_MENU ifdefs 2015-10-28 00:55:11 +01:00
twinaphex 02a43c6b2a Change 'rarch' to 'retro' namespace in libretro-common 2015-10-26 03:18:13 +01:00
twinaphex 4b41ea60a0 Fix CXX_BUILD 2015-10-25 20:40:47 +01:00
fr500 30c4436aa9 this code is not always reached, so let's instead initialize the variable before checking if sorting is enabled 2015-10-22 13:37:33 -05:00