Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Core ¶
type Core interface { ID() ID // Get Core ID Reset(hasBIOS bool) LoadROM(romData []byte) error // romData is mutable(not copied). SRAM() []byte LoadSRAM(sramData []byte) error RunFrame() Resolution() (w int, h int) // Get display resolution Screen() []color.RGBA SetKeyInput(key string, press bool) Title() string // Get title of the game // Serialize Serialize(state io.Writer) Deserialize(state io.Reader) }
Click to show internal directories.
Click to hide internal directories.