Versions in this module Expand all Collapse all v0 v0.1.0 Oct 4, 2024 Changes in this version + type Overscan struct + Bottom int + Left int + Right int + Top int + func (t Overscan) Rect() image.Rectangle type UI + Overscan Overscan + RemoveSpriteLimit bool v0.0.3 Aug 16, 2024 Changes in this version + func Flags(cmd *cobra.Command) + func GetDir() (string, error) + func GetPaletteDir() (string, error) + func GetSRAMDir() (string, error) + func GetScreenshotDir() (string, error) + func GetStatesDir() (string, error) + func InitLog(out io.Writer) — darwin/amd64, linux/amd64, windows/amd64 + type Audio struct + Channels AudioChannels + Enabled bool + Volume float64 + type AudioChannels struct + Noise bool + PCM bool + Square1 bool + Square2 bool + Triangle bool + type Config struct + Audio Audio + Debug Debug + Input Input + State State + UI UI + func Load(cmd *cobra.Command) (*Config, error) + func NewDefault() Config + type Debug struct + Enabled bool + Trace bool + type Duration time.Duration + func (d *Duration) UnmarshalText(text []byte) error + func (d Duration) MarshalText() ([]byte, error) + type Input struct + FastForward Key + FastForwardRate uint8 + Fullscreen Key + Player1 Keymap + Player2 Keymap + Reset Key + ResetHold Duration + Screenshot Key + State1Load Key + State1Save Key + StateUndoModifier Key + TurboDutyCycle uint16 + func (i Input) ResetHoldFrames() int + type Key ebiten.Key + func (k *Key) UnmarshalText(text []byte) error + func (k Key) MarshalText() ([]byte, error) + type Keymap struct + A Key + ATurbo Key + B Key + BTurbo Key + Down Key + Left Key + Right Key + Select Key + Start Key + Up Key + func (k Keymap) GetMap() map[button.Button]ebiten.Key + func (k Keymap) GetTurboMap() map[button.Button]ebiten.Key + type State struct + AutosaveInterval Duration + Resume bool + UndoStateCount int + type TOMLParser struct + func (p TOMLParser) Marshal(o map[string]interface{}) ([]byte, error) + func (p TOMLParser) Unmarshal(b []byte) (map[string]interface{}, error) + type UI struct + Fullscreen bool + Palette string + PauseUnfocused bool + Scale float64 v0.0.2 May 13, 2024 v0.0.1 Mar 11, 2024