Updating the debugger's ui when reseting the game

This commit is contained in:
Anonymus Raccoon
2020-02-16 23:50:08 +01:00
parent 789b8d35a1
commit 3eb6b39292
3 changed files with 9 additions and 1 deletions
+6
View File
@@ -212,4 +212,10 @@ namespace ComSquare::Debugger
default: return "Unknown";
}
}
void CPUDebug::RESB()
{
CPU::RESB();
this->_updateRegistersPanel();
}
}
+2
View File
@@ -37,6 +37,8 @@ namespace ComSquare::Debugger
//! @brief Step - Execute a single instruction.
void step();
public:
//! @brief Update the UI when reseting the CPU.
void RESB() override;
//! @brief Convert a basic CPU to a debugging CPU.
explicit CPUDebug(ComSquare::CPU::CPU &cpu, SNES &snes);
CPUDebug(const CPUDebug &) = delete;