Documentation
¶
Index ¶
Constants ¶
View Source
const CONFIG_PATH = "./config.toml"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Fullscreen bool `toml:"fullscreen"`
TomlBackdrop int `toml:"backdrop_color"`
GamesPerRow int `toml:"games_per_row"`
Backdrop color.Color
CancelAudioInit bool `toml:"cancel_audio_init"`
Gb GbConfig `toml:"gb"`
Gba GbaConfig `toml:"gba"`
KeyboardConfig KeyboardConfig `toml:"keyboard"`
ControllerConfig ControllerConfig `toml:"controller"`
}
var Conf Config
type ControllerConfig ¶
type EmulatorKeyboardConfig ¶
type GbConfig ¶
type GbConfig struct {
TomlPalette []int `toml:"dmg_palette"`
Palette [][]uint8
KeyboardConfig EmulatorKeyboardConfig `toml:"keyboard"`
ControllerConfig EmulatorControllerConfig `toml:"controller"`
}
type GbaConfig ¶
type GbaConfig struct {
KeyboardConfig EmulatorKeyboardConfig `toml:"keyboard"`
ControllerConfig EmulatorControllerConfig `toml:"controller"`
SkipHle bool `toml:"skip_hle"`
Threads int `toml:"threads"`
IdleOptimize bool `toml:"idle_optimize"`
SoundClockUpdateCycles int `toml:"sound_clock_update_cycles"`
DisableSaves bool `toml:"disable_saves"`
}
type KeyboardConfig ¶
Click to show internal directories.
Click to hide internal directories.