Filipe Azevedo
788d602ec7
Fix various vfs / file stream issues ( #14384 )
...
* VFS: Fix stream size after truncate / write calls
Those changes ensure the stream size get updated correctly after a
truncate or write call.
* File Stream: Fix file stream eof
After a write call, EOF would be incorrect because it was only updated
after a read call.
2022-09-04 23:11:54 +02:00
LibretroAdmin
da13fb0f48
Don't include errno.h in files that don't justify its use
2022-08-25 05:19:30 +02:00
LibretroAdmin
ec6f4c1f55
(libretro-common) refinements to documentation
2022-08-01 13:06:35 +02:00
libretroadmin
9e430cd8b9
(libretro-common) Cleanups:
...
* Work more with return values, prevent unnecessary local stack variables
when possible
* Reduce lines of code
* Move local stack variables to proper scope
2022-07-10 19:06:18 +02:00
Jamiras
088aa7dcb9
add github action for c89 build ( #13186 )
...
* add retroarch.yml
* fix c89 errors
* attempt to add dependencies
* update comments
2021-11-05 00:05:13 +01:00
jdgleaver
f52fbd32a0
(libretro-common/file_stream) Restore missing filestream_scanf() function
2021-09-24 12:12:52 +02:00
jdgleaver
6c5e17e5ae
Fix file_stream_transforms:rfscanf() ( #13023 )
2021-09-21 17:04:34 +02:00
David Guillen Fandos
b2c20e8ce0
Initial support for tweaking CPU governors/scaling policies
...
This is, at the moment, aimed at Lakka only.
2021-05-01 18:35:38 +02:00
twinaphex
c744baeb89
Add ctype variants to stdstring and use it in RA
2020-09-27 22:15:32 +02:00
twinaphex
fa6d5333f7
More silencing of warnings
2020-07-23 06:39:21 +02:00
twinaphex
6e59d52184
Cleanups/comments
2020-07-07 05:58:07 +02:00
twinaphex
ad8c22e6ac
Fix build for MSVC 2003
2020-06-30 01:50:12 +02:00
twinaphex
5cfc4defc6
(libretro-common) Prevent more static code analysis warnings
2020-06-29 20:31:14 +02:00
twinaphex
672deef31a
Prevent static code analyzer complaining about potential
...
memory leaks
2020-06-29 20:06:37 +02:00
twinaphex
6318e11027
Try to prevent static code analyzer warning about potential leak
2020-06-29 20:02:28 +02:00
twinaphex
1b86ea43c3
Try to use vsnprintf where possible instead of vsprintf
2020-06-26 20:56:14 +02:00
twinaphex
966348327d
Cleanups
2020-06-26 19:07:38 +02:00
twinaphex
8bf11e9b18
(libretro-common) Try to prevent implicit usage of stdio fprintf
2020-05-24 20:18:36 +02:00
twinaphex
89c7d1a835
Update libretro-common
2020-05-14 09:27:58 +02:00
twinaphex
cd9ca691ca
(libretro-common) Update copyright
2020-01-31 15:43:42 +01:00
twinaphex
eb4e365820
(libretro-common) Cleanups
2020-01-27 17:00:18 +01:00
Twinaphex
29dc30fa48
Revert " add hashing support for PSX cheevos (bin/cue, chd, or real CD)"
2019-08-30 15:55:07 +02:00
Jamiras
1348c2cc75
fix wiiu build
2019-08-29 21:05:44 -06:00
Jamiras
bcd61d7f9b
add hashing support for PSX cheevos (bin/cue, chd, or real CD)
2019-08-29 21:05:14 -06:00
twinaphex
d6df17a154
Revert "add hashing support for PSX cheevos (bin/cue, chd, or real CD)"
...
This reverts commit 11854333742fd7887cfa4f818d848963a82fab76.
2019-08-30 03:14:42 +02:00
Jamiras
1185433374
add hashing support for PSX cheevos (bin/cue, chd, or real CD)
2019-08-23 08:02:06 -06:00
Brad Parker
7935cc80ee
media: add function to parse cue and detect system from first data track
2019-07-30 02:37:00 -04:00
Brad Parker
41b3adc8a4
cdrom: always request one sector at a time
2019-07-21 12:06:10 -04:00
twinaphex
4c276feb4a
Update
2019-07-17 23:16:25 +02:00
twinaphex
538cca8bcd
Fix issue in file_stream.c - it would corrupt memory if
...
maxlen is negative
2019-07-06 06:20:01 +02:00
Brad Parker
9617605371
cdrom: set optimal read speed
2019-06-30 18:34:00 -04:00
orbea
28ff4b391a
Clean up white space.
2019-02-03 16:00:50 -08: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
e37f5a2465
Update libretro-common
2018-11-05 14:47:06 +01:00
Nathan Strong
edacf67e75
Capture CRC content for deferred-loading cores
...
== DETAILS
Fixes a bug where content CRC32 is not calculated when content loading
is done by the core instead of libretro. This impacts the ability to
do accurate content matching on netplay.
This notably affects MAME, but is by no means limited to MAME.
Change summary:
- adds a method to the crc32 implementation that calculates crc32 for
a file (as opposed to an in-memory buffer)
- fix a minor bug that would print the "core will load its own content"
right before attempting to load compressed content
- in the actual "core will load its own content" path, calculate the CRC32
and log it before returning
== TESTING
Tested locally on OSX:
- loaded content
- started netplay
- confirmed CRC showing in netplay data
- verified CRC32 against external crc32 tool
2018-10-18 11:26:45 -07:00
twinaphex
c563eedb32
Hopefully the VFS interface can now remain stable
2018-08-07 05:53:32 +02:00
twinaphex
31e76458f7
Merge commit 'aa9ebf5f29e1a22a5050572353b122915db1451d'
2018-07-05 02:10:00 +02:00
twinaphex
a078d40b80
Squashed 'libretro-common/' changes from edffe4d147..1548bee835
...
1548bee835 Update glsm
df7c8aebea Update glsm
git-subtree-dir: libretro-common
git-subtree-split: 1548bee835ab5fa2d120a4859ff653a5f128de1f
2018-06-25 23:55:40 +02:00
twinaphex
7566e09970
Squashed 'libretro-common/' changes from c3c0facc97..edffe4d147
...
edffe4d147 Buildfix for 3DS - implicit declaration of isspace et al.
git-subtree-dir: libretro-common
git-subtree-split: edffe4d1470ae6b846e420392d324c1b2b14281a
2018-06-22 17:43:11 +02:00
twinaphex
e8b0d6974d
Merge commit '48cb38619ff8bbc5ff3c0df93704b3297047a8fe'
2018-06-22 15:00:02 +02:00
twinaphex
768ebbfdb5
Merge commit 'ce9ce1d35387ef8144e53bf071396fa075bfb6c5' as 'libretro-common'
2018-05-12 17:56:34 +02:00
twinaphex
0548349991
Remove libretro-common
2018-05-12 17:56:14 +02:00
twinaphex
be7eb4de1c
Update libretro-common
2018-04-16 08:57:17 +02:00
twinaphex
041670fe02
Get rid of multitude of casting warnings
2018-04-13 00:47:42 +02:00
twinaphex
1751f4a0af
Make it possible to read bigger files by replacing ssize_t with int64_t
...
and size_t with uint64_t
2018-04-13 00:18:11 +02:00
Twinaphex
08a54e45f2
Get rid of a lot of implicit conversions
2018-04-09 15:56:45 +02:00
twinaphex
85d3be1245
Update libretro-common
2018-03-23 11:17:56 +01:00
aliaspider
700fce3bd2
various fixes for CXX_BUILD.
2018-02-04 20:03:27 +01:00
twinaphex
6208981ad3
filestream_getline - be safer
2018-01-22 21:32:36 +01:00
twinaphex
1f8e0fdfe5
Revert "Update filestream_getline to prevent heap corruption"
...
This reverts commit 60a45db69ea8b26301674a6e120d93485dad241a.
2018-01-19 02:49:24 +01:00