diff options
-rw-r--r-- | src/os-plugins/plugins/emufe/files/run-virt.include | 26 |
1 files changed, 20 insertions, 6 deletions
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 |