Update libretro-build-database.sh

This commit is contained in:
twinaphex 2015-01-28 10:01:32 +01:00
parent f80719aa81
commit bcd168c2c3
1 changed files with 5 additions and 0 deletions

View File

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