Merge pull request #278 from lakkatv/master

Merge TheGamesDB metadata in the RDBs
This commit is contained in:
Twinaphex 2016-02-02 12:17:42 +01:00
commit d4a004da7b

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"