Merge TheGamesDB metadata in the RDBs

This commit is contained in:
Jean-André Santoni 2016-02-02 17:53:33 +07:00
parent bcf52583c2
commit 8ed56d463b

View File

@ -160,6 +160,11 @@ build_libretro_database() {
COMMAND+=' "${LIBRETRODATABASE_META_DAT_DIR}/enhancement_hw/${1}.dat"'
fi
#Check if meta TGDB DAT is there
if [ -f "${LIBRETRODATABASE_META_DAT_DIR}/tgdb/${1}.dat" ]; then
COMMAND+=' "${LIBRETRODATABASE_META_DAT_DIR}/tgdb/${1}.dat"'
fi
eval ${COMMAND}
if [ -f ${DBFILE} ]; then
mv ${DBFILE} "${RDB_DIR}/${1}.rdb"