Commit Graph

612 Commits

Author SHA1 Message Date
twinaphex bf3188eac4 Combine runloop_ctl and rarch_ctl 2017-05-15 05:06:23 +02:00
twinaphex e2c7671e9f Create rarch_menu_running/rarch_menu_running_finished 2017-05-15 04:31:40 +02:00
twinaphex b9148c1d70 Cleanups 2017-05-15 02:50:14 +02:00
twinaphex c6dd51da35 Cleanups 2017-05-14 20:25:13 +02:00
twinaphex 9e26332c48 Cleanups 2017-05-14 20:23:10 +02:00
twinaphex f70da4c2e2 Cleanups 2017-05-14 05:06:01 +02:00
twinaphex 2df6b201da Cleanup 2017-05-14 05:02:17 +02:00
twinaphex fe56e4ffea Grab from global pointer 2017-05-14 05:00:24 +02:00
twinaphex e6bcb64ced Add name_ips/name_bps/name_ups 2017-05-14 04:52:34 +02:00
twinaphex 70457e06d8 Cleanups 2017-05-14 04:50:57 +02:00
twinaphex 88dbbb284d Add ips_pref/bps_pref/ups_pref to content_information_ctx 2017-05-14 01:12:47 +02:00
twinaphex b75f242a7f Cleanups 2017-05-13 22:35:10 +02:00
twinaphex 42ebe7a7ad Merge runloop.c and retroarch.c 2017-05-11 09:11:46 +02:00
twinaphex 5245590bae (audio_mixer.c) Prevent null pointer dereference 2017-05-08 05:55:20 +02:00
Andre Leiradella 844d1475e6 Reverted cheevos changes in preparation for conversion to task; fixed 4884 2017-05-07 19:06:03 +01:00
twinaphex de80671658 Simplify content_get_crc 2017-05-06 16:41:22 +02:00
twinaphex 46b1b113e0 Cheevos - buildfix 2017-05-06 06:48:32 +02:00
twinaphex 33f2fe8029 Move cheevos.c to tasks/task_cheevos.c and add TODO/FIXME note 2017-05-06 05:50:46 +02:00
twinaphex 44b9943738 Cleanups to task_content.c 2017-05-06 05:19:19 +02:00
twinaphex 2c28505e04 Refactor cheevos_load 2017-05-06 05:13:28 +02:00
twinaphex e6ab06a701 Move path variables 2017-04-29 00:39:29 +02:00
twinaphex ed53be7c81 Move all bool settings 2017-04-28 14:11:34 +02:00
twinaphex eb208b170f Fix codepath for HAVE_MENU not being defined 2017-04-23 17:48:45 +02:00
twinaphex 3ec5816259 Rewrite RUNLOOP_CTL_SYSTEM_INFO_GET 2017-04-23 16:41:26 +02:00
twinaphex b5b87d7735 Avoid 'unused scalar variable' warning 2017-02-23 21:49:51 +01:00
twinaphex 5e6a79c4ac Try to fix Coverity warnings 2017-02-22 01:57:16 +01:00
twinaphex 7c83071b01 Prevent 'explicit NULL dereferenced' 2017-02-21 20:30:52 +01:00
twinaphex f8576ca88c Fix C89_BUILD again 2017-02-21 19:56:43 +01:00
twinaphex 227b862cba Cleanups to task_load_content 2017-02-21 19:09:43 +01:00
twinaphex 85053cb210 Make it unneeded to have to grab settings pointer from
firmware_update_status
2017-02-21 19:06:08 +01:00
twinaphex c215fef8dd Updates 2017-02-21 18:58:03 +01:00
twinaphex f553f3f6bd Cut down on HAVE_MENU ifdefs 2017-02-21 18:55:11 +01:00
twinaphex d789013789 Cut down on some duplicate code 2017-02-21 18:51:47 +01:00
twinaphex 0789fff6df Rename load content tasks 2017-02-21 18:36:47 +01:00
twinaphex d3e8e66b9f Create task_push_load_content_with_current_core_from_companion_ui 2017-02-21 17:29:30 +01:00
twinaphex 03948eafd3 Create task_push_start_builtin_core 2017-02-21 17:22:04 +01:00
twinaphex 9087bc82a0 Add TODO/FIXME note 2017-02-21 17:02:37 +01:00
twinaphex 8206a751f0 Create task_push_load_content_from_cli 2017-02-21 16:59:48 +01:00
twinaphex 1ec7b79ad6 Rename another task 2017-02-21 16:53:02 +01:00
twinaphex d0e49a2d8f Rename some tasks 2017-02-21 16:50:39 +01:00
twinaphex d74f1a56f3 Create load_content_with_new_core_from_companion_ui 2017-02-21 16:30:47 +01:00
twinaphex 4bbf2ab535 Cleanups 2017-02-21 16:11:54 +01:00
twinaphex 36f5504375 Cleanup 2017-02-21 06:37:42 +01:00
twinaphex 81949ae2fe (task_content.c) Cleanups 2017-02-21 05:31:34 +01:00
twinaphex a7592c2db7 Create task_load_content_callback function 2017-02-21 05:17:07 +01:00
twinaphex 0e24e2a9ef Cleanup 2017-02-21 05:07:53 +01:00
twinaphex 14297ef0d9 Cleanups 2017-02-21 04:50:26 +01:00
twinaphex b6fcc0dfac Cleanups 2017-02-21 04:47:01 +01:00
twinaphex 0a3cc7da52 Cleanups 2017-02-21 04:43:08 +01:00
twinaphex 409a7769c6 Cleanup task_push_content_load_default 2017-02-21 04:40:57 +01:00
twinaphex 1582a47bb9 Create task_push_content_load_new_content_with_new_core_from_menu 2017-02-21 04:31:03 +01:00
twinaphex f80064e0a3 Cleanup task_push_content_load_default 2017-02-21 04:18:51 +01:00
twinaphex 90b9cf2d46 Cleanups 2017-02-21 04:11:46 +01:00
twinaphex 0b5118423d Create task_push_content_load_nothing_with_new_core_from_menu 2017-02-21 04:07:40 +01:00
twinaphex e075ade748 Cleanups 2017-02-21 03:55:42 +01:00
twinaphex cca72126f2 Create task_push_content_load_nothing_with_current_core_from_menu 2017-02-21 03:54:34 +01:00
twinaphex 96210188b0 Create task_push_content_load_content_from_playlist_from_menu 2017-02-21 03:44:36 +01:00
twinaphex ba16bee5d1 Create task_push_content_load_nothing_with_dummy_core 2017-02-21 03:32:52 +01:00
Andre Leiradella 0c8ee93e3e Moved cheevos files to their own folder in preparation for the changes to support leaderboards 2017-02-03 10:03:57 +00:00
twinaphex 1a5978d7a2 Move patch.c to tasks/task_patch.c 2017-01-31 05:33:13 +01:00
twinaphex ae4f5104a4 Include patch.c inside task_content.c 2017-01-31 04:53:16 +01:00
twinaphex e802c07d71 Silence warning 2017-01-31 03:57:29 +01:00
twinaphex 018cb7ebe6 Add another parameter to content_get_status 2017-01-25 15:51:57 +01:00
twinaphex 361bd471de Create content_get_status 2017-01-25 15:44:21 +01:00
twinaphex 721e9ec083 (task_content.c) Try to use strlcpy instead of snprintf for
certain messages
2017-01-25 02:05:42 +01:00
Alcaro 6ff36461b4 Fix #4493 in a less incompatible way 2017-01-25 00:34:58 +01:00
twinaphex d28c138d09 (task_content.c) Cleanups 2017-01-23 21:03:41 +01:00
twinaphex 1749941881 Refactor patch.c 2017-01-23 14:56:09 +01:00
twinaphex 96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex 6e52a25b86 Attempt to fix 'write to pointer after free' issues 2017-01-14 13:51:20 +01:00
twinaphex 899601e7bb Do an early return inside menu_shader_manager_init if already initialized 2017-01-11 03:36:35 +01:00
twinaphex b3c477902c conditional is not necessary 2017-01-03 19:30:11 +01:00
twinaphex 1d6f88b0ec Try to prevent 'write to pointer after free' issues 2017-01-03 19:07:56 +01:00
twinaphex 1cfc6f571a (RARCH_CONSOLE) Another buildfix 2016-12-27 02:01:22 +01:00
Twinaphex 13536a864b (task_content.c) Prevent warnings 2016-12-27 01:32:58 +01:00
twinaphex 77e5cdbfde Revert "Rename runloop_msg_queue_push to video_driver_msg_queue_push"
This reverts commit ad7386913c.
2016-12-22 23:36:11 +01:00
twinaphex ad7386913c Rename runloop_msg_queue_push to video_driver_msg_queue_push
and move code to video_driver.c
2016-12-22 13:15:02 +01:00
twinaphex 02f1de920a If we load a ROM from the commandline, it will still get pushed
to the history list
2016-12-22 02:42:22 +01:00
twinaphex 711c4116e0 Be more careful with strdup 2016-12-22 00:43:46 +01:00
twinaphex a91e00026b (task_content.c) Only do strdup when variable is non-empty 2016-12-22 00:42:56 +01:00
twinaphex d39acc3f8e Prevent crash when loading a core like 2048 from the commandline 2016-12-22 00:41:36 +01:00
twinaphex 54a569a085 (task_content.c) Cleanup 2016-12-21 15:31:55 +01:00
twinaphex 9dab728067 Cleanup load_content_from_compressed_archive 2016-12-21 15:30:14 +01:00
twinaphex cb28584883 content_file_init_extract - cleanups 2016-12-21 15:27:08 +01:00
twinaphex a5c52dcc07 (task_content.c) Minor cleanups 2016-12-21 15:23:31 +01:00
twinaphex 52c2e1a501 (task_content.c) Cleanups 2016-12-21 15:21:11 +01:00
twinaphex 5f0efed08b (task_content.c) Attempt to fix some coverity bugs 2016-12-21 02:02:47 +01:00
twinaphex b114aa9616 (task_content.c) Put public functions last; reorganization 2016-12-21 00:32:01 +01:00
twinaphex 06e010b318 Remove forced message on content load; in preparation for task-ification 2016-12-21 00:30:23 +01:00
twinaphex a2c0073678 content_file_init_subsystem - cleanup 2016-12-21 00:19:22 +01:00
twinaphex 12255c9f5c Use error_string in order to print (log) messages 2016-12-21 00:16:25 +01:00
twinaphex c13639147e (task_load_content) Cleanups 2016-12-21 00:06:34 +01:00
twinaphex 7914dda336 Cleanup 2016-12-21 00:02:09 +01:00
twinaphex 4f3a715514 Use content_ctx inside task_push_content_load_default function 2016-12-21 00:00:59 +01:00
twinaphex 710fc20314 Cleanup task_push_content_update_firmware_status 2016-12-20 23:45:37 +01:00
twinaphex 8cf2cbe86d Get rid of another sys_info variable 2016-12-20 23:39:31 +01:00
twinaphex bb0c03afff Cleanup content_file_init_subsystem 2016-12-20 23:36:39 +01:00
twinaphex b9602ef57e (task_content.c) Reduce dependency on settings_t struct 2016-12-20 23:25:35 +01:00
twinaphex 8c8aaf5bb8 Grab system info once in content_init instead of grabbing it
all the time
2016-12-20 23:12:56 +01:00
twinaphex ffdcce9511 (task_content.c) Rename local variable to sys_info 2016-12-20 22:55:58 +01:00
twinaphex e28ace8b0c (task_content.c) Use string_is_empty 2016-12-20 22:51:29 +01:00
twinaphex bdc05e9c10 (task_content.c) Rename function 2016-12-20 22:49:26 +01:00
twinaphex af2393b821 Remove content_push_to_history_playlist 2016-12-20 22:48:10 +01:00
twinaphex 3f1064d001 Cleanup 2016-12-20 22:35:59 +01:00
twinaphex 336d825525 (task_content.c) Allocate error_string and only print runloop
message at exit of function
2016-12-20 22:32:54 +01:00
twinaphex eec1f8a5cf Cleanup 2016-12-20 22:05:40 +01:00
twinaphex 59ca04dad2 (task_content.c) Cleanups 2016-12-20 22:03:04 +01:00
twinaphex 4c9f2e41ff Get rid of some implicit memsets 2016-12-19 14:04:37 +01:00
twinaphex 96ffd8e025 Revert "Remove HAVE_COMPRESSION ifdefs in file_path.c"
This reverts commit 4103b70833.
2016-12-17 12:55:38 +01:00
twinaphex 4103b70833 Remove HAVE_COMPRESSION ifdefs in file_path.c 2016-12-17 12:20:49 +01:00
twinaphex 5364b0b837 Move compression-related code outside of libretro-common file_path.c
and move it into RetroArch's file_path_special.c file instead
2016-12-17 11:54:46 +01:00
twinaphex b3aef50dff Move update_firmware_status to tasks/task_content.c 2016-12-06 08:28:26 +01:00
radius 5cf668c302 set the option as false by default for the time being 2016-11-30 10:29:34 -05:00
radius 7f62fee375 fix close content after loading has been blocked 2016-11-29 23:46:07 -05:00
radius 2e7821e337 add a toggle to the firmware check so it can be overruled 2016-11-29 23:22:22 -05:00
radius 4f760352f4 don't show the message for ten seconds 2016-11-29 22:23:15 -05:00
radius 1b3789edde better firmware checking 2016-11-29 22:21:44 -05:00
Brad Parker d1d5584d18 update copyright 2016-10-27 11:47:10 -04:00
twinaphex 13cc4787f2 Reduce more char variable sizes 2016-10-27 10:19:04 +02:00
twinaphex 481ebced22 Prevent implicit memsets 2016-10-09 09:56:03 +02:00
Brad Parker 1c9a54db27 ignore return value of init_content_file_extract, fixes exit/crash when we can't load the content. (non-compressed corrupt content returns true anyway) 2016-10-03 22:23:39 -04:00
twinaphex 25f27c3f4c Get rid of path_get_content 2016-10-03 15:39:57 +02:00
twinaphex a4d48688c6 Create generic functions for dirs.c 2016-10-03 08:15:41 +02:00
twinaphex 9050f75fc8 Create dir_is_empty 2016-10-01 23:30:09 +02:00
twinaphex 8409d81e8e Revert "Create dir_is_empty"
This reverts commit fa469c4dcc.
2016-10-01 08:16:19 +02:00
twinaphex 8458a039ca Revert "Create dir_get"
This reverts commit db3738babb.
2016-10-01 08:16:13 +02:00
twinaphex 67432fde57 Add void * param to is_set 2016-10-01 06:05:08 +02:00
twinaphex db3738babb Create dir_get 2016-09-30 07:11:52 +02:00
twinaphex fa469c4dcc Create dir_is_empty 2016-09-30 07:06:27 +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 9384875ab0 Don't use HAVE_NETPLAY any more 2016-09-29 21:07:10 +02:00
twinaphex d6b9c4f17a Prevent some Coverity warnings 2016-09-29 19:24:18 +02:00
twinaphex cae92ed91d (tasks) Cleanups 2016-09-29 12:02:45 +02:00
twinaphex 329f6ad612 Update path_get 2016-09-29 08:31:41 +02:00
twinaphex be81edad84 Create path_get 2016-09-29 08:23:41 +02:00
twinaphex b8a1052b73 Update path_set 2016-09-29 07:40:14 +02:00
twinaphex 89505fa011 Get rid of global->patch 2016-09-29 05:46:31 +02:00
twinaphex a1488ae34f Move subsystem path to paths.c 2016-09-25 15:49:09 +02:00
twinaphex b3ec735e75 Silence some more scan-build warnings 2016-09-25 15:25:20 +02:00
twinaphex 4e3c9987f5 Prevent null pointer dereference / logically dead code / other misc. warnings 2016-09-23 16:03:37 +02:00
twinaphex 2d11ea71cc Move runloop_fullpath to paths.c 2016-09-23 03:39:44 +02:00
twinaphex 019ea8a294 remove header include 2016-09-23 02:21:39 +02:00
twinaphex 040a1b8ba9 Move additional_path_allocs to load_content 2016-09-23 02:19:20 +02:00
twinaphex fc3cf2ebb6 Simplify function in task_content 2016-09-23 02:14:43 +02:00
twinaphex 5d59871c05 Prevent null pointer dereference 2016-09-23 02:11:51 +02:00
twinaphex a1971c5657 Grab system pointer inside functions instead of passing it around 2016-09-23 02:10:57 +02:00
Brad Parker d493273bcf use first extracted file if one is not specified and !need_fullpath and !block_extract 2016-09-22 16:03:31 -04:00
Brad Parker f8d51c2f86 only load compressed content if the path contains the file to extract 2016-09-22 12:52:34 -04:00
twinaphex 99d24d9954 Cleanup 2016-09-21 04:19:59 +02:00
twinaphex 0ec5d9aba7 Simplify task_content.c 2016-09-21 04:09:24 +02:00
twinaphex 7edc0d9ee9 Simplify load_content_into_memory 2016-09-21 04:03:31 +02:00
twinaphex 8b67551799 Turn dump_to_file_desprate into static function 2016-09-20 04:08:55 +02:00
twinaphex c6ab19e59c read_content_file - Improve this a little bit 2016-09-20 03:21:26 +02:00
Brad Parker 605011ffe2 use generic crc32 2016-09-19 21:18:49 -04:00
Brad Parker 2a75b88d89 file_archive_extract_first_file can choose any file now 2016-09-18 21:22:13 -04:00
twinaphex 73c09f1d27 Cleanup 2016-09-19 01:12:39 +02:00
twinaphex 4106ff7f19 Reduce HAVE_COMPRESSION ifdefs 2016-09-19 00:56:58 +02:00
twinaphex 118a90b800 Move dir_check_defaults to dirs.c 2016-09-19 00:56:00 +02:00
twinaphex 534dca9ed1 Get rid of HAVE_COMPRESSION ifdef 2016-09-19 00:50:35 +02:00
twinaphex 975e0f2247 C89_BUILD fix 2016-09-18 19:03:31 +02:00
Brad Parker 4fadd4a110 fix uninitialized use 2016-09-18 12:49:44 -04:00
Brad Parker dbbd49f9f9 merge with master, remove alignment test code 2016-09-18 12:44:00 -04:00
Brad Parker f13bce4e50 - use the detected stream backend's crc32 function
- remove zlib/7zip ifdef from archive_file.c, task_content.c and task_database.c
- don't re-compute CRC from one stored in archive
2016-09-18 12:31:24 -04:00
twinaphex c2e2d41452 C89_BUILD fixes 2016-09-18 18:28:33 +02:00
Brad Parker ffefe0ccac fix broken PR 2016-09-18 10:38:15 -04:00
Brad Parker 7c29fd6c33 create 7z archive backend, enables scanning of 7z content 2016-09-18 10:31:21 -04:00
Higor Eurípedes 824ded963b (task_content.c) Remove trailing whitespace 2016-09-17 21:22:49 -03:00
Higor Eurípedes e27a85d335 (task_content.c) Fix possible double free()
content_zip_file_decompressed_handle() didn't set the handler's data
member to NULL after freeing on error. That causes problem when the function fails and
content_zip_file_decompressed() tries to free it afterwards.
2016-09-17 21:20:27 -03:00
twinaphex b775ee303c Use dir_is_savefile_empty/dir_is_savestate_empty 2016-09-17 15:01:32 +02:00
twinaphex 413d14ad49 Start using dirs functions 2016-09-17 14:57:53 +02:00
twinaphex 075599e818 Start using path_ functions for accessing and modifying global->path.config 2016-09-17 13:14:14 +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 5aebdb7484 Mov code to paths.c 2016-09-17 12:35:29 +02:00
Francisco José García García 912d26ec26 Wrong ifdef 2016-09-12 19:17:21 +02:00
twinaphex 49d5210256 Should make Start Core work on statically linked RA now 2016-09-12 08:37:40 +02:00
Francisco José García García b5111d4654 Fix Typo 2016-09-12 01:14:12 +02:00
Francisco José García García b8391e4cc2 Allow "Load Content" when RETRO_ENVIRONMENT_SET_SUPPORT_NO_GAME = true 2016-09-12 01:10:35 +02:00
twinaphex 51b0e61712 Cleanups 2016-09-11 16:24:02 +02:00
twinaphex dc0666555f Cleanups 2016-09-08 14:17:38 +02: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 f38ce959e4 Remove some header includes 2016-09-01 05:30:07 +02:00
Alcaro cad2eee9e0 Fix some PS3 derps 2016-08-27 13:54:02 +02:00
twinaphex 95de19320d Cleanup 2016-08-27 02:43:06 +02:00
twinaphex f851440a6b Some C89 fixes 2016-08-27 02:35:21 +02:00
Brad Parker 89f9b096e7 style cleanup and fix typos 2016-08-25 21:40:37 -04:00
Brad Parker 097f326298 simplify delimiting of compressed archive filenames 2016-08-25 16:18:29 -04:00
Brad Parker 5275c0a45d correctly handle content paths containing a hash (#), fixes issue #3273 2016-08-24 16:54:10 -04:00
twinaphex ef7ce5beee Create RARCH_OVERRIDE_SETTING_VERBOSITY 2016-08-01 20:54:16 +02:00
twinaphex ba32586d1a Rewrite has_set.libretro 2016-08-01 20:47:19 +02:00
twinaphex 8dfa393e05 Add screenshot to image history list too 2016-07-31 01:20:00 +02:00
twinaphex 5a83139e15 Cleanup 2016-07-31 01:11:53 +02:00
twinaphex 5aa61dcb15 Successfully pushes movies/music/image files now to proper history list 2016-07-30 23:50:29 +02:00
twinaphex 286bf213d1 Change name to movieplayer_video 2016-07-30 23:21:30 +02:00
twinaphex 7c7fc07674 Change core name to ffmpeg_video 2016-07-30 23:21:04 +02:00
twinaphex 8417a5e176 Start writing to separate playlists 2016-07-30 22:57:32 +02:00
twinaphex 8b706ad805 Start creating new history files for music/video/image 2016-07-30 22:47:43 +02:00
twinaphex 04c9db254e Start preparing playlist code 2016-07-30 21:27:40 +02:00
twinaphex d926961b43 Pass mode argument to task_load_content 2016-07-30 21:19:47 +02:00
twinaphex 191c2ec1fd Cleanup 2016-07-28 20:42:45 +02:00
twinaphex 4f617071db Add Start Video Processor menu entry 2016-07-28 20:35:05 +02:00
twinaphex bd88b9d1d2 (Wii) Fix warnings / unused variables 2016-07-24 11:32:45 +02:00
twinaphex 2be127c04a Start wrapping settings->path.libretro 2016-07-24 11:12:26 +02:00
twinaphex 282dbf0b38 (PS3) Should get playlist entries working again - now we need to
propagate the core path to the playlist correctly
2016-07-23 07:47:05 +02:00
Sebastien Ronsse 2f23781cfd task content: Display OSD loading message prior to loading content 2016-07-23 11:12:06 +10:00
twinaphex e93e3626dd (task_content.c) Messages should be flushed before putting on queue 2016-07-19 18:36:50 +02:00
twinaphex 5678d4fd34 Add onscreen message when this happens 2016-07-19 06:16:58 +02:00
twinaphex defe51ff69 Remove call to PENDING_QUIT 2016-07-11 15:29:11 +02:00
twinaphex f596d1f99d Get rid of duplicate entry 2016-07-11 15:04:54 +02:00
Twinaphex daee8afa19 Merge pull request #3209 from lakkatv/master
(Menu) Don't push the quick menu on playlists
2016-07-11 15:03:12 +02:00
Jean-André Santoni 94a67fe28b (Menu) Don't push the quick menu on playlists 2016-07-11 15:00:30 +02:00
twinaphex 050e29140b Should fix these issues 2016-07-11 14:44:12 +02:00
twinaphex 2f04b7035a Add more translatable strings 2016-07-01 08:35:12 +02:00
twinaphex bd8a7d030e Cleanups 2016-06-30 19:05:55 +02:00
twinaphex 22ac73ba26 Prevent null pointer dereference 2016-06-30 16:10:09 +02:00
twinaphex 3c7dc0a62e Try to silence more Coverity warnings 2016-06-29 12:13:40 +02:00
twinaphex 58b95752e8 (task_content.c) Use string_is_empty 2016-06-28 10:50:00 +02:00
twinaphex 342bcebc59 Set current core type almost immediately after loading new core 2016-06-28 07:51:49 +02:00
twinaphex 1661fa552f Revert "Cleanup"
This reverts commit 43426df4f6.
2016-06-28 04:58:29 +02:00
twinaphex 43426df4f6 Cleanup 2016-06-28 04:21:13 +02:00
twinaphex d600075012 Cleanup 2016-06-28 04:08:36 +02:00
twinaphex 05fb0a1eeb Push Quick Menu for net retropad core 2016-06-27 06:27:57 +02:00
FIX94 3f7ca00e6d corrected a switch case, makes ngc build (and probably others) boot up again 2016-06-24 18:03:51 +02:00
twinaphex 20e86afbf2 Cleanup 2016-06-20 22:27:44 +02:00
twinaphex 59b8b3b9ed Add more translatable strings 2016-06-20 04:17:03 +02:00
twinaphex 7e675b4f8a Cleanups 2016-06-18 03:51:54 +02:00
twinaphex a8042bdc0c Create CONTENT_MODE_LOAD_NOTHING_WITH_NEW_CORE_FROM_MENU 2016-06-15 18:17:01 +02:00
twinaphex cf996f724e Rename HAVE_NETWORK_GAMEPAD to HAVE_NETWORKGAMEPAD - and
don't bake it in for the C89 build
2016-06-07 15:23:07 +02:00
twinaphex 7ea0a19a4f Prevent crash 2016-06-05 19:29:55 +02:00
twinaphex 693ce8f6e5 (task_content.c) Fix explicit null dereferenced 2016-06-05 19:03:23 +02:00
twinaphex d6d757e240 Cleanups 2016-06-03 19:06:24 +02:00
twinaphex 7d30885ab9 Cleanup 2016-06-03 19:02:19 +02:00
twinaphex 8595e4cf75 task_push_content_load_default - cleanups 2016-06-03 18:59:57 +02:00
twinaphex f675c5fdc7 task_push_content_load_default - simplify code a bit 2016-06-03 18:45:09 +02:00
twinaphex 6628da2646 Create CONTENT_MODE_LOAD_CONTENT_WITH_NEW_CORE_FROM_COMPANION_UI 2016-06-03 18:43:05 +02:00
twinaphex 34ad3bd103 Cleanups 2016-06-03 05:24:21 +02:00
twinaphex 1f3790fafa Fix statement is unreachable warning 2016-06-01 05:59:17 +02:00
twinaphex 36106dd90a C89_BUILD fix 2016-06-01 05:58:22 +02:00
twinaphex da6ac4aae7 Fix explicit NULL dereferenced warnings 2016-06-01 04:05:14 +02:00
twinaphex 5b52098c54 Reimplement verbosity 2016-05-31 04:42:04 +02:00
Diablodiab d7bfe70ca1 Check if content has been passed to core even if the core does not need content.
Only start without content if no content has been passed.

This fixes a problem with cores that are both able to start with or without
content, eg. ScummVM.
2016-05-30 00:19:05 +02:00
twinaphex e222df4eb6 Fix LOAD_CONTENT_WITH_NEW_CORE_FROM_MENU 2016-05-29 05:36:41 +02:00
twinaphex 78b208c441 Get rid of settings variable 2016-05-29 00:19:04 +02:00
twinaphex eafb235e66 Cleanups 2016-05-29 00:03:15 +02:00
twinaphex bf6fa07b25 Cleanups 2016-05-28 23:56:07 +02:00
twinaphex 2859f6f18d Cleanup 2016-05-28 23:53:13 +02:00
twinaphex efaf6e10ee Cleanups 2016-05-28 23:48:32 +02:00
twinaphex fdb218f64e We don't have to call task_load_core for ffmpeg/imageviewer paths 2016-05-28 23:40:58 +02:00
twinaphex e0885a71e3 Remove core_path lines from ffmpeg/imageviewer paths 2016-05-28 23:39:04 +02:00
twinaphex 383a5968cc Create task_push_quick_menu 2016-05-28 23:34:21 +02:00
twinaphex f8ed8ebde4 Create task_load_core 2016-05-28 23:20:43 +02:00
twinaphex 1b0c224c02 Create task_load_content 2016-05-28 23:16:57 +02:00
twinaphex 2b5aae8a21 Add this too 2016-05-27 21:41:14 +02:00
twinaphex 828b9c6c46 task_content.c - can now reach this code 2016-05-27 21:25:42 +02:00
twinaphex 954aaa3fc6 More preparatory work for net retropad core 2016-05-27 21:16:25 +02:00
twinaphex e8eb0ef013 Change invocation of task_content_push 2016-05-27 19:34:07 +02:00
twinaphex c16cae7ef9 Create retroarch_set_current_core_type 2016-05-27 19:26:45 +02:00
twinaphex ccd5b2f73d Add 'Start Remote Gamepad' entry 2016-05-27 19:18:46 +02:00
twinaphex 7d26034ebe Rename rarch_task_* to task_* 2016-05-27 18:14:47 +02:00
twinaphex a6f95b307f Silence warnings 2016-05-27 17:24:54 +02:00
Jean-André Santoni 72e67acec0 (Menu) Fixes a menu toggle bug 2016-05-26 22:45:01 +02:00
twinaphex 03ded43280 Prevent explicit null dereferenced warnings 2016-05-26 18:09:46 +02:00
twinaphex 4f98cf05f4 Fix uninitialized scalar variable warnings 2016-05-26 17:32:27 +02:00
twinaphex 20cc877ad3 (PS3) Cleanup warnings 2016-05-26 06:41:28 +02:00
twinaphex d5d2f7f8ee Fix resource leaks 2016-05-23 22:17:28 +02:00
twinaphex 4a0334b4fa Turn content_push_to_history_playlist to static function 2016-05-17 15:22:26 +02:00
twinaphex 9b421948e4 Create tasks/task_save_state.c 2016-05-17 15:21:09 +02:00
twinaphex 81c7a8ac04 Create task_save_ram.c 2016-05-17 15:18:03 +02:00
twinaphex 146d2c8a1d Rename screenshot.c to tasks/task_screenshot 2016-05-17 14:31:33 +02:00
twinaphex a5cf78fd68 only bind to menu_environment_get when content_info->environ_get is
NULL
2016-05-17 10:35:57 +02:00
Twinaphex b83e43e8ce Fix 'Close Content' when menu is active 2016-05-17 10:15:43 +02:00
Twinaphex 52937d4b02 Fix CONTENT_MODE_LOAD_CONTENT_WITH_CURRENT_CORE_FROM_COMPANION_UI 2016-05-17 09:14:18 +02:00
twinaphex fcf2decb2e Remove persist argument 2016-05-17 09:07:41 +02:00
Twinaphex 47cb3b899a Fix deferred content loaded from menu 2016-05-17 08:53:25 +02:00
twinaphex e2e53026aa rarch_main - reduce a lot of code duplication 2016-05-17 08:19:50 +02:00
twinaphex 80ce237878 (HAVE_MENU not defined) Buildfixes 2016-05-17 08:02:13 +02:00
twinaphex 6c9715027f Add HAVE_MENU ifdefs 2016-05-17 07:53:38 +02:00
twinaphex 0d850b9bda Improve content_load_wrapper - pushing to the history list should work again 2016-05-17 07:36:18 +02:00
twinaphex e10270d459 Delete runloop_prepare_dummy 2016-05-16 17:19:16 +02:00
twinaphex d681d30249 Move code to task_content.c 2016-05-16 17:14:05 +02:00
twinaphex fa5971737e Implement CONTENT_MODE_LOAD_NOTHING_WITH_DUMMY_CORE 2016-05-16 17:07:11 +02:00
twinaphex 6305f12ba2 Turn content_load function static 2016-05-16 16:44:34 +02:00
twinaphex 722eb5a69c Move content.c code to task_content.c 2016-05-16 16:42:33 +02:00
twinaphex 18a991e014 rarch_main - use rarch_task_push_content_load 2016-05-16 16:38:27 +02:00
twinaphex 3e91a4bb68 Rename menu_content_load to content_load_wrapper 2016-05-16 16:32:18 +02:00
twinaphex f70dc77a61 Pass content_ctx_info_t pointer to rarch_task_push_content 2016-05-16 16:25:16 +02:00
twinaphex 3678c4e72a menu_content_load - cleanups 2016-05-16 15:17:28 +02:00
twinaphex 9c33d91e68 Refactor content task code 2016-05-16 15:09:04 +02:00
twinaphex a687c47f7e Move command_event_cmd_exec to tasks/task_content.c 2016-05-16 14:58:08 +02:00
twinaphex 923d0a879b Reimplement menu_content_load_from_playlist 2016-05-16 14:54:26 +02:00
twinaphex 75160c6524 Reimplement task_content.c 2016-05-16 14:44:28 +02:00
twinaphex 4d30d931fe Move some logic to rarch_task_push_content_load_default 2016-05-16 14:33:50 +02:00
twinaphex 3cb26268ee Start writing rarch_task_push_content_load_default 2016-05-16 14:27:11 +02:00
twinaphex d4732d048e Start adding switch 2016-05-16 14:23:13 +02:00
twinaphex fe2eb7f4c1 Add mode to rarch_task_push_content_load_default to make
it explicit what each call does
2016-05-16 14:20:26 +02:00
twinaphex 57fedb9fa8 Use rarch_task_push_content_load_default 2016-05-16 13:43:14 +02:00
twinaphex 9846aeb53a Remove unused variable 2016-05-16 13:02:47 +02:00
twinaphex 6ef0b86e30 Reimplement content loading - task_content_load 2016-05-16 12:51:55 +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 c6220a9e66 Reimplement rarch_task_push_content_load_default 2016-02-12 04:55:18 +01:00
twinaphex 4210ee197b Rename tasks.c to task_queue.c 2016-02-09 17:55:15 +01:00
twinaphex 08eb091610 Rename rarch_ to retro_ 2016-02-09 17:47:04 +01:00
twinaphex ce2869b4d8 Create tasks_internal and split up RA-specific task code to outside 2016-02-09 17:12:39 +01:00
twinaphex 9022724bd5 Fix warnings 2016-01-25 07:04:54 +01:00
twinaphex 23d99495a4 Add TODO/FIXME 2016-01-24 01:31:40 +01:00
twinaphex 6f221fb425 Rename menu_common_load_content to rarch_task_push_content_load_default 2016-01-24 00:51:17 +01:00
twinaphex 48317e66b9 Create task_content.c - WIP 2016-01-24 00:40:34 +01:00