Debugger: Fixed crash when disassembling while CPU is waiting on an interrupt
This commit is contained in:
parent
1fdfe1dcf7
commit
02fa095a91
2 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ private:
|
||||||
bool _immediateMode = false;
|
bool _immediateMode = false;
|
||||||
|
|
||||||
CpuState _state;
|
CpuState _state;
|
||||||
uint32_t _operand;
|
uint32_t _operand = -1;
|
||||||
|
|
||||||
uint32_t GetProgramAddress(uint16_t addr);
|
uint32_t GetProgramAddress(uint16_t addr);
|
||||||
uint32_t GetDataAddress(uint16_t addr);
|
uint32_t GetDataAddress(uint16_t addr);
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
void DummyCpu::SetDummyState(CpuState &state)
|
void DummyCpu::SetDummyState(CpuState &state)
|
||||||
{
|
{
|
||||||
_state = state;
|
_state = state;
|
||||||
|
_state.StopState = CpuStopState::Running;
|
||||||
_writeCounter = 0;
|
_writeCounter = 0;
|
||||||
_readCounter = 0;
|
_readCounter = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue