LibretroAdmin
c04201927b
Don't make libretrodb dependent on errno anymore ( #14340 )
...
* Don't make libretrodb dependent on errno anymore
2022-08-23 19:36:52 +02:00
sonninnos
ca311246b1
C89 buildfix
2021-08-24 22:32:47 +03:00
Autechre
e5dc368e20
Merge pull request #12735 from schellingb/rmsgpack_fixwrapintwrite
...
libretro-db fix writing of numerical values
2021-08-04 15:08:14 +02:00
Bernhard Schelling
9956ff041e
Fix libretro-db loading on big endian platforms
...
Wrong casting did read garbage data for numerical values on big endian platforms.
Numerical values are used for array/map lengths so this could easily cause random crashes during parsing but also later while using the data.
Use union to avoid strict aliasing warnings.
2021-08-04 01:20:25 +09:00
Bernhard Schelling
2d1a657ba8
libretro-db fix writing of numerical values
...
Correctly write map lengths between 16 and 65535 to just 2 bytes and not 4.
Fix writing of numerical values between -31 and -1.
Fix writing of numerical values less than 256 on big endian platforms.
2021-08-04 01:15:21 +09:00
twinaphex
3c73183a04
Cleanups - fix warnings
2018-05-07 15:05:59 +02:00
twinaphex
96c8ca5a09
Header update #1
2017-01-22 13:40:32 +01:00
Higor Eurípedes
3ec31873e8
(rmsgpack.c) Fix possible double free() in rmsgpack_read()
...
read_buff() didn't set *pbuff to NULL after on error.
2016-09-17 21:22:49 -03:00
twinaphex
d5d2f7f8ee
Fix resource leaks
2016-05-23 22:17:28 +02:00
Twinaphex
eeeec23c66
(OSX) Static code analyzer cleanups
2016-05-02 16:57:53 +02:00
twinaphex
1b289c0f05
(libretro-common) Update
2016-03-24 04:23:17 +01:00
twinaphex
e41127459e
Rename 'filestream' functions
2016-03-24 04:09:25 +01:00
twinaphex
12e51eb4b5
(libretrodb) Add headers and cleanups
2016-03-21 18:16:05 +01:00
twinaphex
0063da8e11
(rmsgpack.c) Silence warning
2015-11-18 02:28:47 +01:00
Higor Eurípedes
6454f70c8d
(libretrodb) Return the correct str/buf length in rmsgpack_read and read_buff
2015-11-14 16:03:49 -03:00
Higor Eurípedes
80a89bbd36
(libretro-db) Get rid of calloc() in rmsgpack_read()
2015-11-14 16:03:49 -03:00
twinaphex
3960897e74
(libretro-db) Cleanups
2015-09-21 15:37:14 +02:00
twinaphex
f19366eaca
(PS3/libretro-db) Avoid some warnings
2015-09-21 15:33:35 +02:00
twinaphex
9093cd4aba
(libretro-db) Use retro_endianness.h functions completely
2015-09-21 11:37:31 +02:00
twinaphex
0d16768688
(libretro-db) Start using retro_endian.h functions directly
2015-09-21 11:28:33 +02:00
twinaphex
483a4264e5
(libretrodb) Silence warnings
2015-09-17 20:10:04 +02:00
twinaphex
55e54a30b4
Create retro_file, and have libretrodb use it
2015-09-17 19:58:06 +02:00
twinaphex
e3c91b7eff
(rmsgpack.c) Dehardcode some magic numbers
2015-09-17 10:39:43 +02:00
twinaphex
eee05742ba
(libretrodb) rmsgpack.c - cleanups
2015-09-17 10:33:26 +02:00
twinaphex
0e5b18a619
(libretrodb) Backport UINT32_C
2015-09-17 07:18:13 +02:00
twinaphex
b32b17f4ae
Revert to last working version of libretro-db
2015-09-17 06:12:57 +02:00
twinaphex
728d841047
Cleanups
2015-09-05 19:51:55 +02:00
twinaphex
833e8164ee
Use UINT32_C
2015-07-15 02:24:11 +02:00
twinaphex
3a0d745615
(PS3) Fix libretrodb warnings
2015-06-30 16:22:51 +02:00
Alcaro
4ca6c2398c
More C89 cleanups, part 3
2015-06-26 18:35:52 +02:00
Alcaro
97f8188969
Clean up some C99 longlongs.
2015-06-26 16:21:50 +02:00
twinaphex
3eec012af8
(libretro-db) Style nits
2015-06-03 16:57:51 +02:00
U-ALEIRADE-BR\aleirade
a2a19ed827
use buffered io with databases
2015-05-30 13:17:11 -03:00
twinaphex
41403fb3d6
Rename libretrodb to libretro-db
2015-02-19 00:47:19 +01:00