Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • default

Implements

  • IConsole

Index

Constructors

constructor

  • new default(rom: string, logger: ILogger, lobby: string): default

Properties

callbacks

callbacks: Map<string, Function[]> = ...

isPaused

isPaused: boolean = false

lobby

lobby: string

logger

logger: ILogger

mupen

mupen: IMupen

rawModule

rawModule: any

rom_size

rom_size: number

texPath

texPath: string = ""

Methods

finishInjects

  • finishInjects(): void

getDebuggerAccess

  • getDebuggerAccess(): Debugger

getFrameCount

  • getFrameCount(): number

getGfxAccess

  • getGfxAccess(): Gfx

getImGuiAccess

  • getImGuiAccess(): IImGui

getInputAccess

  • getInputAccess(): Input

getLoadedRom

  • getLoadedRom(): Buffer

getMemoryAccess

  • getMemoryAccess(): IMemory

getRomHeader

  • getRomHeader(): IRomHeader

getRomOriginalSize

  • getRomOriginalSize(): number

getSDLAccess

  • getSDLAccess(): SDL

getSaveStateManager

  • getSaveStateManager(): ISaveState

getUtils

  • getUtils(): IUtils

getYaz0Encoder

  • getYaz0Encoder(): IYaz0

hardReset

  • hardReset(): void

isEmulatorReady

  • isEmulatorReady(): boolean

loadState

  • loadState(file: string): void

on

  • on(which: string, callback: any): void

pauseEmulator

  • pauseEmulator(): void

Private registerCallback

  • registerCallback(type: string, callback: Function): void

resumeEmulator

  • resumeEmulator(): void

saveState

  • saveState(file: string): void

setFrameCount

  • setFrameCount(num: number): void

setSaveDir

  • setSaveDir(path: string): void

softReset

  • softReset(): void

startEmulator

  • startEmulator(preStartCallback: Function): IMemory

stopEmulator

  • stopEmulator(): void

Generated using TypeDoc