Commit Graph

1195 Commits

Author SHA1 Message Date
Hans-Kristian Arntzen d723411436 De ioctl video_driver. 2016-05-08 14:00:51 +02:00
twinaphex e165954395 Rename libretro_version_1 to core_impl 2016-05-08 05:29:10 +02:00
twinaphex 5c269d38a1 (content.c) Remove content_ctl 2016-05-08 05:17:31 +02:00
twinaphex ae9ea8f2db (MSVC) Buildfixes 2016-05-08 04:04:50 +02:00
twinaphex 80a453bad1 De-ioctlify command.c 2016-05-08 00:25:04 +02:00
twinaphex 895783d854 Move some variables 2016-04-28 20:49:13 +02:00
twinaphex 7dffc6286b Internally change directory settings 2016-04-28 19:26:02 +02:00
twinaphex 94c042f686 (driver.c) Cleanups 2016-04-10 16:40:36 +02:00
twinaphex 695a93e071 Cleanups 2016-04-10 15:52:06 +02:00
twinaphex 6e3416b990 Add RARCH_CTL_{USERNAME} 2016-04-06 01:58:11 +02:00
twinaphex 43860e384a Fixes crash on Close Content on Android.
Bizarre usage of -L argument caused it along with --menu
2016-04-05 23:22:33 +02:00
twinaphex c536e0fbdc (iOS) argv needs to always be non-NULL 2016-04-05 20:53:02 +02:00
Twinaphex 90b1db7178 (iOS) Gets past the crash at startup if argv is NULL 2016-04-02 01:05:24 +02:00
Twinaphex b454192a43 Merge pull request #2822 from libretro/staging
Vulkan: Another stab at cleaning up implicit menu vs. loading content handling
2016-03-26 20:20:11 +01:00
Hans-Kristian Arntzen b96d365968 Only set CORE_TYPE_PLAIN for non-directory -L.
Fixes crash on Android startup which uses -L <core-dir> CLI argument.

-L can also set core directory, even though it's not supposed to
be used anymore.

Also, on Android, the cores directory might not be populated, so ignore
arguments which are not valid.
2016-03-25 23:57:11 +01:00
twinaphex e41127459e Rename 'filestream' functions 2016-03-24 04:09:25 +01:00
Hans-Kristian Arntzen 23c8150b6e Reintroduce new parse_input scheme.
This reverts commit 2323cef8d1.
2016-03-23 00:29:52 +01:00
twinaphex 2323cef8d1 Revert "Attempt properly handling CLI options ..."
This reverts commit 6f8a1e8ab2.
2016-03-22 21:42:30 +01:00
twinaphex ab1c4d0c4d Header include cleanups 2016-03-22 03:49:05 +01:00
twinaphex 4c14267f5b Create core_type.h 2016-03-22 02:56:06 +01:00
Hans-Kristian Arntzen 6f8a1e8ab2 Attempt properly handling CLI options ... 2016-03-21 17:59:40 +01:00
Twinaphex 2c8b558dac Revert "Fix "retroarch --verbose"." 2016-03-21 17:21:17 +01:00
Hans-Kristian Arntzen fd443082a7 Fix "retroarch --verbose".
We want to go straight to menu in this case, so make a special case
for this fairly common pattern.
2016-03-21 17:11:39 +01:00
twinaphex 3720cf87e7 Rename retro_file to file_stream 2016-03-20 16:29:14 +01:00
twinaphex 93b7dc1bdd (libretro-common) move 'lists' files to lists/ 2016-03-20 14:53:54 +01:00
twinaphex 97981c7a9d Header cleanups 2016-03-20 04:44:29 +01:00
twinaphex 91d14cbb62 Revert "Create RARCH_NETPLAY_CTL_IS_ENABLED, RARCH_NETPLAY_CTL_SET_ENABLE,"
This reverts commit 1a978b0f3c.
2016-03-18 00:32:02 +01:00
twinaphex 1a978b0f3c Create RARCH_NETPLAY_CTL_IS_ENABLED, RARCH_NETPLAY_CTL_SET_ENABLE,
and RARCH_NETPLAY_CTL_USNET_ENABLE
2016-03-14 15:03:42 +01:00
radius 761ece0f3c set SAVE directory correctly when using content dir on cores that don't use the SRAM interface 2016-03-10 17:36:46 -05:00
twinaphex 2d158b809c Cleanups 2016-03-04 19:29:22 +01:00
twinaphex 81e13aa2c1 (command.c) Cut down on some functions 2016-03-04 17:35:44 +01:00
twinaphex 6f80e09ce1 Change MIN/MAX to upper-case 2016-03-02 00:07:31 +01:00
radius 66a8e08252 remove saving remapping, use the automated method instead 2016-02-21 13:55:04 -05:00
twinaphex d4daf25c2a Remove stdin stub paths 2016-02-17 07:15:51 +01:00
twinaphex d78787d70e Add feature to print_features 2016-02-17 01:55:35 +01:00
twinaphex bebf9abfb2 Fix RARCH_CTL_UNSET_STDIN_CLAIMED 2016-02-16 05:19:04 +01:00
twinaphex 9097727452 Revert "Fix RARCH_CTL_UNSET_STDIN_CLAIMED"
This reverts commit 25787c2ce6.
2016-02-16 05:16:44 +01:00
twinaphex 25787c2ce6 Fix RARCH_CTL_UNSET_STDIN_CLAIMED 2016-02-16 05:09:57 +01:00
twinaphex 4aa36501fb Call RARCH_CTL_VERIFY_STDIN_PATHS 2016-02-15 21:30:11 +01:00
twinaphex d3a9b04223 Add back stdin features - pt. 1 2016-02-15 21:27:14 +01:00
twinaphex 33f0f72adc Cleanups 2016-02-10 04:30:33 +01:00
twinaphex 31112e937b Move task_queue.c to libretro-common 2016-02-09 18:11:11 +01:00
twinaphex 4210ee197b Rename tasks.c to task_queue.c 2016-02-09 17:55:15 +01:00
twinaphex 0378463130 Remove configuration.h dependencies from tasks.c 2016-02-09 17:41:30 +01:00
radius 14cd4af752 don't create directories when checking for game options, only create when the user selects the menu entry 2016-02-08 00:07:41 -05:00
twinaphex 26737dbf49 N/A 2016-02-07 13:33:56 +01:00
twinaphex 1b2cf74e12 Add more ways to gracefully fail during content loading 2016-02-07 13:08:14 +01:00
twinaphex ab64daf5aa Cleanups 2016-02-05 13:51:30 +01:00
Twinaphex a120ab1084 Cleanup RARCH_CTL_DEINIT 2016-02-04 20:26:36 +01:00
twinaphex b646b548ff Create menu_content_ctl 2016-02-04 14:51:01 +01:00
twinaphex d764c51eae Style nits 2016-02-03 17:07:45 +01:00
twinaphex f70a082626 Create event_cmd_exec - get rid of libretro_private.h 2016-02-03 16:58:06 +01:00
twinaphex 8670c2e405 Create RARCH_CTL_MAIN_INIT and RARCH_CTL_MAIN_DEINIT 2016-01-30 05:03:15 +01:00
twinaphex 912b62dca9 Create RARCH_CTL_SET_PATHS 2016-01-29 11:00:01 +01:00
twinaphex a5e8615091 Create TASK_CTL_INIT 2016-01-28 09:52:28 +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 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