Yes, merci silmeria, j'ai résolu mon problème en trifouillant le module pour que l'ému repasse en fullscreen après la sortie de hyperpause. Comme expliqué dans les quelques exemples fournis.
Voici le code de mon psxfin.ahk si ça peut aider quelqu'un
iCRC = 1E716C97
MEmu = PSXfin
MEmuV = v1.13
MURL =
http://psxemulator.gazaxian.com/
MAuthor = brolly djvj
MVersion = 2.0.1
MCRC = 2D3676B5
MID = 635038268919606980
MSystem = "Sony PlayStation"
;----------------------------------------------------------------------------
; Notes:
;----------------------------------------------------------------------------
StartModule()
BezelGUI()
FadeInStart()
settingsFile := modulePath . "\" . moduleName . ".ini"
fullscreen := IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1)
If dtEnabled = true
DaemonTools("get") ; populates the dtDriveLetter variable with the drive letter to your scsi or dt virtual drive
BezelStart()
7z(romPath, romName, romExtension, 7zExtractPath)
fullscreen := If fullscreen = "true" ? " -f" : ""
; Mount the CD using DaemonTools
If ( romExtension = ".cue" dtEnabled = "true" )
{
DaemonTools("mount",romPath . "\" . romName . romExtension)
Run(executable . fullscreen . " " . dtDriveLetter . ":", emuPath)
} Else {
Log("Module RunWait - " . emuPath "\" . executable . " -f " "" . romPath . "\" . romName . romExtension . """")
Run(executable . " """ . romPath . "\" . romName . romExtension . """", emuPath)
SetTitleMatchMode, slow
WinWait("pSX ahk_class pSX")
WinWaitActive("pSX ahk_class pSX")
Sleep, 1000
SetKeyDelay, 50
Send, {Alt Down}{Enter Down}{Enter Up}{Alt Up}
}
SetTitleMatchMode, slow
WinWait("pSX ahk_class pSX")
WinSet, Transparent, On, ahk_class ConsoleWindowClass ; hide console window
WinWaitActive("pSX ahk_class pSX")
If fullscreen = true
{ SetKeyDelay, 50
Send, {Alt Down}{Enter Down}{Enter Up}{Alt Up}
}
BezelDraw()
FadeInExit()
Process("WaitClose", executable)
If ( romExtension = ".cue" dtEnabled = "true" )
DaemonTools("unmount")
7zCleanUp()
BezelExit()
FadeOutExit()
ExitModule()
MultiGame:
; msgbox % "selectedRom = " . selectedRom . "`nselected game = " . currentButton . "`nmgRomPath = " . mgRomPath . "`nmgRomExt = " . mgRomExt . "`nmgRomName = " . mgRomName
; Unmount the CD from DaemonTools
If ( romExtension = ".cue" dtEnabled = "true" )
DaemonTools("unmount")
Sleep, 500 ; Required to prevent DT from bugging
; Mount the CD using DaemonTools
If ( romExtension = ".cue" dtEnabled = "true" )
DaemonTools("mount",selectedRom)
Return
RestoreEmu:
SetTitleMatchMode, slow
WinWait("pSX ahk_class pSX")
WinWaitActive("pSX ahk_class pSX")
SetKeyDelay, 50
Send, {Alt Down}{Enter Down}{Enter Up}{Alt Up}
Return
CloseProcess:
FadeOutStart()
WinClose("pSX ahk_class pSX")
Return