Commit Graph

116 Commits

Author SHA1 Message Date
radius dad3fe42db [netplay] load subsystem content
cleanup

cleanup
2019-01-14 18:58:57 -05:00
radius 9d0472c3ac [netplay] finding content works now
cleanup
2019-01-14 18:58:56 -05:00
orbea bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
twinaphex 51430e9e5f Add runloop_get_libretro_system_info 2018-10-30 08:21:32 +01:00
twinaphex 421e6178e5 Buildfix 2018-10-17 18:20:01 +02:00
Nathan Strong 0abe42d9a4 Rewrite content search task
== DETAILS

In attempting to identify where netplay lobby errors were occuring,
I found that the code which does the content search was pretty messy,
so I've cleaned it up.

- Search is now more efficient. Playlists are only iterated over once,
  instead of twice.
- Error messages are more helpful
- Eliminated goto abuse
- code is easier to follow and has comments describing the logical
  flow.

== TESTING
Tested lightly locally, although hard to test thoroughly due to tight
netplay requirements.
2018-10-16 22:40:13 -07:00
twinaphex ff831a7d99 Silence Coverity warning 2018-02-15 13:07:46 +01:00
twinaphex ed38887910 (VS2017) Update solution 2018-01-23 08:38:40 +01:00
twinaphex 897c1654ab Reduce usage of string_is_not_equal_fast 2018-01-17 01:03:48 +01:00
gblues 6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex af477ff317 C89 buildfix 2017-08-06 17:11:13 +02:00
twinaphex e9f9702a2d (playlist.c) Don't expose struct details to outside 2017-07-01 03:38:36 +02:00
twinaphex c7b45aaf80 warning fix for C89_BUILD 2017-06-06 23:22:20 +02:00
twinaphex 449483206f Revert "New attempt to fix memory leaks of struct retro_system_info"
This reverts commit a1d3dd69dd.
2017-05-30 01:44:49 +02:00
twinaphex a1d3dd69dd New attempt to fix memory leaks of struct retro_system_info
char variables
2017-05-29 22:24:10 +02:00
twinaphex c74104f8c9 Get rid of RARCH_MENU_CTL_SYSTEM_INFO_* 2017-05-28 16:25:46 +02:00
radius f019b434ef resume game immediately if it was already underway 2017-05-27 20:21:44 -05:00
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 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
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 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 80d9d1f143 Rewrite task_queue 2017-05-14 20:43:48 +02:00
twinaphex 42ebe7a7ad Merge runloop.c and retroarch.c 2017-05-11 09:11:46 +02:00
twinaphex e6ab06a701 Move path variables 2017-04-29 00:39:29 +02:00
twinaphex eb208b170f Fix codepath for HAVE_MENU not being defined 2017-04-23 17:48:45 +02:00
twinaphex 6ebd4e139e Rewrite more string_is_equal call invocations as memcmp 2017-04-22 08:51:16 +02: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
twinaphex e3ddb75a2a signed/unsigned warning fix 2017-02-21 19:35:22 +01:00
twinaphex 0789fff6df Rename load content tasks 2017-02-21 18:36:47 +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 1582a47bb9 Create task_push_content_load_new_content_with_new_core_from_menu 2017-02-21 04:31:03 +01:00
twinaphex 0b5118423d Create task_push_content_load_nothing_with_new_core_from_menu 2017-02-21 04:07:40 +01:00
twinaphex cca72126f2 Create task_push_content_load_nothing_with_current_core_from_menu 2017-02-21 03:54:34 +01:00
radius f33b6bc226 fix no playlists + no content edge case 2017-02-19 11:58:09 -05: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
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
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
radius cfb882f4fc add support for no content cores 2017-01-28 22:12:34 -05:00
twinaphex 5577b21f95 (netplay_find_content.c) Try to use strlcpy where possible 2017-01-25 02:00:44 +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
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
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 062433491f (task_netplay_find_content.c) Try to prevent new resource leaks 2017-01-24 00:48:40 +01:00
twinaphex 4aac4aa2e6 Revert "Use task_set_title"
This reverts commit c867784898.
2017-01-23 14:15:26 +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