Versions in this module Expand all Collapse all v3 v3.0.5 Apr 16, 2023 Changes in this version type Metadata + Options map[string]string v3.0.4 Mar 16, 2023 Changes in this version + type Emulator interface + Close func() + GetAudio func() func(*GameAudio) + GetFps func() uint + GetFrameSize func() (w, h int) + GetHashPath func() string + GetSampleRate func() uint + GetVideo func() func(*GameFrame) + HasVerticalFrame func() bool + Input func(player int, data []byte) + LoadGame func(path string) error + LoadGameState func() error + LoadMetadata func(name string) + SaveGameState func() error + SetAudio func(func(*GameAudio)) + SetMainSaveName func(name string) + SetVideo func(func(*GameFrame)) + SetViewport func(width int, height int) + Start func() + ToggleMultitap func() + type GameAudio struct + Data *[]int16 + Duration time.Duration + type GameFrame struct + Data *image.Frame + Duration time.Duration + type InputEvent struct + RawState []byte + type Metadata struct + AudioSampleRate int + AutoGlContext bool + BaseHeight int + BaseWidth int + ConfigPath string + Fps float64 + HasMultitap bool + HasVFR bool + IsGlAllowed bool + LibPath string + Rotation image.Rotate + UsesLibCo bool