Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AspectRatio ¶
func (AspectRatio) ResizeToAspect ¶
type Emulator ¶
type Emulator struct { Scale int Threads int AspectRatio AspectRatio Storage string LocalPath string Libretro LibretroConfig AutosaveSec int }
func (Emulator) GetEmulator ¶
GetEmulator tries to find a suitable emulator. !to remove quadratic complexity
func (Emulator) GetLibretroCoreConfig ¶
func (e Emulator) GetLibretroCoreConfig(emulator string) LibretroCoreConfig
GetLibretroCoreConfig returns a core config with expanded paths.
func (Emulator) GetSupportedExtensions ¶
type LibretroConfig ¶
type LibretroConfig struct { Cores struct { Paths struct { Libs string } Repo struct { Sync bool ExtLock string Main LibretroRepoConfig Secondary LibretroRepoConfig } List map[string]LibretroCoreConfig } SaveCompression bool LogLevel int }
func (*LibretroConfig) GetCores ¶
func (l *LibretroConfig) GetCores() (cores []CoreInfo)
func (*LibretroConfig) GetCoresStorePath ¶
func (l *LibretroConfig) GetCoresStorePath() string
type LibretroCoreConfig ¶
type LibretroRepoConfig ¶
Click to show internal directories.
Click to hide internal directories.