From 20a78b6fa1513fb25568856403b549979fa4a932 Mon Sep 17 00:00:00 2001 From: Dirk Date: Fri, 8 Jul 2011 00:14:35 +0200 Subject: ... --- .../plugins/emufe/files/run-virt.include | 26 +++++++++++++++++----- 1 file changed, 20 insertions(+), 6 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 2286c4ea..149f1c47 100644 --- a/src/os-plugins/plugins/emufe/files/run-virt.include +++ b/src/os-plugins/plugins/emufe/files/run-virt.include @@ -68,23 +68,37 @@ case "${emulator}" in VIRTCMD="dosbox -c \"mount c ${TMPDIR}\"" ;; SheepShaver*|sheepshaver*) - [ "x${rombios}" != "x" ] && rom="--rom ${xmlpath}${rombios}" - VIRTCMDOPTS="${VIRTCMDOPTS} --name ${displayname} ${rom}" + if [ "x${rombios}" != "x" ] ; then + rom="--rom ${xmlpath}/${rombios}" + else + echo "problem" + fi + rm ~/.sheepshaver* + cp ${diskfile} ${TMPDIR} + VIRTCMDOPTS="${VIRTCMDOPTS} ${rom} --disk ${TMPDIR}/${imgname}" + basilisk*|Basilisk*) + if [ "x${rombios}" != "x" ] ; then + rom="--rom ${xmlpath}/${rombios}" + else + echo "problem" + fi + VIRTCMD="BasiliskII" + ;; ;; hatari*|Hatari*) ;; *mess*) - [ "x${rombios}" != "x" ] && rom="${xmlpath}${rombios}" + [ "x${rombios}" != "x" ] && rom="${xmlpath}/${rombios}" VIRTCMDOPTS="${VIRTCMDOPTS} ${rom}" ;; *uae*) - [ "x${rombios}" != "x" ] && rom="-s kickstart_rom_file=${xmlpath}${rombios}" + [ "x${rombios}" != "x" ] && rom="-s kickstart_rom_file=${xmlpath}/${rombios}" VIRTCMDOPTS="${VIRTCMDOPTS} ${rom}" ;; *qemu*) - [ "x${rombios}" != "x" ] && rom="-bios ${xmlpath}${rombios}" - VIRTCMDOPTS="${VIRTCMDOPTS} -snapshot" + [ "x${rombios}" != "x" ] && rom="-bios ${xmlpath}/${rombios}" + VIRTCMDOPTS="${VIRTCMDOPTS} -snapshot ${diskfile}" ;; esac -- cgit v1.2.3-55-g7522