fixed name resolution for trapread

This commit is contained in:
thrust26 2017-12-18 13:09:03 +01:00
parent 7819d07623
commit 50c8c5c266
1 changed files with 2 additions and 1 deletions

View File

@ -225,8 +225,9 @@ bool M6502::execute(uInt32 number)
#ifdef DEBUGGER_SUPPORT
if(myJustHitReadTrapFlag || myJustHitWriteTrapFlag)
{
bool read = myJustHitReadTrapFlag;
myJustHitReadTrapFlag = myJustHitWriteTrapFlag = false;
if(myDebugger && myDebugger->start(myHitTrapInfo.message, myHitTrapInfo.address, myJustHitReadTrapFlag))
if(myDebugger && myDebugger->start(myHitTrapInfo.message, myHitTrapInfo.address, read))
{
return true;
}