1
0
mirror of https://github.com/libretro/libretro-super synced 2025-02-20 00:40:06 +00:00

database: Add a headered directory

This could contain DATs with headers in them. This affects NES, Atari 7800, etc.
This commit is contained in:
Rob Loach 2020-05-27 17:43:59 -04:00 committed by GitHub
parent 7319716e21
commit 7cabb0152c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -170,6 +170,11 @@ build_libretro_database() {
COMMAND+=' "${LIBRETRODATABASE_META_DAT_DIR}/tgdb/${1}.dat"'
fi
#Check if meta headered is there
if [ -f "${LIBRETRODATABASE_META_DAT_DIR}/headered/${1}.dat" ]; then
COMMAND+=' "${LIBRETRODATABASE_META_DAT_DIR}/headered/${1}.dat"'
fi
#Check if meta hacks is there
if [ -f "${LIBRETRODATABASE_META_DAT_DIR}/hacks/${1}.dat" ]; then
COMMAND+=' "${LIBRETRODATABASE_META_DAT_DIR}/hacks/${1}.dat"'