Commit Graph

1336 Commits

Author SHA1 Message Date
aliaspider
bf7d19f401 skip loading a core when it is already active when starting a netplay
game.
2017-05-24 15:10:31 +01:00
radius
a98c2c38c0 update copyrights 2017-05-23 19:55:47 -05:00
Twinaphex
50fc71a0a6 Merge pull request #4957 from fr500/fixes
[lobby] allow connecting without reloading content
2017-05-22 08:23:24 +02:00
aliaspider
634de19dc9 (WiiU) enable libretrodb. 2017-05-22 06:07:27 +01:00
radius
bae2110bb4 cleanup conditionals 2017-05-21 23:43:12 -05:00
radius
d1291f406b allow connecting without reloading content when content_get_crc matches with that of the current loaded game 2017-05-21 23:43:12 -05:00
aliaspider
eede1a4978 no need to swap endianess here. 2017-05-22 05:26:13 +01:00
twinaphex
4333e3d5e7 Cleanups 2017-05-20 14:02:16 +02:00
twinaphex
a87f3ae3cd Prevent explicit NULL pointer dereference warning 2017-05-19 18:54:40 +02:00
twinaphex
c53bb90b75 Get rid of error_msg label 2017-05-18 08:04:24 +02:00
twinaphex
82d37d2036 Don't loop audio files by default 2017-05-18 07:27:41 +02:00
twinaphex
5343648dc9 Start creating state machien for audio mixer streams 2017-05-18 06:16:16 +02:00
twinaphex
312a2b5c80 Cleanups/try to prevent memory leaks with task_audio_mixer.c 2017-05-18 05:12:41 +02:00
twinaphex
668813cca9 (task_image.c) Refactor code 2017-05-18 01:31:14 +02:00
twinaphex
9a90477c6d Reimplement task_audio_mixer.c 2017-05-18 01:19:47 +02:00
twinaphex
b3faed3906 Remove NBIO_STATUS_TRANSFER_PARSE_FREE to NBIO_STATUS_TRANSFER_FINISHED 2017-05-18 00:39:39 +02:00
twinaphex
4ad8d3c917 Remove NBIO_STATUS_POLL 2017-05-18 00:09:17 +02:00
twinaphex
80512800e1 (task_audio_mixer.c) Further work on task_audio_mixer.c 2017-05-17 14:13:02 +02:00
twinaphex
21341c5b3a Rework task_audio_mixer.c to use NBIO 2017-05-17 14:04:33 +02:00
radius
6e45af3858 look into the history playlist too 2017-05-17 02:08:17 -05:00
twinaphex
1bf0175da4 Try to prevent string message leaking in tasks 2017-05-16 04:50:20 +02:00
twinaphex
126a5bf121 Use string_is_equal_fast/string_is_not_equal_fast 2017-05-16 04:00:37 +02:00
twinaphex
8eca08c6ac Start using string_is_equal_fast/string_is_not_equal_fast macros
instead of straight memcmp
2017-05-16 03:20:59 +02:00
twinaphex
7e89335392 (task_wifi.c) Prevent memory leak for title 2017-05-16 02:52:30 +02:00
twinaphex
8e76c4a131 Prevent title memory leak 2017-05-16 02:48:54 +02:00
twinaphex
2f9eb86a59 Cleanup 2017-05-16 00:02:26 +02:00
twinaphex
c21abd28f8 Implement audio_mixer_stopped differently 2017-05-15 23:15:22 +02:00
twinaphex
b8cea125e4 Create stub function for looping sounds 2017-05-15 23:03:54 +02:00
twinaphex
69f9bc840d Remove unused variable 2017-05-15 19:16:40 +02:00
twinaphex
5fc5cb4962 Cleanups 2017-05-15 11:25:45 +02:00
twinaphex
67610b8263 Update task_audio_mixer.c 2017-05-15 11:07:12 +02:00
twinaphex
375b588847 Cleanups 2017-05-15 09:29:44 +02:00
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
8bdcb2f123 Push callback to task_push_wifi_scan 2017-05-15 02:44:24 +02:00
twinaphex
56fb642119 Rewrite task_netplay_lan_scan.c - pass callback function to task 2017-05-15 02:09:26 +02:00
twinaphex
c898ef1d6d Attempt to copy over audio mixer data 2017-05-15 01:28:46 +02:00
twinaphex
949a5c76fe Cleanup 2017-05-14 23:58:48 +02:00
twinaphex
3410d5c4e4 Cleanups 2017-05-14 23:36:30 +02:00
twinaphex
3afd2497d2 Add test 2017-05-14 23:27:03 +02:00
twinaphex
b0746a4910 Update 2017-05-14 23:14:50 +02:00
twinaphex
dd4146e302 Try to write initial implementation of audio mixer task 2017-05-14 23:12:27 +02:00
twinaphex
b13ca2df97 (task_patch.c) Cleanup 2017-05-14 22:23:05 +02:00
twinaphex
80d9d1f143 Rewrite task_queue 2017-05-14 20:43:48 +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
ed40b13ea0 (task_image.c) Cleanups 2017-05-14 17:32:07 +02:00
twinaphex
f98473b9da (task_image.c) Cleanups 2017-05-14 08:09:21 +02:00
twinaphex
a4ac0df389 (task_image.c) Cleanups 2017-05-14 08:06:40 +02:00
twinaphex
13d6827689 (task_image.c) Cleanups 2017-05-14 07:58:43 +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
e5ed82858f C89_BUILD buildfix 2017-05-14 03:24:59 +02:00
twinaphex
def3343272 Add empty audio_mixer file 2017-05-14 02:03:40 +02:00
twinaphex
88dbbb284d Add ips_pref/bps_pref/ups_pref to content_information_ctx 2017-05-14 01:12:47 +02:00
twinaphex
88c04be7a4 Cleanups 2017-05-14 01:04:37 +02:00
twinaphex
7dfbfef995 Cleanups 2017-05-14 00:54:58 +02:00
twinaphex
71499abf1f (task_patch.c) Cleanups 2017-05-14 00:52:56 +02:00
twinaphex
6dd3a84bc9 Cleanup 2017-05-13 23:41:13 +02:00
twinaphex
b75f242a7f Cleanups 2017-05-13 22:35:10 +02:00
twinaphex
484fff5e28 Cleanups 2017-05-13 22:30:45 +02:00
twinaphex
bd7970b9b7 Cleanups 2017-05-13 22:28:19 +02:00
twinaphex
8ae708576f task_patch.c - cleanups 2017-05-13 22:21:57 +02:00
twinaphex
b22d7902f1 Turn macro back into function 2017-05-13 19:37:16 +02:00
twinaphex
72fe4a1e3c CLeanups 2017-05-13 18:10:26 +02:00
twinaphex
72bd83b8d1 Cleanups to tasks_internal.h 2017-05-13 18:08:37 +02:00
twinaphex
541c6e6c41 (task_image.c) Cleanups 2017-05-13 08:06:52 +02:00
twinaphex
43dcc3d501 Add NBIO_TYPE_OGG/NBIO_TYPE_WAV 2017-05-13 08:03:00 +02:00
twinaphex
42ebe7a7ad Merge runloop.c and retroarch.c 2017-05-11 09:11:46 +02:00
twinaphex
2906bec7a8 Create input_driver_get_uint 2017-05-11 07:36:21 +02:00
radius
4af9a92f76 fix 3829 2017-05-09 22:10:46 -05:00
twinaphex
06f5f635ca Cleanups 2017-05-09 20:10:58 +02:00
twinaphex
476738cc5c Cleanups 2017-05-09 20:08:40 +02:00
twinaphex
739495027b Cleanups 2017-05-09 20:03:39 +02:00
twinaphex
7ed57ee77d (task_image) Cleanups 2017-05-09 20:01:42 +02:00
twinaphex
da1ab24c57 Cleanups 2017-05-09 07:13:47 +02:00
twinaphex
5245590bae (audio_mixer.c) Prevent null pointer dereference 2017-05-08 05:55:20 +02:00
Twinaphex
12027bf1a8 Merge pull request #4889 from leiradel/master
Reverted cheevos changes in preparation for conversion to task; fixed 4884
2017-05-07 20:28:32 +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
924296c680 task_save.c - remove runloop.h header include 2017-05-07 17:53:53 +02:00
twinaphex
4d20460e6b Cleanup task_save.c 2017-05-07 17:52:48 +02:00
twinaphex
750d404e23 Rewrite autosave_init 2017-05-07 17:45:53 +02:00
twinaphex
03db246f88 Refactor cheevos_is_nes_game 2017-05-06 18:47:16 +02:00
twinaphex
637e8d76ab Create cheevos_is_nes_game 2017-05-06 18:43:45 +02:00
twinaphex
881b18a965 Cleanups 2017-05-06 17:23:19 +02:00
twinaphex
75c45c4f2b Try to avoid warning 2017-05-06 17:15:35 +02:00
twinaphex
88ca3e993c (task_cheevos.c) Use retro_miscellaneous' next_pow2 function 2017-05-06 17:03:53 +02: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
558cb64438 Don't grab settings pointer during task_overlay_handler 2017-05-06 06:08:24 +02:00
twinaphex
36375cecf8 input_swap_override - Get rid of dependency on settings 2017-05-06 06:01:15 +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
75a5af26c6 Revert "(task_autodetect.c) Set input_swap_override later on"
This reverts commit 582573f324.
2017-05-06 05:42:11 +02:00
twinaphex
582573f324 (task_autodetect.c) Set input_swap_override later on 2017-05-06 05:32: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
969403fadb Header include cleanups 2017-04-29 13:20:50 +02:00
twinaphex
e6ab06a701 Move path variables 2017-04-29 00:39:29 +02:00
twinaphex
05e4ec733e Move uint variables 2017-04-28 21:03:04 +02:00
twinaphex
7bbd20b31d Move int settings 2017-04-28 19:12:48 +02:00
twinaphex
0da40fb3aa Move all float settings 2017-04-28 14:57:55 +02:00
twinaphex
ed53be7c81 Move all bool settings 2017-04-28 14:11:34 +02:00
twinaphex
0c6ba894fd task_autodetect.c - cleanups 2017-04-26 18:48:28 +02:00
twinaphex
3087ceb482 Don't go through all these slow wrapper functions 2017-04-25 20:47:21 +02:00
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