mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-05-24 23:24:54 +00:00
Fixing the cpu's debugger witch was miss interpreting instructions
This commit is contained in:
@@ -43,8 +43,10 @@ namespace ComSquare::Debugger
|
||||
|
||||
unsigned CPUDebug::_executeInstruction(uint8_t opcode)
|
||||
{
|
||||
if (this->_isPaused)
|
||||
if (this->_isPaused) {
|
||||
this->_registers.pac--;
|
||||
return 0;
|
||||
}
|
||||
if (this->_isStepping) {
|
||||
this->_isStepping = false;
|
||||
this->_isPaused = true;
|
||||
|
||||
Reference in New Issue
Block a user