mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-06-07 11:45:07 +00:00
Adding IPL Rom
Trying (failure) to add a step/pause/resume action to debugger to see what's wrong in the APU (because something wrong is happening...)
This commit is contained in:
@@ -16,6 +16,11 @@ namespace ComSquare::Debugger
|
||||
//! @brief A widget that contain the whole UI.
|
||||
Ui::APUView _ui;
|
||||
|
||||
//! @brief If this is set to true, the execution of the APU will be paused.
|
||||
bool _isPaused = true;
|
||||
//! @brief If this is set to true, the APU will execute one instruction and pause itself.
|
||||
bool _isStepping = false;
|
||||
|
||||
//! @brief A reference to the snes (to disable the debugger).
|
||||
SNES &_snes;
|
||||
|
||||
@@ -30,6 +35,11 @@ namespace ComSquare::Debugger
|
||||
|
||||
//! @brief return the mnemonic of the current instruction done.
|
||||
std::string _getInstructionString();
|
||||
public slots:
|
||||
//! @brief Pause/Resume the APU.
|
||||
void pause();
|
||||
//! @brief Step - Execute a single instruction.
|
||||
void step();
|
||||
public:
|
||||
//! @brief Convert a basic APU to a debugging APU.
|
||||
explicit APUDebug(ComSquare::APU::APU &apu, SNES &snes);
|
||||
|
||||
Reference in New Issue
Block a user