LibretroAdmin
1e656261b0
Local len variables need to have '_' prefix
2024-12-30 14:03:58 +01:00
libretroadmin
2809421d4e
Revert "static variables are initialized to '0' automatically as per C rules"
...
This reverts commit 2a0984b6e4 .
2024-11-19 03:03:13 +01:00
libretroadmin
2a0984b6e4
static variables are initialized to '0' automatically as per C rules
2024-11-18 15:33:34 +01:00
libretroadmin
afc9cb509a
CXX_BUILDFIX buildfixes
2024-07-20 19:42:45 +02:00
libretroadmin
c5088ce2ca
Silence some warnings and general cleanups
2023-08-16 22:08:01 +02:00
Joe Osborn
679083a08b
Graceful fallback to readonly mode if RDB can't be opened readwrite ( #15569 )
...
* Graceful fallback to readonly mode if RDB can't be opened readwrite
* let RA open db readonly
2023-08-10 11:04:47 -07:00
Joseph C. Osborn
05b14ec3e4
fix c89 build
2023-07-28 00:34:52 +02:00
Joseph C. Osborn
389ed2a5e3
Fix index creation and lookup logic
2023-07-28 00:34:52 +02:00
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
6b21ad6f53
(libretro-db) Simplifications/cleanups
2023-02-19 05:27:43 +01:00
libretroadmin
66ad277dc1
(libretro-db) Simplifications
2023-02-19 05:18:41 +01:00
libretroadmin
e65f273065
(libretro-db) Style/code nits
2023-02-19 04:54:47 +01:00
libretroadmin
91b7445bda
(libretro-db) Cleanups
2023-02-18 18:13:52 +01:00
libretroadmin
2d48cbaec6
(libretro-db) Cleanups/style nits
2023-02-18 18:04:55 +01:00
libretroadmin
6624126885
(MSVC) silence warnings
2023-02-18 17:04:23 +01:00
libretroadmin
b04a926170
(libretro-db) Further cleanups
2023-02-17 17:49:36 +01:00
libretroadmin
1dcf3b328a
(libretro-db) Cleanups
2023-02-17 16:43:00 +01:00
LibretroAdmin
a1f5a03551
(libretrodb) Replace strncpy
2022-08-25 08:32:02 +02:00
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
LibretroAdmin
6f738d4fbd
Gradually get rid of strcpy_literal
...
Reasons:
1 - Just a macro for strcpy
1.2 - doesn't have a return type unlike strlcpy, can't be used
for string concatenation
1.3 - unsafe compared to strlcpy
Do either manual string assignment per character or strlcpy, no
inbetween by resorting to strcpy
2022-08-23 15:04:47 +02:00
TheRetroPirate
28145abde9
forgot to include the changes for the c_converter to include the metadata in the rdb files
2022-03-15 05:51:20 +01: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