82 Commits

Author SHA1 Message Date
twinaphex
31674f9246 Use string_ends_with and string_starts_with 2020-05-22 20:57:48 +02:00
twinaphex
ab515daa0c Try to get rid of file_path_str 2019-09-18 18:12:57 +02:00
jdgleaver
5220dc9084 Add independent 'favourites' playlist size setting 2019-07-30 17:13:04 +01:00
radius
d865c5e4a6 add some copyright on files I contributed considerably just in case 2019-06-20 05:45:17 +02:00
twinaphex
118d8bde98 (task_netplay_find_content) Cleanups 2019-06-14 04:46:25 +02:00
twinaphex
6d17d11132 Rewrite '== false' to '!' for our own code 2019-06-06 13:50:39 +02:00
Brad Parker
f7b0c0947c add subsystem_name (friendly name) to history playlist, make playlist_entry struct public to simplify function parameters 2019-04-12 12:50:27 -04:00
Brad Parker
230c64ba4b add subsystem support for playlists, only missing the content load portion 2019-04-11 00:09:13 -04:00
jdgleaver
dc8ef72323 Populate crc32 and db_name fields when adding history/favourites playlist entries
playlist.c: Fix silly range check error
2019-03-09 13:58:53 +00:00
twinaphex
386657a366 (menu widgets backport) Re-commit task queue changes 2019-02-08 08:00:32 +01:00
twinaphex
894f3b7aef Change function signature back 2019-02-08 07:29:50 +01:00
natinusala
c20ab3864d First version of menu widgets (gl only) 2019-02-06 20:48:24 +01:00
orbea
28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
radius
b0b39a1610 this should fix errors with --disable-menu 2019-01-20 17:20:17 -05:00
twinaphex
b13777e9fc Header cleanups 2019-01-20 03:16:58 +01:00
radius
82836c5778 [netplay] simplify find content task 2019-01-14 20:17:53 -05:00
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 a1d3dd69dd51ba21b07e9fb96cd1a7d05f435974.
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