Documentation
¶
Overview ¶
Package gamehandoff tells when a launched game has been handed to the emulator or core that runs it. The process that loads a game opens its file, reads it and usually closes it, and Core can watch those events without any cooperation from the emulator: MiSTer's Main streams the game into the FPGA core, and RetroArch under Batocera reads it as it starts the content.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LaunchLog ¶
type LaunchLog struct {
// contains filtered or unexported fields
}
LaunchLog remembers the last game Core launched. A probe waits only for a game launched by Core: one already running when a tracker noticed it was opened before anything could watch, so waiting on it would stall until the open window ends.
func NewLaunchLog ¶
NewLaunchLog returns an empty log.
func (*LaunchLog) Forget ¶ added in v2.22.0
Forget drops the launch of path, for a launch that failed. A later launch that has since replaced it is kept.