From 194a1bd64d514bd4c2afc34231bee016e4a1979f Mon Sep 17 00:00:00 2001 From: Dirk Date: Thu, 7 Jul 2011 22:18:17 +0200 Subject: More stuff for emulation ... --- src/os-plugins/plugins/emufe/files/run-virt.include | 3 ++- src/os-plugins/plugins/vmchooser/files/run-virt.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src/os-plugins') diff --git a/src/os-plugins/plugins/emufe/files/run-virt.include b/src/os-plugins/plugins/emufe/files/run-virt.include index c81948cb..a1799094 100644 --- a/src/os-plugins/plugins/emufe/files/run-virt.include +++ b/src/os-plugins/plugins/emufe/files/run-virt.include @@ -64,7 +64,8 @@ case "${emulator}" in echo "# empty" > ${TMPDIR}/dosbox.conf VIRTCMDOPTS="${emulator#*dosbox}" VIRTCMDOPTS="${VIRTCMDOPTS} -conf ${TMPDIR}/dosbox.conf -fullscreen" - VIRTCMD="dosbox -c mount c ${TMPDIR}" + # the directory mount has to be first + VIRTCMD="dosbox -c \"mount c ${TMPDIR}\"" ;; SheepShaver*|sheepshaver*) [ "x${rombios}" != "x" ] && rom="--rom ${xmlpath}${rombios}" diff --git a/src/os-plugins/plugins/vmchooser/files/run-virt.sh b/src/os-plugins/plugins/vmchooser/files/run-virt.sh index 154714c6..deda552b 100644 --- a/src/os-plugins/plugins/vmchooser/files/run-virt.sh +++ b/src/os-plugins/plugins/vmchooser/files/run-virt.sh @@ -392,7 +392,7 @@ if [ -e ${PLUGINCONFROOT}/${xmlvirt}/run-virt.include ] ; then if [ -e /etc/xdg/autostart/pvsgui.desktop ]; then /usr/local/bin/pvsgui -p 2 -b >/dev/null 2>&1 & fi - ${VIRTCMD} ${VIRTCMDOPTS} + eval ${VIRTCMD} ${VIRTCMDOPTS} writelog "Bye." cleanexit 0 else -- cgit v1.2.3-55-g7522