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 authored and GitHub committed 2020-05-27 17:43:59 -04:00
1 parent 7319716e21
commit 7cabb0152c
1 file changed
+5
+5
View File
@@ -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"'