summaryrefslogtreecommitdiffstats
path: root/src/os-plugins
diff options
context:
space:
mode:
authorDirk2011-07-07 21:50:10 +0200
committerDirk2011-07-07 21:50:10 +0200
commit8b39ff8495a0fb8d43bcde3364be009413bd679b (patch)
tree0980e2d880231949c6733efa6aa2e6657f342161 /src/os-plugins
parentSmall path fix ... (diff)
downloadcore-8b39ff8495a0fb8d43bcde3364be009413bd679b.tar.gz
core-8b39ff8495a0fb8d43bcde3364be009413bd679b.tar.xz
core-8b39ff8495a0fb8d43bcde3364be009413bd679b.zip
Some more fixes in emufe plugin ...
Diffstat (limited to 'src/os-plugins')
-rw-r--r--src/os-plugins/plugins/emufe/files/run-virt.include6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/os-plugins/plugins/emufe/files/run-virt.include b/src/os-plugins/plugins/emufe/files/run-virt.include
index 27af7aad..c81948cb 100644
--- a/src/os-plugins/plugins/emufe/files/run-virt.include
+++ b/src/os-plugins/plugins/emufe/files/run-virt.include
@@ -59,12 +59,12 @@ case "${emulator}" in
dosbox*|Dosbox*)
tar -xpzf ${diskfile} -C "${TMPDIR}"
emudir=$(ls ${TMPDIR})
- [ $(echo ${filenumber}|wc|awk '{print $2}') -eq 1 ] && \
- TMPDIR=${TMPDIR}/${emudir}
+ [ $(echo ${emudir}|wc|awk '{print $2}') -eq 1 ] && \
+ { mv ${TMPDIR}/${emudir}/* ${TMPDIR}; rmdir ${TMPDIR}/${emudir}; }
echo "# empty" > ${TMPDIR}/dosbox.conf
VIRTCMDOPTS="${emulator#*dosbox}"
VIRTCMDOPTS="${VIRTCMDOPTS} -conf ${TMPDIR}/dosbox.conf -fullscreen"
- VIRTCMD="dosbox"
+ VIRTCMD="dosbox -c mount c ${TMPDIR}"
;;
SheepShaver*|sheepshaver*)
[ "x${rombios}" != "x" ] && rom="--rom ${xmlpath}${rombios}"