summaryrefslogtreecommitdiffstats
path: root/src/os-plugins
diff options
context:
space:
mode:
authorDirk2011-07-08 00:14:35 +0200
committerDirk2011-07-08 00:14:35 +0200
commit20a78b6fa1513fb25568856403b549979fa4a932 (patch)
tree70ba25b7b9c7f7f5231262d1c41f54263ca83232 /src/os-plugins
parentMore stuff for emufe ... (diff)
downloadcore-20a78b6fa1513fb25568856403b549979fa4a932.tar.gz
core-20a78b6fa1513fb25568856403b549979fa4a932.tar.xz
core-20a78b6fa1513fb25568856403b549979fa4a932.zip
...
Diffstat (limited to 'src/os-plugins')
-rw-r--r--src/os-plugins/plugins/emufe/files/run-virt.include26
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