Skip to content

Commit

Permalink
move SingleStep() up to commonframe
Browse files Browse the repository at this point in the history
  • Loading branch information
sh95014 committed Dec 13, 2023
1 parent c2d7eaa commit e189516
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 6 additions & 0 deletions source/frontends/common2/commonframe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include "Core.h"
#include "CPU.h"
#include "Debugger/Debug.h"
#include "Interface.h"
#include "Log.h"
#include "NTSC.h"
#include "Speaker.h"
Expand Down Expand Up @@ -214,3 +215,8 @@ namespace common2
}

}

void SingleStep(bool /* bReinit */)
{
dynamic_cast<common2::CommonFrame &>(GetFrame()).SingleStep();
}
4 changes: 0 additions & 4 deletions source/frontends/sdl/sdlframe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,3 @@ namespace sa2

}

void SingleStep(bool /* bReinit */)
{
dynamic_cast<sa2::SDLFrame &>(GetFrame()).SingleStep();
}

0 comments on commit e189516

Please sign in to comment.