database: Add genre DATs to the build script

This adds the `genre` to the database build script.
This commit is contained in:
Rob Loach 2020-02-28 15:11:27 -05:00 committed by GitHub
parent 176dfec4f0
commit 0f9fffefd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -144,6 +144,11 @@ build_libretro_database() {
if [ -f "${LIBRETRODATABASE_META_DAT_DIR}/releaseyear/${1}.dat" ]; then
COMMAND+=' "${LIBRETRODATABASE_META_DAT_DIR}/releaseyear/${1}.dat"'
fi
#Check if meta genre DAT is there
if [ -f "${LIBRETRODATABASE_META_DAT_DIR}/genre/${1}.dat" ]; then
COMMAND+=' "${LIBRETRODATABASE_META_DAT_DIR}/genre/${1}.dat"'
fi
#Check if meta rumble DAT is there
if [ -f "${LIBRETRODATABASE_META_DAT_DIR}/rumble/${1}.dat" ]; then