config

package
v0.0.0-...-771d5d4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitConfigs

func InitConfigs()

Types

type Config

type Config struct {
	Game               string        // Game 游戏文件路径
	EnableTrace        bool          // EnableTrace 是否在控制台打印trace
	Disassemble        bool          // Disassemble 打印程序的反汇编结果
	Scale              int           // Scale 屏幕放大尺寸,原始尺寸:256x240像素
	FrameInterval      time.Duration // FrameInterval 每一帧画面渲染间隔时间
	ServerAddr         string
	GameDirectory      string
	SaveDirectory      string
	SnapshotSerializer string

	MuteApu bool

	Debug bool
}

func GetEmulatorConfig

func GetEmulatorConfig() Config

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL