Skip to content

Commit

Permalink
Reflected changes in Fel::Emulator
Browse files Browse the repository at this point in the history
  • Loading branch information
ferris committed May 23, 2013
1 parent 5150047 commit 4412fba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Chip8/Chip8.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,10 @@ void Chip8::SetAudioDriver(IAudioDriver *audioDriver)
apu.SetAudioDriver(audioDriver);
}

void Chip8::CpuCyclesCallback(int numCycles)
{
}

void Chip8::LoadRom(const List<unsigned char>& input)
{
if (input.Count() > 3584) throw FSL_EXCEPTION("ROM image is too large");
Expand Down
2 changes: 2 additions & 0 deletions Chip8/Chip8.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ class Chip8 : public IEmulator
virtual void SetVideoDriver(IVideoDriver *videoDriver);
virtual void SetAudioDriver(IAudioDriver *audioDriver);

virtual void CpuCyclesCallback(int numCycles);

void LoadRom(const List<unsigned char>& input);
bool HasRom() const;
void Start();
Expand Down

0 comments on commit 4412fba

Please sign in to comment.