twinaphex
5e3b353987
(libretro-db) Avoid callocs when possible
2020-06-26 20:24:05 +02:00
Rob Loach
705cfe9e82
Fix rtime in db-converter compilation
2020-06-20 17:15:07 -04:00
twinaphex
685948368e
(libretro-db) Should fix buffer overflow - should fix Database
...
Information and Scan folder/File with GCC 10
2020-06-14 18:03:00 +02:00
twinaphex
110339c1cc
(libretro-db) Add TODO/FIXME notes
2020-06-05 18:13:25 +02:00
Rob Loach
16aac7bfac
libretro-db: Fix stdstring undefined in c_converter
2020-05-27 18:34:47 -04:00
gordon-fish
71c12aab32
Fix to correctly set header.metadata_offset
...
This fix will correctly set ``header.metadata_offset`` in ``libretrodb_create`` instead of always setting it to zero.
The main problem was using ``filestream_seek`` when ``filestream_tell`` should be used to get the actual offset.
See issue #10140
2020-02-28 07:46:07 -08:00
twinaphex
8627d638e1
Cleanups
2020-02-04 06:05:00 +01:00
twinaphex
f785e4b045
Replace while (1) with for (;;) - avoids MSVC warnings
2020-01-30 16:15:52 +01:00
twinaphex
df8f93e9d5
Split up VFS file_path code into separate file
2020-01-09 15:44:48 +01:00
ZornTaov
450feb46cc
Update libretro-db/README.md
...
Looking through libretro-db/query.c I discovered the b prefix to strings that turns the string into binary, this is useful for searching up hexadecimal hashes. This information was not described in the documentation, so I've added it before the Names only search to group with the other find commands, though it will work with get-names as well.
2019-07-18 14:02:17 -07:00
Rob Loach
03d0462fa4
libretrodb: Update the whitespace
2019-06-25 01:24:46 -04:00
Rob Loach
1015c0cd08
docs: Fix libretro-db docs
...
The correct git URL is https://github.com/libretro/libretro-super.git
2019-06-23 16:57:47 -04:00
twinaphex
3e72c502a8
strlen optimizations :
...
- use STRLEN_CONST for constant strings, translates to sizeof
which should be computed at compile-time
- found some places where we are needlessly calling strlen two
times instead of just once
2019-04-27 04:21:10 +02:00
orbea
28ff4b391a
Clean up white space.
2019-02-03 16:00:50 -08:00
Zlika
4dbd15381a
Add missing files in libretro-db Makefile
2019-01-26 15:05:50 +01:00
orbea
e062b98088
Remove trailing blank lines.
...
find . -type f -exec sed -i '${/^[[:space:]]*$/d;}' {} \+
2019-01-17 19:39:38 -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
markwkidd
638ab39dfb
add libretro-db docs for consolidating DATs
2018-12-14 14:08:32 -05:00
Twinaphex
2a39dc7045
Merge pull request #7594 from markwkidd/patch-2
...
fix libretro-db Makefile
2018-11-15 21:50:57 +01:00
markwkidd
04bdca8e1f
update, expand, and re-sequence libretro-db doc
2018-11-15 13:02:41 -05:00
markwkidd
0aca0afa07
fix libretro-db Makefile
...
The current Makefile doesn't work. This patch comes via @grant2258 and originally from @natinusala and is intended to resolve https://github.com/libretro/RetroArch/issues/7586
2018-11-15 10:38:24 -05:00
twinaphex
3c73183a04
Cleanups - fix warnings
2018-05-07 15:05:59 +02:00
Twinaphex
a20d53202d
Merge pull request #6576 from RobLoach/patch-30
...
libretro-db: Show missing key match warning once
2018-04-14 20:47:53 +02:00
Rob Loach
d44f9467e4
libretro-db: Fix whitespace
2018-04-14 14:10:40 -04:00
Rob Loach
d3bbdb2e06
libretro-db: Show missing key match warning once
...
Before, the "missing match" warning would appear for every entry. This change makes it show that it only displays the warning once.
2018-04-14 14:09:46 -04:00
Rob Loach
b0a2df41dd
libretro-db: Ignore compiled binaries
...
This makes it so that the compiled libretro-db binaries are ignored from git.
2018-04-14 14:08:28 -04:00
twinaphex
71b423c572
Don't use mmap for libretrodb - using mmap seems
...
to have adverse performance impact
2018-02-13 07:34:19 +01:00
Alcaro
12ed6b8657
oh right, that's what it wants.
2017-12-28 04:13:00 +01:00
Alcaro
c29d5906d2
okay so why exactly are we using seek instead of tell/size
2017-12-28 04:08:41 +01:00
Rob Loach
4564301bb5
Update c_converter with libretro-common vfs changes
2017-12-20 20:15:33 -05:00
twinaphex
6622cb0810
Update libretro API
2017-12-16 14:12:38 +01:00
Alcaro
ecf5d55a25
Rename this one, to not codify policy in what should be a frontend decision
2017-12-14 21:21:18 +01:00
gblues
6904101c44
Clean up trailing whitespace
...
== DETAILS
Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex
61d3f90cae
Add hint defines to libretro.h
2017-12-11 12:53:47 +01:00
twinaphex
318f17c4cb
Start using VFS API constant defines
2017-12-11 12:15:00 +01:00
twinaphex
2e979ec537
Replace function signatures of file_stream file functions
2017-12-10 22:25:38 +01:00
Alcaro
6394e30cb5
fix missing %s
2017-11-27 17:16:11 +01:00
Alcaro
e21de200a6
fix missing %s
2017-11-27 17:15:58 +01:00
Alcaro
4275dd8f1f
#5802
2017-11-27 17:09:03 +01:00
Alcaro
da9cddd833
#5802
2017-11-27 17:08:41 +01:00
Brian Koropoff
461b884dc0
Remove commited Mac binaries
2017-11-26 09:58:24 -08:00
meepingsnesroms
621567e0e6
Merge pull request #2 from libretro/master
...
Merge upstream
2017-11-25 17:26:02 -08:00
meepingsnesroms
03f2a325fb
Add 3ds assets, move assets from ctr to pkg/ctr
...
NOTE: I do not have the 3ds version of devkitARM installed so I could
not test it if moving the assets to pkg/ctr broke compiling but I did
change the assets paths in Makefile.ctr and Makefile.ctr.salimander so
it should compile.
2017-11-24 09:28:47 -08:00
meepingsnesroms
9e3d631824
Fix outdated name of function (libretrodb_tool)
2017-11-19 13:25:17 -08:00
Twinaphex
5ba28b60aa
Merge pull request #5699 from meepingsnesroms/master
...
Properly clean up memory on exit(libretrodb_tool)
2017-11-18 10:18:14 +01:00
meepingsnesroms
9d598cb917
Properly clean up memory on exit(libretrodb_tool)
2017-11-17 16:44:15 -08:00
Brad Parker
07f3919811
only call setvbuf right after opening file, and use our own buffer for C89 compliance
2017-11-17 02:28:45 -05:00
meepingsnesroms
b3e22f6060
Add option to search libretro databases and only print game name
2017-11-15 16:42:22 -08:00
twinaphex
c68db61188
Silence more Clang warnings
2017-10-11 22:49:13 +02:00
twinaphex
8238545bef
Cleanups
2017-10-04 06:53:47 +02:00