1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-03 00:38:44 +00:00
Commit Graph

286 Commits

Author SHA1 Message Date
twinaphex
b5a462dc38 (libretro-db) Simplify 'chomp' function 2015-09-21 15:26:42 +02:00
twinaphex
b23e0abac8 (libretro-db) Turn some snprintf usage into strlcpy 2015-09-21 15:25:56 +02:00
twinaphex
ab325df65d (libretro-db) Style nits 2015-09-21 11:42:41 +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
4e398e7992 Use strlcpy everywhere 2015-09-19 15:30:15 +02:00
twinaphex
077fb3d32d (libretro-db) Replace strcpy 2015-09-19 03:46:41 +02:00
twinaphex
cd878f81d1 (libretro-db/query.c) No anon unions 2015-09-18 07:03:40 +02:00
twinaphex
a547fdef50 Fix libretrodb_open - change mode to RFILE_MODE_READ - use
buffered I/O by default
2015-09-18 03:25:53 +02:00
twinaphex
dd58492fa6 Remove fcntl.h 2015-09-17 22:30:01 +02:00
twinaphex
82e15d1377 CLeanups/fixes 2015-09-17 20:24:49 +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
8ced8b00e4 (libretrodb) Small cleanup 2015-09-17 10:59:39 +02:00
twinaphex
caa01d5fee (libretrodb) Move MAGIC_NUMBER out of header 2015-09-17 10:57:05 +02:00
twinaphex
1741b0c2c1 (libretrodb) rmsgpack_test.c - cleanup 2015-09-17 10:53:33 +02:00
twinaphex
802bf7ca4c (libretro-db) query.c - cleanup 2015-09-17 10:48:48 +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
6e4a6ab4b1 (libretrodb) Cleanup 2015-09-17 10:21:29 +02:00
twinaphex
2b2767017c (platform_linux.c) CXX_BUILD fix 2015-09-17 10:14:57 +02:00
twinaphex
d8243945f2 libretrodb_find_entry - small cleanup 2015-09-17 09:50:34 +02:00
twinaphex
da54b5dedf (libretrodb.c) Indenting nits 2015-09-17 09:47:48 +02:00
twinaphex
2ce025884f (libretro-db) libretrodb.c - cleanups 2015-09-17 09:46:26 +02:00
twinaphex
9fcb7d744e (libretro-db) Style nits 2015-09-17 09:33:24 +02:00
twinaphex
c8535dce1f (libretro-db) Cleanup bintree.c 2015-09-17 09:25:06 +02:00
twinaphex
ff17917a90 Convert C++ comment to C comment 2015-09-17 07:31:22 +02:00
twinaphex
29b3045d7c (libretro-db) Buildfix 2015-09-17 07:30:32 +02:00
twinaphex
3591e4a308 (libretro-db) Backport 5471e8cfa5 2015-09-17 07:28:36 +02:00
twinaphex
7ad55484ce Backport 18a4c1029d 2015-09-17 07:27:13 +02:00
twinaphex
6cc98e1fa9 (libretro-db) Backport C89 fixes 2015-09-17 07:23:36 +02:00
twinaphex
0e5b18a619 (libretrodb) Backport UINT32_C 2015-09-17 07:18:13 +02:00
twinaphex
16864b34f4 (libretro-db) Style nits 2015-09-17 07:11:49 +02:00
twinaphex
aa1405fab9 (libretro-db) Style nits 2015-09-17 07:09:31 +02:00
twinaphex
7e3a83fbab (libretro-db) testlib.c - Cleanups 2015-09-17 07:04:37 +02:00
twinaphex
9d34e032b9 (libretro-db) Cleanups 2015-09-17 07:01:34 +02:00
twinaphex
139be32aaa No more anon unions 2015-09-17 06:39:17 +02:00
twinaphex
b32b17f4ae Revert to last working version of libretro-db 2015-09-17 06:12:57 +02:00
twinaphex
d65cc5fd2f Remove unused files 2015-09-17 06:07:37 +02:00
twinaphex
88e74f858b Remove .ycm_extra_conf.py 2015-09-17 05:58:55 +02:00
twinaphex
23abc91ee2 Remove some unnecessary files 2015-09-17 05:58:36 +02:00
twinaphex
d9ce4de9af (rmsgpack_test.c) Buildfix 2015-09-17 05:40:32 +02:00
twinaphex
cb9af706d1 (libretrodb) lua_common.c - buildfix 2015-09-16 23:19:44 +02:00
twinaphex
9d6146dc7a Some more MISSING_DECLS fixes 2015-09-06 14:55:42 +02:00
twinaphex
728d841047 Cleanups 2015-09-05 19:51:55 +02:00
twinaphex
3522c45067 Avoid some warnings - 'array subscript has type char' 2015-09-05 14:25:42 +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
twinaphex
018c685b09 C89_BUILD fixes 2015-06-29 21:39:00 +02:00
twinaphex
34fc48b43a Fix CXX_BUILD 2015-06-28 16:33:05 +02:00
twinaphex
0292f5c9b3 (libretro-db) Get rid of anon union 2015-06-26 20:33:40 +02:00
twinaphex
6a49dcfdd6 (libretrodb.c) Buildfix 2015-06-26 20:07:46 +02:00
Alcaro
d333bd0f77 Fix more C89 fails. 2015-06-26 19:35:36 +02:00
Alcaro
adb2942e5c Fix CXX_BUILD 2015-06-26 18:39:20 +02:00
Alcaro
4ca6c2398c More C89 cleanups, part 3 2015-06-26 18:35:52 +02:00
Alcaro
febcbc5ce4 C89 cleanups part 2 2015-06-26 17:48:43 +02:00
twinaphex
229d5b169b (libretro-db) Fix Makefile 2015-06-26 16:37:48 +02:00
Alcaro
97f8188969 Clean up some C99 longlongs. 2015-06-26 16:21:50 +02:00
twinaphex
a5e7028088 Cleanup some duplicate headers in libretro-db 2015-06-26 15:57:16 +02:00
twinaphex
d6cec7ca6c (libretro-db/query.c) Fix CXX_BUILD issues 2015-06-26 12:28:56 +02:00
twinaphex
e74d6e27ca (libretrodb) CXX_BUILD fixes 2015-06-25 18:07:13 +02:00
twinaphex
41b6f622c4 (libretrodb) Cleanups 2015-06-25 17:29:44 +02:00
twinaphex
1c82cce435 (libretro-db) Cleanup - use strlcpy 2015-06-22 11:53:02 +02:00
twinaphex
ad5954862b Cleanup some strcmps 2015-06-14 19:42:25 +02:00
twinaphex
cdec12faa5 (libretro-common) Cleanups 2015-06-13 00:33:31 +02:00
Higor Eurípedes
8c9408f24a (libretro-db) Fix segfault 2015-06-10 16:16:00 -03:00
Higor Eurípedes
18a4c1029d (libretro-db) Fix query leaks 2015-06-10 14:48:33 -03:00
Higor Eurípedes
dc3d096a46 (libretro-db) Add support for binary string input
Binary strings are hexadecimal strings prefixed with 'b', e.g.
b"D34DB33F". Binary strings result in RDT_BINARY values instead of a
RDT_STRING ones.
2015-06-10 14:08:45 -03:00
Andre Leiradella
ef0ff647fd better handling of errors in flseek 2015-06-07 21:31:15 -03:00
Andre Leiradella
69cce6c277 use fseek/ftell beacuse of msvc 2015-06-07 21:21:57 -03:00
twinaphex
0088ea42d7 (libretrodb.c) Change 'int' to 'long' 2015-06-08 00:30:29 +02:00
twinaphex
b7a480afec (MSVC/libretrodb) Build fixes 2015-06-08 00:26:58 +02:00
twinaphex
398a361e05 (query.c) Cleanups 2015-06-08 00:24:16 +02:00
twinaphex
7c186c94a5 (libretro-db/query.c) Cleanup 2015-06-03 17:14:30 +02:00
twinaphex
3eec012af8 (libretro-db) Style nits 2015-06-03 16:57:51 +02:00
Twinaphex
030c3ce49f (libretrodb) cleanups 2015-06-03 16:26:54 +02:00
Twinaphex
efdb991f12 (libretro-db) Style nits 2015-06-03 15:59:32 +02:00
twinaphex
b965ac36ec (libretrodb) Prevent potential uninitialized variable members 2015-06-02 17:20:44 +02:00
Andre Leiradella
4a4205395b no need to #ifdef fopen 2015-05-30 13:28:29 -03:00
U-ALEIRADE-BR\aleirade
a2a19ed827 use buffered io with databases 2015-05-30 13:17:11 -03:00
twinaphex
5471e8cfa5 Load databases as binary files on Win32 2015-05-29 06:21:04 +02:00
unknown
db1f1f631b Roll all the modulo iterations into a safer loop. 2015-05-28 18:00:26 -04:00
unknown
48b727f5a1 Move 64-bit printf stuff to its own (experimental but tested) function. 2015-05-28 17:41:38 -04:00
twinaphex
99ea729d1c (database_info.c) Add some error handling 2015-05-28 02:22:50 +02:00
twinaphex
d41b55b25b Cleanups 2015-04-04 21:10:36 +02:00
twinaphex
41403fb3d6 Rename libretrodb to libretro-db 2015-02-19 00:47:19 +01:00