Commit Graph

277 Commits

Author SHA1 Message Date
twinaphex 1cc5bfbc12 use callbacks 2016-01-28 04:13:31 +01:00
twinaphex 7f81d7a4a8 Create CORE_CTL_RETRO_SYMBOLS_INIT 2016-01-28 04:03:02 +01:00
twinaphex eb503e0464 Start getting rid of hardcoded core\. references 2016-01-28 03:41:30 +01:00
twinaphex 6e3041e33c Rewrite uninit_libretro_sym 2016-01-28 03:36:14 +01:00
twinaphex 6f0c4e03d5 Create EVENT_CMD_DISK_APPEND_IMAGE 2016-01-27 20:04:34 +01:00
twinaphex 1d47300f0f Cleanup 2016-01-27 19:58:11 +01:00
twinaphex 4e8ad770e6 Cleanups 2016-01-27 19:56:14 +01:00
twinaphex d1b53a14a1 Create RARCH_CTL_SET_SRAM_ENABLE 2016-01-27 19:53:07 +01:00
twinaphex 8fe012afe4 Modify RARCH_CTL_SET_PATHS_REDIRECT 2016-01-27 19:48:27 +01:00
twinaphex 3728240162 Move some code 2016-01-27 19:45:54 +01:00
twinaphex 7a896596a1 Move this to CORE_CTL_RETRO_DEINIT 2016-01-27 19:25:44 +01:00
twinaphex f6fcb95dea Create CORE_CTL_RETRO_SET_CONTROLLER_PORT_DEVICE 2016-01-27 19:13:15 +01:00
twinaphex 87176df22a Refactor event_init_controllers 2016-01-27 19:07:58 +01:00
twinaphex 2c3cb61ca8 Move code to libretro_version_1.c 2016-01-27 08:40:18 +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 57d19b21b5 Use CORE_CTL_RETRO_SERIALIZE_SIZE everywhere 2016-01-27 07:09:30 +01:00
twinaphex 6958a23b96 Add RETRO_CTL_RETRO_SET_ENVIRONMENT 2016-01-27 05:19:15 +01:00
twinaphex cb78c1c610 Turn retro_ctx into static local variable of core_ctl 2016-01-27 04:54:22 +01:00
twinaphex adcff5b6ec Start creating more CORE_CTL_ callbacks 2016-01-27 03:35:52 +01:00
twinaphex 1a9479ed04 Create core_ctl commands CORE_CTL_INIT / CORE_CTL_DEINIT 2016-01-27 03:14:36 +01:00
twinaphex d1ac905248 Return 'ret' at end of load_content instead of hardcoded 'true' 2016-01-27 02:40:11 +01:00
twinaphex 6fd1a98f97 Add input_poll_type_behavior 2016-01-27 01:29:53 +01:00
twinaphex 9ad50f91e8 Add poll-type - can change it only at compile-time right now 2016-01-27 01:16:53 +01:00
Alcaro 6962c6bb11 This shouldn't be an issue anymore, and even if it is, it's a core bug and don't belong here. 2016-01-26 19:52:36 +01:00
twinaphex a4cb739fc7 Fix C89_BUILD 2016-01-26 06:01:00 +01:00
twinaphex 41deaa4af8 Style nits 2016-01-26 05:52:43 +01:00
twinaphex 8d1aaa4905 Use fill_string_join 2016-01-26 02:07:39 +01:00
twinaphex 5f3b583452 Create CONTENT_CTL_LOAD_RAM_FILE and CONTENT_CTL_SAVE_RAM_FILE 2016-01-25 07:15:05 +01:00
twinaphex d71c782459 Start getting rid of RETRO_ENVIRONMENT_SET_LIBRETRO_PATH 2016-01-25 03:04:42 +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 4dd08e6382 Merge pull request #2660 from duduke/master
Reboot Menu Item
2016-01-22 14:39:21 +01:00
Lionel Flandrin ad6f98dc15 Don't lose the core-provided hw_render struct when reseting the context 2016-01-21 23:06:13 +01:00
twinaphex 3190d8aba2 Create RARCH_CTL_IS_PLAIN_CORE 2016-01-20 03:10:52 +01:00
twinaphex 2b8520f7ab Remove alot of unused variables 2016-01-19 23:46:09 +01:00
twinaphex 1eac61e9a0 Create RARCH_CTL_IS_DUMMY_CORE 2016-01-19 23:44:32 +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 a5af9b653a Turn global->content.inited into static local variable
and go through content_ctl
2016-01-19 22:57:18 +01:00
twinaphex 4726e3cb4f Cleanups - add more actions to content_ctl 2016-01-19 22:33:37 +01:00
twinaphex ae704048bc Create CONTENT_CTL_INIT 2016-01-19 22:15:00 +01:00
twinaphex 2836c9755a Create content_ctl 2016-01-19 22:12:25 +01:00
duduke eecd14086b another stupid mistake... 2016-01-19 10:43:33 +02:00
duduke 7de7c98b27 Added a reboot menu item 2016-01-18 21:31:38 +02:00
twinaphex 457ce1ddf0 Add param to set_fork - for restart 2016-01-13 11:16:03 +01:00
twinaphex 028cfaa048 Attempt to fix 'Restart RetroArch' - move code to platform_gx.c 2016-01-13 08:43:08 +01:00
twinaphex 7a55ae3765 Start updating headers for 2016 2016-01-10 04:06:50 +01:00
twinaphex 4fd5f1cad6 Improvements to unsetting the video driver callback 2015-12-28 21:34:57 +01:00
aliaspider 40ac911a05 build fix. 2015-12-24 21:17:44 +01:00
ctult 5bb3ab4d45 Starting to clean up netplay code 2015-12-23 13:25:28 -07:00
twinaphex d62a246ea8 Start adding RARCH_MENU_CTL_REFRESH 2015-12-12 17:25:03 +01:00
twinaphex a8590e656e Take out header include core_info.h from runloop.h 2015-12-11 13:56:00 +01:00
twinaphex 159fe58926 Move core info list to runloop_ctl 2015-12-11 13:51:17 +01:00
twinaphex eda9009df5 Create RUNLOOP_CTL_CURRENT_CORE_LIST_FREE 2015-12-11 13:33:07 +01:00
twinaphex 23f1bf63c0 Turn core_info_current into static local variable 2015-12-11 13:28:23 +01:00
twinaphex c491207b78 Create RARCH_DRIVER_CTL_UNINIT 2015-12-11 11:23:32 +01:00
twinaphex ab36e92595 Create RARCH_DRIVER_CTL_INIT 2015-12-11 11:21:17 +01:00
twinaphex d7fd52b03f Make g_system_menu no longer a global 2015-12-10 23:08:34 +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 88cd194780 Cleanups 2015-12-09 10:59:27 +01:00
twinaphex 6664bf2522 Don't use menu_driver_get_ptr outside of menu/ files at all 2015-12-07 16:11:53 +01:00
twinaphex 2d55dc3bda Complete namespace changes 2015-12-07 15:32:14 +01:00
twinaphex e36712a4e0 Turn shader_dir_init and shader_dir_free into static functions 2015-12-07 14:45:15 +01:00
twinaphex 52774b0dee Add RARCH_CTL_SET_PATHS_REDIRECT 2015-12-07 14:30:36 +01:00
twinaphex db81f05078 Turn cheevos_globals into static variable and move it to cheevos.c 2015-12-07 13:30:03 +01:00
twinaphex c6359d6dbc Divorce g_system_menu from global state 2015-12-06 19:31:47 +01:00
twinaphex 1cfb39a9d1 merge menu.c and menu_driver.c 2015-12-06 17:55:27 +01:00
twinaphex bbbf6513fd move gpu record buffer to video_driver.c 2015-12-06 15:22:20 +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 5b939e810c Get rid of driver_t and driver_get_ptr 2015-12-05 16:54:13 +01:00
Alcaro 67a0623ebf Fix 3DS build fail. 2015-12-05 16:51:02 +01:00
twinaphex 6abb01e973 Isolate driver->netplay-data to netplay.c 2015-12-05 16:38:24 +01:00
twinaphex 18ab12ab83 Take header include record_driver.h out of driver.h 2015-12-05 16:12:29 +01:00
twinaphex 736f343d9f Create RARCH_MENU_CTL_IS_ALIVE 2015-12-05 13:49:34 +01:00
twinaphex 2f29d9f18c Take out menu/menu_driver.h include from driver.h 2015-12-05 13:22:50 +01:00
twinaphex f72b69e8d1 Don't include frontend_driver.h as part of driver.h 2015-12-05 09:09:31 +01:00
twinaphex 26cd1a3702 Create frontend_driver_set_fork 2015-12-05 07:57:45 +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 10875bf6a0 Move shader_dir references 2015-12-01 03:55:31 +01:00
twinaphex fcde5ae8ff Add RUNLOOP_CTL_GET_WINDOWED_SCALE 2015-12-01 03:46:56 +01:00
twinaphex c5df156f23 Cleanups 2015-12-01 03:33:50 +01:00
twinaphex 43abd39f6a Start limiting scope of global->cheat to cheats.c 2015-12-01 02:43:34 +01:00
twinaphex f1a0068dc7 Move bsv global state to movie.c 2015-12-01 01:47:26 +01:00
twinaphex 5d9e6bca60 Move bsv movie code to movie.c 2015-12-01 00:04:04 +01:00
twinaphex 22d64ae3dc move driver->remote and driver->command to input_driver.c 2015-11-30 23:06:47 +01:00
twinaphex 0b24618cd5 Move driver->command to input_driver.c 2015-11-30 22:56:41 +01:00
twinaphex e8471ead48 Move rewind state code out of g_extern 2015-11-30 22:29:16 +01:00
twinaphex 0db7cda264 Start moving rewind code to rewind.c 2015-11-30 22:25:13 +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 5d70131ce1 Move global->autosave to autosave.c 2015-11-30 19:23:13 +01:00
twinaphex 30ed8b750b move temporary_content to content.c 2015-11-30 19:09:12 +01:00
twinaphex 4e0a4150b5 Merge runloop and runloop_data.c 2015-11-30 15:35:57 +01:00
twinaphex 12e301825b Move audio_active to audio_driver.c 2015-11-29 21:34:45 +01:00
twinaphex 1d44619f41 Move driver->video_cache_context and driver->video_cache_context_ack
to video_driver.c
2015-11-29 20:44:51 +01:00
twinaphex 628af9680f command_event.c - cleanup 2015-11-29 18:27:24 +01:00
twinaphex fa0e2032c6 Move EVENT_CMD_PREPARE_DUMMY to rarch_main_ctl 2015-11-29 00:29:41 +01:00
twinaphex 96f1a417ed Remove unused EVENT_CMD_DATA_RUNLOOP_FREE 2015-11-29 00:24:44 +01:00