Commit Graph

1431 Commits

Author SHA1 Message Date
twinaphex 3592b35573 Add second param to override_set 2016-10-01 05:51:03 +02:00
twinaphex 5ff13df40f Move global->record to record_driver.c 2016-10-01 00:47:05 +02:00
twinaphex d973e528f6 Create dir_set 2016-09-30 07:15:30 +02:00
twinaphex 3a7e9a7052 Move path settings to paths.c 2016-09-30 06:33:57 +02:00
twinaphex 00a1e3716a Create path server and add to paths.c 2016-09-30 06:22:56 +02:00
twinaphex 6ee7b733aa Move global->name to paths.c 2016-09-30 06:11:11 +02:00
twinaphex 1266c0609a Create path_is_empty 2016-09-30 04:43:16 +02:00
twinaphex 228886062b Create path_clear 2016-09-30 04:31:19 +02:00
twinaphex 1cf45d785f Turn path_set_names into static function 2016-09-30 04:19:57 +02:00
twinaphex e98b55fe3f Group some ifdefs together 2016-09-29 21:10:35 +02:00
twinaphex 9384875ab0 Don't use HAVE_NETPLAY any more 2016-09-29 21:07:10 +02:00
twinaphex 3d098839ca Update path_get 2016-09-29 08:46:41 +02:00
twinaphex 0b1270458c Update path_set 2016-09-29 07:49:54 +02:00
twinaphex 7e1a61570a Add more functionality to path_set 2016-09-29 07:46:21 +02:00
twinaphex 199731fc84 Create path_set 2016-09-29 07:36:09 +02:00
twinaphex 89505fa011 Get rid of global->patch 2016-09-29 05:46:31 +02:00
twinaphex 538aec6386 Add more RARCH_CTL_ actions 2016-09-29 05:36:21 +02:00
twinaphex 90af64769d Get rid of global->sram 2016-09-28 07:27:39 +02:00
twinaphex 0104302e18 Add new RARCH_CTL calls 2016-09-28 07:23:14 +02:00
twinaphex 5bce79369a Get rid of global->sram.use, turn it into static boolean
variable inside rarch_ctl
2016-09-28 07:17:34 +02:00
twinaphex a1488ae34f Move subsystem path to paths.c 2016-09-25 15:49:09 +02:00
twinaphex 2d11ea71cc Move runloop_fullpath to paths.c 2016-09-23 03:39:44 +02:00
twinaphex 2277428f52 Move more global->savefiles usage to task_save.c 2016-09-19 04:09:27 +02:00
twinaphex 082476f7b2 Move code to paths.c 2016-09-19 03:03:31 +02:00
twinaphex 5c97d5b46b Move global->name.base to paths.c 2016-09-17 19:41:27 +02:00
twinaphex 4d317ba5d7 Update dirs.c 2016-09-17 14:49:35 +02:00
twinaphex d03b6df573 retroarch.c - cleanup 2016-09-17 14:23:44 +02:00
twinaphex ef02fb8a96 Refactor append config code 2016-09-17 14:14:58 +02:00
twinaphex 0aa2cf5019 Create path_set_config and path_is_config_empty 2016-09-17 13:04:12 +02:00
twinaphex ec45dbaf0c Move retroarch_path_is_media_type to paths.c 2016-09-17 12:56:19 +02:00
twinaphex b89def5d8f Rename config_get/config_set functions 2016-09-17 12:51:44 +02:00
twinaphex 1dd28bdf9f Move retroarch_set_pathnames/retroarch_fill_pathnames 2016-09-17 12:25:26 +02:00
twinaphex d8b5e3c1ec Move more code to paths.c 2016-09-17 12:22:51 +02:00
twinaphex 0b0314d4ff Move more functions to paths.c 2016-09-17 12:19:17 +02:00
twinaphex 069dbce5c5 Add more functions to paths.c 2016-09-17 12:16:11 +02:00
twinaphex 005b86eb5d Create paths.c 2016-09-17 12:10:46 +02:00
Gregor Richards 2a0202ccf5 Making Netplay check frequency configurable. 2016-09-15 23:06:32 -04:00
twinaphex 49d5210256 Should make Start Core work on statically linked RA now 2016-09-12 08:37:40 +02:00
twinaphex 6b66377ed6 retroarch.c - set default values 2016-09-11 20:04:41 +02:00
twinaphex 16fea8d26d Create retroarch_main_init_media 2016-09-11 19:57:06 +02:00
twinaphex bece01093d Cleanups - retroarch_main_init 2016-09-11 19:53:34 +02:00
twinaphex b93ef046a7 Header include cleanups 2016-09-11 16:31:23 +02:00
twinaphex 5aaebcfa62 Header include cleanups 2016-09-08 06:07:43 +02:00
twinaphex 8320466824 Add HAVE_CONFIG_H ifdefs 2016-09-06 23:52:33 +02:00
Brad Parker e64a3c4956 associate more media extensions with ffmpeg 2016-09-06 12:37:08 -04:00
twinaphex c3ba0ba4e9 Revert "Refactor core_system_info_* functions"
This reverts commit f637805c9e.
2016-09-06 08:38:26 +02:00
twinaphex f637805c9e Refactor core_system_info_* functions 2016-09-06 07:08:38 +02:00
twinaphex 82d82110ae Merge system.h with core.h 2016-09-06 06:11:54 +02:00
twinaphex b6daaed566 Rename git_version.c to version_git.h, create separate
version.h file
2016-09-01 17:49:28 +02:00
twinaphex b0a8f72724 More translated strings 2016-08-22 13:11:40 +02:00
twinaphex aa2af0b61f Refactor has_set settings 2016-08-01 21:51:23 +02:00
twinaphex ef7ce5beee Create RARCH_OVERRIDE_SETTING_VERBOSITY 2016-08-01 20:54:16 +02:00
twinaphex 01de39bf0b Cleanups 2016-08-01 20:48:02 +02:00
twinaphex ba32586d1a Rewrite has_set.libretro 2016-08-01 20:47:19 +02:00
twinaphex 6fb39e4f7f Iterate and unset override settings in retroarch_parse_input 2016-08-01 20:43:26 +02:00
twinaphex 39aba8e36f Create override setting functions 2016-08-01 20:41:42 +02:00
twinaphex 45d7b7b459 Create retroarch_override_setting_is_set 2016-08-01 20:39:21 +02:00
twinaphex 3402c0d420 When building without menu support, if we pass no arguments to
retroarch at the commandline, show the help message instead of
outright crashing
2016-08-01 18:35:56 +02:00
Andre Leiradella 292335b84c Added an embedded HTTP server to RetroArch; Mapped the /mmaps URI to a JSON-based RESTful API to retrieve memory maps 2016-07-31 22:45:01 +01:00
twinaphex 2be127c04a Start wrapping settings->path.libretro 2016-07-24 11:12:26 +02:00
twinaphex 7f9168ff18 Cleanups 2016-07-19 06:33:56 +02:00
Sebastien Ronsse 21a82e3622 retroarch: Refactor retroarch_main_init core initialization failure handling 2016-07-19 14:27:46 +10:00
twinaphex 88c767fee9 When a core returns false in retro_load_game, it should still
let us stay inside the menu
2016-07-19 06:20:19 +02:00
twinaphex 296c869b4c Prevent null pointer dereference 2016-07-12 20:51:45 +02:00
twinaphex dc4275b673 Should autosave state now at exit 2016-07-01 06:55:44 +02:00
twinaphex 5f71ecc1d1 Create fill_pathname_join_special_ext 2016-06-30 04:59:57 +02:00
twinaphex 08f26fafbd Create FILE_PATH_OPT_EXTENSION 2016-06-29 18:45:12 +02:00
twinaphex 7a745c3f70 Use string_is_empty 2016-06-28 11:02:51 +02:00
twinaphex 5045a0faff Add optional logging 2016-06-28 04:23:57 +02:00
twinaphex 64c85771b2 Create FILE_PATH_STR extensions 2016-06-28 01:10:58 +02:00
twinaphex a6a0960f77 Cleanup 2016-06-27 07:48:22 +02:00
Sebastien Ronsse 95ad02e742 retroarch: Fix core type detection when cores are excplicitely set 2016-06-27 14:13:09 +10:00
twinaphex f6bbe69096 Use string_is_empty 2016-06-26 10:33:46 +02:00
twinaphex 961daf8067 Cleanup 2016-06-26 10:27:44 +02:00
Twinaphex 88cc0ce8bb Remove unused variables 2016-06-26 10:17:25 +02:00
twinaphex 016983c9eb Add FILE_PATH_RTC_EXTENSION 2016-06-26 10:15:25 +02:00
twinaphex fcc238d310 Expand file_path_str 2016-06-26 09:56:55 +02:00
twinaphex b86274aa95 Cleanup 2016-06-25 07:41:10 +02:00
twinaphex 35ea096db7 Move hash around 2016-06-20 18:30:45 +02:00
twinaphex a585017208 Rename MENU_FILE_ to FILE_TYPE_ 2016-06-20 15:50:37 +02:00
twinaphex 450e1f4746 Rename menu_hash_to_file_type 2016-06-20 15:33:22 +02:00
twinaphex 7d93f63e6a Move menu_hash_to_file_type to msg_hash 2016-06-20 06:44:05 +02:00
twinaphex f764980eb8 Indenting nits 2016-06-20 04:51:36 +02:00
twinaphex 46cdea48c2 Add more translatable strings 2016-06-20 03:54:42 +02:00
twinaphex 284f8cfd23 Remove menu_hash_ files 2016-06-20 03:35:09 +02:00
twinaphex 8c75bc7618 Cleanups 2016-06-18 02:20:13 +02:00
twinaphex 0c87175a61 Remove unused variables 2016-06-11 22:19:40 +02:00
twinaphex 6f8b6a22b7 Creat APPLICATION_SPECIAL_DIRECTORY_CONFIG 2016-06-11 21:55:55 +02:00
twinaphex 1d3d07ad7d Cleanup 2016-06-05 19:39:57 +02:00
twinaphex 5004113ce1 Cleanup 2016-06-05 18:27:31 +02:00
radius f8274800fb fix savefile bug when launching from the commandline 2016-06-05 11:21:16 -05:00
twinaphex 5b52098c54 Reimplement verbosity 2016-05-31 04:42:04 +02:00
twinaphex 954aaa3fc6 More preparatory work for net retropad core 2016-05-27 21:16:25 +02:00
twinaphex c16cae7ef9 Create retroarch_set_current_core_type 2016-05-27 19:26:45 +02:00
twinaphex 1c868ffaa2 Cleanups 2016-05-27 17:27:38 +02:00
twinaphex 49f050b386 Move config_replace to configuration.c 2016-05-27 16:42:20 +02:00
Andrés bf04b798fe Merge pull request #3037 from leiradel/cheevos
added all console ids; added fixup for pce; fixed mmap matching
2016-05-26 22:14:31 -05:00
Andre Leiradella d791da9507 undefined debug macros 2016-05-27 00:06:03 -03:00
twinaphex dd03076976 Remove config_realloc 2016-05-27 05:05:27 +02:00
twinaphex 03ded43280 Prevent explicit null dereferenced warnings 2016-05-26 18:09:46 +02:00
radius 73c78947b0 fix set_paths_redirect edge case 2016-05-24 23:06:20 -05:00
radius 08c136aab2 fix a logging error 2016-05-24 21:41:53 -05:00
Sebastien Ronsse 07b3a081c0 retroarch: Fix savefile directory memory leak 2016-05-24 09:41:00 +10:00
twinaphex 09b10943b2 retroarch_get_current_savefile_dir - prevent memory leak 2016-05-23 14:42:22 +02:00
radius dbb8cf7e32 AUTOSAVE should happen before loading the dummy core, not after 2016-05-20 17:36:55 -05:00
twinaphex ce240dd47f Move async job code to retroarch.c 2016-05-17 14:40:04 +02:00
twinaphex fcf2decb2e Remove persist argument 2016-05-17 09:07:41 +02:00
twinaphex e10270d459 Delete runloop_prepare_dummy 2016-05-16 17:19:16 +02:00
twinaphex c0e447a3af Get rid of ununused variable 2016-05-16 08:46:06 +02:00
twinaphex c1633a8695 Add jpeg to retroarch_print_features 2016-05-14 16:40:09 +02:00
twinaphex 8b9cabf41d Show VFPv3/VFPv4 2016-05-14 13:37:07 +02:00
twinaphex df3b090d7a Revert "Create runloop_get_system_info/runloop_free_system_info/runloop_init_system_info"
This reverts commit 35bf38e05c.
2016-05-12 09:37:21 +02:00
twinaphex 35bf38e05c Create runloop_get_system_info/runloop_free_system_info/runloop_init_system_info 2016-05-12 09:25:52 +02:00
twinaphex c1bfe795f8 Create runloop_prepare_dummy 2016-05-12 09:04:31 +02:00
twinaphex 367150b487 Cleanups 2016-05-11 21:48:30 +02:00
twinaphex 1abe81b222 Create retroarch_replace_config 2016-05-11 21:44:52 +02:00
twinaphex cf3f8d587c Cleanup 2016-05-11 20:53:28 +02:00
twinaphex a082198d4b Change retroarch_main_init 2016-05-11 20:50:34 +02:00
twinaphex 0e972b9804 Rename rarch_git_version to retroarch_git_version 2016-05-11 20:44:24 +02:00
twinaphex 7ebfe1b66d Create retroarch_set_pathnames 2016-05-11 04:32:29 +02:00
twinaphex 030513bcee Create retroarch_fill_pathnames 2016-05-11 04:29:01 +02:00
twinaphex 95a6428915 RARCH_CTL_FORCE_QUIT is the same as RARCH_CTL_QUIT 2016-05-11 04:24:27 +02:00
twinaphex b9df6f52f5 Kill off a bunch of RARCH_CTL_LOAD_CONTENT enums 2016-05-11 04:22:22 +02:00
twinaphex 9aed52ac65 Move performance.c to libretro-common/features/features_cpu.c 2016-05-10 20:31:27 +02:00
twinaphex 35ea37b37f Revert "Move cpu_features to libretro-common"
This reverts commit 2b8ff3bf38.
2016-05-10 09:32:24 +02:00
twinaphex 2b8ff3bf38 Move cpu_features to libretro-common 2016-05-10 09:27:29 +02:00
twinaphex 0d371def5c Refactor performance.c code 2016-05-10 09:17:04 +02:00
twinaphex f15f28ce02 Refactor some command code 2016-05-09 21:23:53 +02:00
twinaphex 2691ab0c7d Rename command_event enums 2016-05-09 20:51:53 +02:00
twinaphex 523ebed112 Combine command_event.c and command.c 2016-05-09 20:30:47 +02:00
twinaphex a98ef36d36 Rename event_cmd_ctl to command_event 2016-05-09 20:20:50 +02:00
twinaphex 3c74031c2f Rename rarch_cmd to command 2016-05-09 20:10:08 +02:00
twinaphex 6ae20f2016 Create managers/ dir - move cheats.c and state_manager.c to it 2016-05-09 18:20:52 +02:00
twinaphex b72f7001de (retroarch.c) Rename functions 2016-05-09 07:24:28 +02:00
twinaphex f8a7154557 Rename rarch_ functions 2016-05-09 07:09:26 +02:00
twinaphex 807b5c6325 Get rid of audio_driver_ctl 2016-05-08 18:24:25 +02:00
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