api
Class  Nes::Api::Emulator
- class Nes::Api::Emulator
Emulator object instance.
 
 
| Method Summary | 
|  Result | Execute( Core::Video::Output* video, Core::Sound::Output* sound, Core::Input::Controllers* input )Executes one frame.
 | 
|  ulong | Frame() constReturns the number of executed frames relative to the last machine power/reset.
 | 
 
Emulator
public Emulator();
~Emulator
public ~Emulator() throw();
Execute
public Result Execute( Core::Video::Output* video, Core::Sound::Output* sound, Core::Input::Controllers* input ) throw();
- Executes one frame.
- Parameters: 
- video- video context object or NULL to skip output
- sound- sound context object or NULL to skip output
- input- input context object or NULL to skip output
- Returns: 
- result code
Frame
public ulong Frame() const throw();
- Returns the number of executed frames relative to the last machine power/reset.
- Returns: 
- number