Commit Graph

374 Commits

Author SHA1 Message Date
twinaphex 76b3079bc8 Revert "Add some more private libretro environs"
This reverts commit f4fc179cae.
2015-12-07 14:26:21 +01:00
twinaphex f4fc179cae Add some more private libretro environs 2015-12-07 14:24:28 +01:00
twinaphex cd8f34e0f8 Move more code to runloop.c 2015-12-07 14:16:34 +01:00
twinaphex 098d983587 Move more core option functionality to runloop.c 2015-12-07 14:13:07 +01:00
twinaphex fd7e4db9aa Combine system.c and runloop.c 2015-12-07 13:56:33 +01:00
Twinaphex 126c9c1bde retroarch.h - don't include command_event.h 2015-12-07 08:57:56 +01:00
twinaphex c6359d6dbc Divorce g_system_menu from global state 2015-12-06 19:31:47 +01:00
twinaphex 39e9d5c5ba Start cutting down on the size of some char local variables - we
don't need PATH_MAX_LENGTH for everything
2015-12-06 13:28:20 +01:00
twinaphex c79c205a0d Header include cleanup 2015-12-05 20:26:37 +01:00
twinaphex 18ab12ab83 Take header include record_driver.h out of driver.h 2015-12-05 16:12:29 +01:00
twinaphex 7e5d1f3117 Only rcord_driver.c references driver->recording now 2015-12-05 16:05:35 +01:00
twinaphex 271975954f move camera_driver.h header incldue out of driver.h 2015-12-05 15:55:26 +01:00
twinaphex 19a7ee6486 Move header include for location/location_driver.h out of
driver.h
2015-12-05 15:47:33 +01:00
twinaphex ade194b1cc Create location_driver_ctl 2015-12-05 15:40:29 +01:00
twinaphex a766d1c1c1 Create camera_driver_ctl 2015-12-05 14:40:04 +01:00
twinaphex 26cd1a3702 Create frontend_driver_set_fork 2015-12-05 07:57:45 +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 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 b0c36c18dd Move global->exec to runloop.c as static variable 2015-11-30 15:46:39 +01:00
twinaphex 86de67b3d7 Move core_shutdown_initiated to runloop.c and turn it into
static variable
2015-11-30 15:43:49 +01:00
twinaphex cf53090204 De-globalize current_save_{file|state}_dir variables 2015-11-30 04:10:15 +01:00
twinaphex d410b0b734 Header include cleanups 2015-11-30 03:30:04 +01:00
twinaphex ed71129ee6 Create RARCH_INPUT_CTL_HAS_CAPABILITIES 2015-11-28 17:54:50 +01:00
twinaphex 08ae9df639 Merge input_sensor.c with input_driver.c 2015-11-25 03:29:18 +01:00
twinaphex e0f0590269 Rearrange header includes 2015-11-23 19:40:09 +01:00
twinaphex 074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
twinaphex dbf8d25e3e rarch_game_specific_options - use strdup, free outside of
function
2015-11-20 17:03:36 +01:00
Alcaro 8f52b2f0f8 Clean up this one a little. 2015-11-20 16:33:44 +01:00
Alcaro 888ba881ec No need to free a known null... 2015-11-20 16:33:21 +01:00
Alcaro 4b96b5814f Fix some weirdness down here. 2015-11-20 16:30:55 +01:00
twinaphex 321dfe1daa C89_BUILD fixes 2015-11-19 12:30:00 +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 c2d85238c2 rarch_game_specific_options - check NULL pointer derefences 2015-11-17 23:56:20 +01:00
radius 7f4dcfaa36 early return in case no core or game loaded 2015-11-17 17:29:33 -05:00
radius 5e5133087a Fix memory leak 2015-11-15 22:17:43 -05:00
radius 02f43ba0a1 use the setting instead of always trying to use per-game options 2015-11-15 22:07:51 -05:00
radius cca82ff32c use per-game core options if available 2015-11-15 22:06:03 -05:00
twinaphex 02a43c6b2a Change 'rarch' to 'retro' namespace in libretro-common 2015-10-26 03:18:13 +01:00
radius bece39d2a7 make it work for cores that don't use the save interface too 2015-10-19 19:55:42 -05:00
Andre Leiradella 5fce3f4138 grouped core functions inside a retro_core_t structure; swapped core function globals by one retro_core_t variable 2015-10-06 14:34:09 -03:00
twinaphex a79b571d7b Static code analysis fixes 2015-09-28 16:20:26 +02:00
twinaphex 9679804382 Rename rarch_main_set_state to rarch_ctl 2015-09-27 01:58:24 +02:00
twinaphex 2b840c0384 Refactor perf counters 2015-09-20 10:02:59 +02:00
twinaphex 5f5efc03a7 Cleanups 2015-09-15 05:22:57 +02:00
twinaphex ac62637c48 Add workaround for fullpath propagation when doing setfork on
console platforms
2015-09-09 01:58:45 +02:00
twinaphex 728d841047 Cleanups 2015-09-05 19:51:55 +02:00
twinaphex 43632b95ff More warning cleanups 2015-09-05 14:34:33 +02:00
twinaphex c4316b791c Avoid some warnings - array subscript has type char 2015-09-05 14:31:29 +02:00
Twinaphex 180cddfc35 Remove unused variable 2015-08-21 04:18:40 +02:00
twinaphex c7c61b79e3 Add dylib_error 2015-08-20 06:21:53 +02:00
radius 52d9d46f2f populate system dir correctly when content dir when it's empty 2015-08-19 19:21:09 -05:00
twinaphex 9fd17a196f Buildfixes 2015-08-20 00:49:44 +02:00
twinaphex bfb7ee30c5 (dynamic.c) Fix logic error 2015-08-20 00:43:25 +02:00
radius 9b8daf02ff fix messages 2015-07-31 22:37:03 -05:00
twinaphex a70f09a90d Rearrange structs 2015-07-27 17:18:10 +02:00
radius 4b234a4ed9 clean-up System/BIOS in content dir, should now just use the basename instead of actually overwriting the setting 2015-07-26 16:23:41 -05:00
radius b717828cf0 fix setting and clearing system directory when using content dir 2015-07-16 01:46:11 -05:00
Higor Eurípedes 9ab86c64ba (dynamic) Set retro function pointers to NULL on uninit 2015-07-05 16:32:30 -03:00
twinaphex 48c25d52a9 (dynamic.c) Update 2015-07-02 14:04:15 +02:00
twinaphex 96c119bb1d Move retroarch_logger.h to libretro-common/include 2015-06-30 00:38:10 +02:00
twinaphex 84c18a353d Create HAVE_IMAGEVIEWER ifdef 2015-06-28 18:55:00 +02:00
twinaphex 8882f762c4 Start hooking up imageviewer, pt. 1 2015-06-28 17:02:01 +02:00
Alcaro febcbc5ce4 C89 cleanups part 2 2015-06-26 17:48:43 +02:00
twinaphex 7bf6d1e5bb (dynamic.c) cleanups 2015-06-25 14:13:51 +02:00
twinaphex c8eca5b06a Create rarch_system_info_free 2015-06-25 13:57:24 +02:00
twinaphex 732d2db40e Divorce system info from global runloop state entirely 2015-06-25 13:50:52 +02:00
twinaphex fa8bbabce7 (dynamic.c) Use rarch_system_info_get_ptr 2015-06-25 12:57:54 +02:00
twinaphex 70af1c149b Prevent unused variable warning 2015-06-22 08:02:03 +02:00
twinaphex d3f0954418 Start preparing internal ffmpeg core mechanisms 2015-06-21 00:03:27 +02:00
twinaphex 6f1bc69fc7 Refactor libretro_dummy mechanics 2015-06-20 23:42:30 +02:00
twinaphex 9b267e9802 (Cores) Move test cores to cores/, move dynamic_dummy to cores/ 2015-06-20 23:14:09 +02:00
twinaphex c36e21ed13 (General) Cleanup 2015-06-12 17:00:37 +02:00
twinaphex e67f3f246d Rearrange header include dependencies 2015-06-02 17:17:46 +02:00
twinaphex d2b76a7d13 Move pix_fmt to video_state 2015-05-20 20:59:12 +02:00
twinaphex a81baed9e2 Move hw_render_callbakc to video driver state and take it out
of global state
2015-05-20 19:56:12 +02:00
twinaphex a053b41223 Create video_viewport_get_system_av_info and video_viewport_get_custom -
move custom viewport and system av info outside of global state
2015-05-20 18:57:17 +02:00
twinaphex 398570f017 Move audio callback to audio_driver.c 2015-05-19 21:35:40 +02:00
twinaphex 0818b178f9 Rename rarch_main_command to event_command 2015-04-13 11:26:02 +02:00
Twinaphex de2eb5f972 Rename RARCH_CMD_* to EVENT_CMD_* 2015-04-13 10:29:15 +02:00
twinaphex 812a873f0c Create dylib.c - split up dylib functions 2015-04-08 07:57:16 +02:00
radius 599d09c7ce move pretro_set_environment(rarch_environment_cb); after init_libretro_sym so core_options and libretro_path can be overriden 2015-04-06 00:01:33 -05:00
twinaphex 5f8407e16c Use input_driver_get_capabilities 2015-03-23 04:18:27 +01:00
twinaphex de8d41a0f8 Use video_driver_set_rotation 2015-03-22 10:38:26 +01:00
twinaphex e6f0d366cb Go through global_get_ptr 2015-03-21 04:43:18 +01:00
twinaphex 6cefa69aa4 Go through settings pointer 2015-03-20 19:48:23 +01:00
twinaphex 3670ef2ac5 Go through driver_get_ptr to grab pointer to driver struct 2015-03-18 19:40:00 +01:00
twinaphex 4f25b67baa Rename 'content_directory' to 'core_assets_directory' so it's more
understandable. NOTE: Nobody ever used GET_CONTENT_DIRECTORY so it's
permissible to change it since nobody will be affected by the change
to GET_CORE_ASSETS_DIRECTORY
2015-03-16 02:59:30 +01:00
twinaphex 00239a30d6 Create wrapper functions for passing a message to the runloop's
message queue
2015-03-15 02:47:23 +01:00
twinaphex 795ef467ac Move msg_queue and nbio/http to runloop struct 2015-03-07 13:01:41 +01:00
twinaphex 8f5809ee46 Take out make_current_context 2015-02-16 23:41:49 +01:00
Alcaro 0acccbfa43 Why are we trying to support both the experimental and final version of something that's still experimental? 2015-02-08 18:42:40 +01:00
twinaphex 90e5cffab8 Add RETRO_ENVIRONMENT_MAKE_CURRENT_CONTEXT 2015-02-08 18:39:12 +01:00
twinaphex bb481a158c Move get_proc_address/get_current_framebuffer to gfx/video_driver.c 2015-01-19 04:19:30 +01:00
twinaphex 3ec9005c5c Move set_rumble function to input/input_driver.c 2015-01-19 04:16:43 +01:00
twinaphex be3ac6eccd Split up sensor code into its own file 2015-01-18 19:28:51 +01:00
twinaphex e708e031d6 Add documentation to dynamic.c 2015-01-15 02:48:40 +01:00
twinaphex af657a3b47 Start documenting dynamic.c 2015-01-09 21:30:07 +01:00