mirror of https://github.com/stella-emu/stella.git
fixed trapping on 'read from write port' functionality for CPU dummy peeks
This commit is contained in:
parent
b6dcd110f0
commit
d3b270dea8
|
@ -171,7 +171,9 @@ void CartDebug::triggerReadFromWritePort(uInt16 addr)
|
||||||
myRWPortAddress = addr;
|
myRWPortAddress = addr;
|
||||||
mySystem.setDirtyPage(addr);
|
mySystem.setDirtyPage(addr);
|
||||||
|
|
||||||
if(myRWPortTriggersBreak)
|
if(myRWPortTriggersBreak &&
|
||||||
|
mySystem.m6502().lastReadAddress() &&
|
||||||
|
(mySystem.getPageAccessType(addr) & System::PA_WRITE) == System::PA_WRITE)
|
||||||
{
|
{
|
||||||
ostringstream msg;
|
ostringstream msg;
|
||||||
msg << "RWP[@ $" << Common::Base::HEX4 << addr << "]: ";
|
msg << "RWP[@ $" << Common::Base::HEX4 << addr << "]: ";
|
||||||
|
|
Loading…
Reference in New Issue