emulator

package
v0.0.0-...-8886972 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Emulator

type Emulator struct {
	RomData []byte
	GB      *gb.GB
}

func New

func New(romData []byte) *Emulator

func (*Emulator) Draw

func (e *Emulator) Draw(screen *ebiten.Image)

func (*Emulator) Layout

func (e *Emulator) Layout(outsideWidth, outsideHeight int) (screenWidth, screenHeight int)

func (*Emulator) Update

func (e *Emulator) Update() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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