#!/bin/sh
#set -vx
#exec >> /opt/Emulators/iAtari800/Misc/Launch.log 2>&1

# Format: $binary $disk_image_path -$-(fullscreen/scaled/uncropped) -smoothing/no-smoothing -cop/no-cop -refresh $#
# Note that ZeroSlackr uses the hotdog version of iAtari800
killall -15 ZeroLauncher >> /dev/null 2>&1
cpu_speed 78
if [ -z "$1" ]; then
	cd /opt/Emulators/iAtari800
	exec /opt/Emulators/iAtari800/iAtari800 "\"/opt/Emulators/iAtari800/Disks/Dog Daze Deluxe (APX20264).atr\"" -scaled -smoothing -cop -refresh 4
else
	cd /opt/Emulators/iAtari800
	exec /opt/Emulators/iAtari800/iAtari800 "\"$1\"" "$2" "$3" "$4" -refresh "$5"
fi
