djvj icon

snesgt

djvj | PRO | 05/13/16 07:13:59 PM UTC | 0 ⭐ | 720 👁️ | Never ⏰ | []
text |

1.84 KB

|

None

|

0 👍

/

0 👎

MEmu = SNESGT
MEmuV = v0.230 beta 7
MURL = http://gigo.retrogames.com/|http://gigo.retrogames.com/bbs/c-board.cgi?cmd=one;no=2205
MAuthor = djvj
MVersion = 1.0
MCRC = F524CAA1
iCRC = 317C6C8
mId = 635986877402729496
MSystem = "Super Nintendo Entertainment System"
;----------------------------------------------------------------------------
; Notes:
; You can find the beta 7 edition here: http://gigo.retrogames.com/bbs/c-board.cgi?cmd=one;no=2205
; Pause will lock up the emu. It will be disabled regardless of user selection
;----------------------------------------------------------------------------
StartModule()
BezelGUI()
FadeInStart()
 ; pauseEnabled := "false"	; Pause locks up the emu, forcing it off
 primaryExe := new Process(emuPath . "\" . executable)						; instantiate emulator executable object
; emuPrimaryWindow := new Window(new WindowTitle("SNESGT","ATL:00501720"))	; instantiate primary emulator window object
emuPrimaryWindow := new Window(new WindowTitle("SNESGT","ATL:004ED808"))	; instantiate primary emulator window object
 Fullscreen := moduleIni.Read("Settings", "Fullscreen","true","",1)
 hideEmuObj := Object(emuPrimaryWindow,1)
7z(romPath, romName, romExtension, sevenZExtractPath)
 BezelStart()
HideAppStart(hideEmuObj,hideEmu)
 primaryExe.Run(" """ . romPath . "\" . romName . romExtension . """")
 emuPrimaryWindow.Wait()
emuPrimaryWindow.WaitActive()
 If (fullscreen = "true")
	emuPrimaryWindow.MenuSelectItem("Options","Display","Switch Screen Mode")
 BezelDraw()
HideAppEnd(hideEmuObj,hideEmu)
FadeInExit()
primaryExe.Process("WaitClose")
7zCleanUp()
BezelExit()
FadeOutExit()
ExitModule()
  HaltEmu:
RestoreEmu:
	If (fullscreen = "true")
		emuPrimaryWindow.MenuSelectItem("Options","Display","Switch Screen Mode")
Return
 CloseProcess:
	FadeOutStart()
	emuPrimaryWindow.Close()
Return

Comments