;********************************
;* CCS64 v2.0b DOS GEMUS Script *
;*       by James Burrows       *
;*         22 Apr 2002          *
;********************************
;
; Emulator File:        CCS64.EXE
; Associated File (1):  C64.CFG
; Use Short Filenames:  YES
; File Types:           T64;PRG;P00;P01;D64;G64;G41;CRT;TAP

;load the selected game image
Add_CLP(%gamepathfile%)
If GameType CONTAINS(d64||t64)
	Add_CLP(,%imageindex%)

	;true drive emulation?
	If TrueDriveEmu = NO
		Add_CLP( -fastload)
	Else
		Add_CLP( -normalload)
	End If
End If

;autorun the loaded image
Add_CLP( -autorun)

;set the game path for the emulator
Set_CFG_Value(1||$LOADPATH||%gamepath%)

;run the emulator
Run_Emulator(DOSCLOSE)

