C# Class DotNES.Core.IO

Exibir arquivo Open project: brandonpelfrey/dotnes

Public Methods

Method Description
IO ( Controller playerOneController, Controller playerTwoController ) : System
read ( ushort address ) : byte
setLoggerEnabled ( bool enable ) : void
write ( ushort address, byte val ) : void

Private Methods

Method Description
extractButtonStates ( Controller controller ) : bool[]
loadButtonStates ( ) : void

Method Details

IO() public method

public IO ( Controller playerOneController, Controller playerTwoController ) : System
playerOneController Controller
playerTwoController Controller
return System

read() public method

public read ( ushort address ) : byte
address ushort
return byte

setLoggerEnabled() public method

public setLoggerEnabled ( bool enable ) : void
enable bool
return void

write() public method

public write ( ushort address, byte val ) : void
address ushort
val byte
return void