Cthulhu-throwaway
1f879b0472
(Netplay/Content Find Task) Ensure CRC32 is 8 characters long ( #13887 )
...
Ensure CRC32 is 8 hexadecimal characters long when comparing CRCs with loaded content.
2022-04-25 18:36:59 +02:00
Autechre
f42591305d
Revert "Fix crc32 comparision ( #13884 )" ( #13886 )
...
This reverts commit f377c0d04148d37525e98b3047ffbae559f445a5.
2022-04-25 18:06:04 +02:00
Alexander Trufanov
f377c0d041
Fix crc32 comparision ( #13884 )
...
As state->content_crc has "|crc" suffix.
2022-04-25 15:40:25 +02:00
twinaphex
9b4636ff62
Fixes --disable-menu
2021-10-15 14:32:07 +02:00
Nathan Strong
fb86ca6e33
Fix the snprintf warnings for everyone this time
...
== DETAILS
So, basically this back-and-forth is because we used fixed-size
data types (i.e. `uint32_t`) which maps to different primitive data
types on different platforms. So `uint32_t` might be a `long` on some
platforms (e.g. Wii U), while it's just a plain integer on others (PC).
And the format specifier works off primitive data type, not data type
size.
So, to resolve this, we:
- keep `%lx` as the format specifier
- cast the parameter to printf to unsigned long
This is better than the alternatives that could cause problems trying to
cast a long down to an int.
2021-09-25 15:08:34 -07:00
Nathan Strong
9b2d4236ad
WIIU: Clean up a bunch of compiler warnings
...
== DETAILS
These changes fall into a few broad categories:
1. Explicitly undefine things we want to re-define due to conflicts with
the version of devkitpro we're using
2. Clean up hex format specifiers to use `%lx` or `%lX` when working with
long integers
3. Move variables inside the ifdef they're used in to squelch "unused variable"
messages
4. Add parenthesis to make Wii U shader declarations stop complaining
And then there's a weird "misleading indent" warning that I fixed by just
rewriting a block of code to use a switch statement instead of if-then-else.
These changes work fine on Wii U, but we'll need to keep an eye on CI/CD to see
if other platform builds break.
2021-09-25 13:25:39 -07:00
twinaphex
83ce4259a0
Have only one getter for runloop_state
2021-09-21 19:08:26 +02:00
twinaphex
f21641d898
Get rid of another 'getter' function
2021-09-21 18:30:56 +02:00
twinaphex
357b7d68f6
(libretro-common) Rename rhash to lrc_hash
...
(rcheevos) Rename rhash to rc_hash
2020-12-28 19:55:54 +01:00
twinaphex
8ff4134a76
Cleanup
2020-09-20 00:17:11 +02:00
twinaphex
87c0fb6323
Struct reordering
2020-08-14 18:58:09 +02:00
francescotintori
9744fcb76a
Adds base content directory support in playlists. If playlist base content directory does not match configuration parameter 'rgui_browser_directory', all entries paths are automatically fixed to match parameter 'rgui_browser_directory'.
...
Functionality is enabled if new parameter 'playlist_autofix_paths' is enabled.
2020-07-27 20:59:56 +02:00
jdgleaver
0fcfb3deda
Refactor playlist struct configuration
2020-06-26 15:40:19 +01:00
twinaphex
de36ff20fb
Create string_ends_with_size
2020-06-25 14:38:06 +02:00
twinaphex
a88bf59b27
Update log messages
2020-06-08 20:31:08 +02:00
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