Commit Graph

1228 Commits

Author SHA1 Message Date
twinaphex
f4e5f896a2 Move input.device_name_index to task_autodetect and move it
outside of settings struct
2017-04-25 16:57:44 +02:00
twinaphex
c871faa1f5 Move pid/vid arrays out of settings struct and move them
to input_config
2017-04-25 16:49:54 +02:00
twinaphex
acf3b22fd3 Go through wrapper functions 2017-04-25 16:36:31 +02:00
twinaphex
6ace8ce66a Rewrite autoconf_binds and move it to task_autodetect.c - take
it out of the settings struct
2017-04-25 16:33:30 +02:00
twinaphex
f4b168f9b6 Call functions from task_autodetect.c 2017-04-25 15:53:30 +02:00
twinaphex
7b5b49a5e6 Move autoconfigured variables out of settings struct;
these values are not written back to the config file
2017-04-25 15:49:27 +02:00
twinaphex
15a8f0c485 Wrap some more settings manipulation 2017-04-25 15:31:32 +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
aea00f1e00 Use memcmp instead of string_is_equal for more instances 2017-04-23 12:17:51 +02:00
twinaphex
6ebd4e139e Rewrite more string_is_equal call invocations as memcmp 2017-04-22 08:51:16 +02:00
twinaphex
f9bc2d3783 Use memcmp instead of string_is_equal where possible for
better performance
2017-04-21 22:47:15 +02:00
twinaphex
04223b464a Check for return value of config_get_bool 2017-04-20 21:52:29 +02:00
twinaphex
d5821c7f61 Update logs 2017-04-18 05:42:49 +02:00
radius
a759cd9a19 allow swapping ok/cancel via autoconf parameter 2017-04-16 16:59:05 -05:00
radius
d236b2db58 try to override swap ok/cancel for remote controls 2017-04-16 16:51:54 -05:00
radius
0b2afde90b Partial match is never used and interferes with the fallback mechanism 2017-04-15 10:47:51 -05:00
radius
89829d22b4 [lobby] disable these logs, too verbose for production 2017-04-15 10:47:51 -05:00
radius
40ac2126c9 [lobby] fallback to filename based matching when a match isn't found by CRC, should help users with manually created playlists 2017-04-01 00:19:15 -05:00
radius
74d3915302 fix comments 2017-03-31 23:20:35 -05:00
Jean-André Santoni
ff575a3460 PCE-CD magic number detection 2017-03-07 01:16:58 +01:00
Brad Parker
c31823aa94 add HTTP POST support 2017-03-05 14:19:34 -05:00
radius
e50ea80dfa integrate the rest of the lan scan parameters 2017-02-27 21:24:34 -05:00
radius
b719f30b8e add lan games 2017-02-27 19:00:43 -05:00
twinaphex
10bf8d4a8a Backport enlarge char buffers 2017-02-27 09:28:38 +01:00
Twinaphex
216e7bcdaf Silence more warnings on iOS 2017-02-26 21:46:19 +01:00
Twinaphex
b7b3b2cb5f Try to prevent truckload of warnings on iOS 2017-02-26 10:33:03 +01: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
ef5b26350d patch_content - cleanup 2017-02-21 20:38:02 +01:00
twinaphex
7c83071b01 Prevent 'explicit NULL dereferenced' 2017-02-21 20:30:52 +01:00
twinaphex
8b4893965f task_image.c - FIx another REVERSE_INULL coverity warning 2017-02-21 20:29:29 +01:00
twinaphex
4645e7709b Fix another REVERSE_INULL coverity warning 2017-02-21 20:28:49 +01:00
twinaphex
2ed15fbfbc (task_image.c) Fix REVERSE_INULL coverity warning 2017-02-21 20:28:10 +01:00
twinaphex
f8576ca88c Fix C89_BUILD again 2017-02-21 19:56:43 +01:00
twinaphex
e3ddb75a2a signed/unsigned warning fix 2017-02-21 19:35:22 +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
d7fda3016e Update 2017-02-21 16:33:22 +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
c6d255ef63 Merge pull request #4677 from GregorR/netplay-nat-traversal-task-3
Properly conditionalize NAT traversal task on HAVE_NETWORKING
2017-02-21 05:50:03 +01:00
twinaphex
81949ae2fe (task_content.c) Cleanups 2017-02-21 05:31:34 +01:00
Gregor Richards
631586b0b7 Properly conditionalize NAT traversal task on HAVE_NETWORKING 2017-02-20 23:27:50 -05: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
Gregor Richards
5f723d1bda Moving NAT traversal into a task to avoid blocking the UI. 2017-02-20 19:08:31 -05:00
Andrés
342be9a594 Merge pull request #4669 from fr500/master
fix no playlists + no content edge case
2017-02-19 11:58:30 -05:00
radius
f33b6bc226 fix no playlists + no content edge case 2017-02-19 11:58:09 -05:00
bparker06
0231585d06 Merge pull request #4665 from fr500/master
fix #4663
2017-02-18 20:41:58 -05:00
radius
e980577531 fix #4663 2017-02-18 20:10:37 -05:00
twinaphex
d1aff197b9 Cleanup netplay_lan_scan_callback 2017-02-18 22:12:41 +01:00
twinaphex
7a5ed7cc65 Add filestream_flush and use filestream interface for tasks/task_save.c 2017-02-17 03:03:18 +01:00
radius
f00dd6f7c4 update changelog & copyright 2017-02-15 18:25:21 -05:00
radius
3a6c7b96fd prevent null check 2017-02-15 18:15:42 -05:00
Pedro Ribeiro
6659c6af3a Fix dualshock 3 detection bug 2017-02-13 21:52:53 +00:00
Brad Parker
91ebcc0680 revert 6e969d0, but need to investigate if the original change to string_is_equal is valid 2017-02-13 15:37:34 -05:00
Brad Parker
6e969d0bc6 should be !string_is_equal 2017-02-13 15:12:04 -05:00
radius
cd17927990 fix contentless netplay! thanks Gregor 2017-02-09 21:22:52 -05:00
radius
a33778cb87 fix crashes when trying to connect with contentless cores 2017-02-09 21:10:40 -05:00
radius
ee6d76e932 fix message 2017-02-07 00:12:30 -05:00
radius
c9015aa9ba attempt autoconf fallback for android 2017-02-07 00:12:30 -05:00
twinaphex
e3a1b1859d Fix ./configure --disable-rgui 2017-02-04 09:20:41 +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
Juan
2c721a478c Workaround for manual netplay content loading 2017-02-02 16:32:01 -03:00
Andrés
39e7b9ffde Add a few comments 2017-02-02 14:11:20 -05:00
Brad Parker
44040a066a make another netplay string translatable 2017-01-31 13:41:02 -05:00
twinaphex
75133941a9 Fix relative includes 2017-01-31 05:33:42 +01: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
radius
cfb882f4fc add support for no content cores 2017-01-28 22:12:34 -05:00
twinaphex
41349621cf Add extra param to runloop_get_status 2017-01-25 16:57:22 +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
twinaphex
5577b21f95 (netplay_find_content.c) Try to use strlcpy where possible 2017-01-25 02:00:44 +01:00
Twinaphex
071c4c1f3f Merge pull request #4500 from fr500/master
Refactor the task
2017-01-25 01:56:32 +01:00
radius
9ae228f76e look for the proper extension too 2017-01-24 18:45:26 -05:00
radius
b90a23af55 rename variables 2017-01-24 18:39:17 -05:00
radius
080a9632f9 refactor this code to be able to check for proper extension support before loading 2017-01-24 18:35:57 -05:00
Alcaro
6ff36461b4 Fix #4493 in a less incompatible way 2017-01-25 00:34:58 +01:00
twinaphex
6e59a2cce1 Copy buf inside entry first 2017-01-24 16:56:22 +01:00
twinaphex
0006849ed5 use path_remove_extension from libretro-common file_path.c instead 2017-01-24 16:50:40 +01:00
twinaphex
50a7e634c9 Get rid of this log message 2017-01-24 15:15:41 +01:00
Twinaphex
a9ceed79fa Silence unused variable warning 2017-01-24 14:15:36 +01:00
Twinaphex
8b02d2bd36 Merge pull request #4494 from fr500/master
better filename matching
2017-01-24 12:10:03 +01:00
radius
8f766574d3 strstr produces lot of false matches, path_remote_extension didn't seem to work so I included my own version 2017-01-23 21:21:26 -05:00
twinaphex
793c894abb (task_screenshot.c) Cleanups 2017-01-24 01:58:48 +01:00
twinaphex
062433491f (task_netplay_find_content.c) Try to prevent new resource leaks 2017-01-24 00:48:40 +01:00
twinaphex
d28c138d09 (task_content.c) Cleanups 2017-01-23 21:03:41 +01:00
twinaphex
c19a0bdc5d Simplify take_screenshot function 2017-01-23 15:13:31 +01:00
twinaphex
1749941881 Refactor patch.c 2017-01-23 14:56:09 +01:00
twinaphex
4aac4aa2e6 Revert "Use task_set_title"
This reverts commit c867784898.
2017-01-23 14:15:26 +01:00
twinaphex
ee46e427ae Revert "Use task_set_title"
This reverts commit 83b1bbe247.
2017-01-23 14:15:14 +01:00
twinaphex
83b1bbe247 Use task_set_title 2017-01-23 13:29:34 +01:00
twinaphex
c867784898 Use task_set_title 2017-01-23 13:19:35 +01:00
radius
9f3e2f6ba3 fix msg 2017-01-23 01:00:32 -05:00
radius
732c389f26 fix CRC matching 2017-01-22 23:49:37 -05:00
radius
f6b09c25e3 fix CRC matching 2017-01-22 23:41:59 -05:00
radius
8581067d65 merge 2017-01-22 22:49:55 -05:00
radius
c421baef0c netplay quick connect fixes 2017-01-22 22:49:01 -05:00
radius
86e332038b netplay quick connect fixes 2017-01-22 22:45:48 -05:00
Brad Parker
7b533c6720 cleanup 2017-01-22 21:56:14 -05:00
radius
2be1355b57 this should work as soon as the server component is updated 2017-01-22 18:57:50 -05:00
radius
3306f5274a add name matching 2017-01-22 18:39:07 -05:00
radius
97c629ebc3 this could be freed before loading so let's prevent that 2017-01-22 17:43:05 -05:00
radius
50f3a3318d cleanup this 2017-01-22 16:02:24 -05:00
twinaphex
178d959cad Fix C89_BUILD 2017-01-22 21:24:57 +01:00
Twinaphex
3ff158b907 Merge pull request #4436 from fr500/lobby
Basic lobby system (don't merge, just for tracking)
2017-01-22 21:08:43 +01:00
radius
c8081bc3df it loads now 2017-01-22 13:52:35 -05:00
radius
fc68abebdd find the core from core_info 2017-01-22 13:39:27 -05:00
radius
a0e6a24f38 use deferred netplay init 2017-01-22 13:07:30 -05:00
Jean-André Santoni
680d281cb9 Unhardcode CRC 2017-01-22 18:53:33 +01:00
Jean-André Santoni
469aed2e0f Improve the task, with hostname and corename 2017-01-22 18:39:19 +01:00
twinaphex
2f504b4057 (gfx/drivers) Get rid of remaining runloop.h / runloop_ctl
references inside gfx/drivers
2017-01-22 18:17:48 +01:00
Brad Parker
45d4a8865c free task state when finished 2017-01-22 11:33:20 -05:00
Brad Parker
8c216bd233 task title must point to memory that can be freed 2017-01-22 11:31:54 -05:00
twinaphex
96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
Jean-André Santoni
2dee8f77b6 (Netplay) Add a task to find a game from its CRC 2017-01-22 03:17:50 +01:00
twinaphex
aa47903520 Prevent 'dereference before null check' 2017-01-18 17:53:25 +01:00
twinaphex
a3f5590f41 remove dependence on configuration.h inside task_database.c 2017-01-18 01:23:24 +01:00
twinaphex
6e52a25b86 Attempt to fix 'write to pointer after free' issues 2017-01-14 13:51:20 +01:00
twinaphex
add7d26c3d Set device name for xinput/dinput even when autoconfig is
disabled
2017-01-13 04:40:44 +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
f246cc7b40 (task_autodetect.c) Style nits 2017-01-09 11:45:04 +01:00
twinaphex
ccca4c303d Set supports_rgba for overlay images 2017-01-08 21:45:43 +01:00
Twinaphex
2834370e09 Revert "allow serial scanner to match PBP" 2017-01-07 05:52:12 +01:00
radius
1866706c75 allow serial scanner to match PBP 2017-01-06 22:05:55 -05:00
twinaphex
6078deb510 (PS3) Fix warnings 2017-01-05 07:48:11 +01:00
twinaphex
e75633064a Add 'Y button' callback function for input binds 2017-01-05 04:52:04 +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
faf939856b Rewrite task_queue.c - get rid of messy internal Rarch code 2017-01-03 18:27:09 +01:00
twinaphex
314fd776e3 (task_screenshot.c) Cleanups 2017-01-03 06:57:55 +01:00
twinaphex
135394d193 Add is_paused member variable to screenshot task state 2017-01-03 04:42:10 +01:00
twinaphex
80519955ca (task_screenshot.c) Nits 2017-01-03 04:40:11 +01:00
twinaphex
f6c861cf1a Cleanup 2017-01-03 04:37:52 +01:00
twinaphex
20d313204a Add history_list_enable to screenshot task state 2017-01-03 04:35:13 +01:00
twinaphex
5de111212a (task_screenshot.c) Cleanups 2017-01-03 04:30:02 +01:00
twinaphex
be21e30230 task_autodetect.c - cleanup 2017-01-03 03:52:26 +01:00
twinaphex
03818dc780 Always set VID/PID/name for connect tasks 2017-01-02 07:47:38 +01:00
twinaphex
824ba64daa Set autoconfig directory for autodetect task 2017-01-02 05:33:29 +01:00
twinaphex
6d4659a902 (overlay) Reduce dependence on grabbing settings pointer everywhere 2017-01-01 04:12:24 +01:00
twinaphex
d3470637ad Add max_users param to autoconfig_params_t 2016-12-31 07:54:38 +01:00
twinaphex
103042de96 Rewrite task_autodetect.c 2016-12-31 07:43:34 +01:00
twinaphex
6faabfeebf Don't use settings struct from thrading functions 2016-12-31 07:03:29 +01:00
twinaphex
5d6bdbc2cd (task_image.c) Cleanup 2016-12-30 05:36:06 +01:00
twinaphex
876a68717e We don't need enum_idx for task_push_image_load 2016-12-30 05:33:04 +01:00
twinaphex
583511c045 nbio handle should be initialized on the thread, not the
main thread
2016-12-30 04:58:58 +01:00
twinaphex
9657bbd998 Get rid of set_rgba/unset_rgba inside image_texture.c 2016-12-29 23:22:40 +01:00
twinaphex
05a899a411 Add nbio_status_flags 2016-12-29 23:14:48 +01:00
twinaphex
6a166faa0c Revert "Remove supports_rgba varaible from image_texture.c"
This reverts commit bd0c97fdc4.
2016-12-29 22:53:10 +01:00
twinaphex
bd0c97fdc4 Remove supports_rgba varaible from image_texture.c 2016-12-29 22:39:52 +01:00
Brad Parker
41f40acfc4 guard task struct read/writes across threads with a mutex, fixes several data races found by ThreadSanitizer and helgrind 2016-12-29 00:54:12 -05:00
twinaphex
67f1cca625 Don't try to use settings_t pointer from task callback functions 2016-12-29 06:09:58 +01:00
twinaphex
3a581ba8b0 (task_autodetect.c) Solve some threading errors 2016-12-29 05:49:24 +01:00
twinaphex
31aa1d6d19 Fix saved state message 2016-12-28 00:44:29 +01:00
twinaphex
28dedee477 Attempt to prevent crashes in task_image 2016-12-28 00:40:46 +01:00
twinaphex
6708da5ec1 task->progress is where the data race issues come from - commenting
out for now
2016-12-28 00:20:34 +01:00
twinaphex
2f0c66da34 Use non-C++ comments 2016-12-28 00:14:16 +01:00
twinaphex
89bb4f610d task_http.c - comment this out until we have fixed the threading
errors
2016-12-28 00:11:56 +01:00
twinaphex
141046b45b Add note about race issue 2016-12-27 23:56:32 +01:00
twinaphex
ea39d3914e Prevent some heap-use-after-free issues 2016-12-27 23:48:10 +01:00
twinaphex
91f3a4bf11 Remove this - not threadsafe 2016-12-27 23:21:00 +01:00
twinaphex
3ec564f97c Revert "(task_save.c) Cleanups"
This reverts commit d6aae88737.
2016-12-27 20:11:22 +01:00
twinaphex
c6269e3ade (task_save.c) Further cleanups 2016-12-27 15:16:42 +01:00
twinaphex
2a5e74ecb0 Cleanup autosave_free/autosave_deinit 2016-12-27 15:14:27 +01:00
twinaphex
a42d5c9ec8 Cleanup autosave_unlock 2016-12-27 03:15:58 +01:00
twinaphex
b0ebd33094 (task_save.c) Cleanups 2016-12-27 02:14:35 +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
d6aae88737 (task_save.c) Cleanups 2016-12-26 18:25:42 +01:00
twinaphex
958a028b0a (task_database.c) Remove unused message queue 2016-12-24 20:36:37 +01:00
twinaphex
c27038d9bd (Wii) Fix build 2016-12-24 03:21:29 +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