Commit Graph

265 Commits

Author SHA1 Message Date
Grisly Glee
4202f8650d
Fix trivial signedness warnings (#15377)
* Fix trivial signedness warnings

* Followup on trivial signedness warnings
2023-06-14 04:43:11 +02:00
libretroadmin
d2ac15c6db Fixes filestream_vscanf regression 2023-03-15 20:13:04 +01:00
libretroadmin
3adcbea501 Silence some implicit conversion warnings 2023-02-23 21:59:02 +01:00
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
Cthulhu-throwaway
e1a139ec0f
(Network Stream) Add function netstream_eof (#14335) 2022-08-21 21:52:57 +02:00
Cthulhu-throwaway
f27c8c0c1d
(Network Stream) Add string functions (#14333) 2022-08-20 16:36:13 +02:00
Filipe Azevedo
e8668a5c71
rzipstream_tell: Fix missing tell for non compressed files (#14313)
The tell call would always return the compressed stream position.
2022-08-15 17:48:09 +02:00
Filipe Azevedo
d62b866237
rzipstream_gets: Fix missing eol (#14311)
The eol was always stripped from the data, leading to behavior
differences with filestream_gets and general read line implementations.
2022-08-11 23:17:00 +02:00
LibretroAdmin
ec6f4c1f55 (libretro-common) refinements to documentation 2022-08-01 13:06:35 +02:00
Cthulhu-throwaway
83ed9a5980
(Network) Implement binary network streams (#14180) 2022-07-17 19:43:48 +02:00
libretroadmin
69ddf03c91 Remove unused return variables 2022-07-12 18:00:33 +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
twinaphex
460f5e745d Silence some MSVC 2019 code analysis warnings 2022-03-05 14:39:56 +01:00
Jamiras
5d3654ddbb
(cheevos) support for identifying Dreamcast CHDs (#13628)
* support for identifying Dreamcast CHDs

* fix copy/paste error
2022-02-15 15:09:43 +01:00
jdgleaver
3c4b39057f
file_stream_transforms.c: Ensure correct return values + fix segfault when calling rfread() with zero elem_size (#13279) 2021-11-24 11:32:42 +01: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
CrystalCT
1d48b9c61e Add some PSL1GHT ifdefs 2021-03-12 12:22:58 +01:00
twinaphex
4b0f344024 Silence some warnings 2021-02-16 20:57:54 +01:00
twinaphex
41a8661bdf Silence more implicit conversions 2021-01-16 21:03:57 +01:00
twinaphex
5119a67b41 Simplify code 2021-01-16 20:17:27 +01:00
twinaphex
870707dbe8 Remove obsolete __CELLOS_LV2__ references - use PSL1GHT instead 2020-12-19 15:32:26 +01:00
twinaphex
c744baeb89 Add ctype variants to stdstring and use it in RA 2020-09-27 22:15:32 +02:00
twinaphex
f48dc0ff5b Reorder structs, alignment 2020-08-15 20:38:31 +02:00
twinaphex
aba17fdc92 Warning fix 2020-08-01 18:18:09 +02:00
twinaphex
fa6d5333f7 More silencing of warnings 2020-07-23 06:39:21 +02:00
twinaphex
638d692d2e Cleanups 2020-07-09 02:35:32 +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
316914cb45 Prevent another static code analysis warning 2020-06-29 19:23:45 +02:00
twinaphex
1a625f32e8 Update 2020-06-28 20:40:43 +02:00
twinaphex
595c8ce5d0 (libretro-common/streams) Cleanups 2020-06-28 20:32:23 +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
08a1a21d71 (libretro-common) Cleanups 2020-06-26 15:26:52 +02:00
jdgleaver
0a33e562f4 Add option to backup/restore installed cores 2020-06-04 12:20:58 +01:00
twinaphex
8bf11e9b18 (libretro-common) Try to prevent implicit usage of stdio fprintf 2020-05-24 20:18:36 +02:00
Jamiras
c805fd3213 return false when special track cannot be found 2020-05-18 09:10:06 -06:00
twinaphex
89c7d1a835 Update libretro-common 2020-05-14 09:27:58 +02:00
jdgleaver
fa9290cf1e Add optional playlist compression 2020-04-21 16:44:26 +01:00
jdgleaver
c1f4a7536a Expand functionality of 'rzip_stream' interface 2020-04-17 16:18:16 +01:00
jdgleaver
233456df47 Add optional save state compression 2020-04-15 15:48:41 +01: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