Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
Stella
Commits
d3b270de
Commit
d3b270de
authored
Dec 08, 2018
by
thrust26
Browse files
fixed trapping on 'read from write port' functionality for CPU dummy peeks
parent
b6dcd110
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/debugger/CartDebug.cxx
View file @
d3b270de
...
...
@@ -171,7 +171,9 @@ void CartDebug::triggerReadFromWritePort(uInt16 addr)
myRWPortAddress
=
addr
;
mySystem
.
setDirtyPage
(
addr
);
if
(
myRWPortTriggersBreak
)
if
(
myRWPortTriggersBreak
&&
mySystem
.
m6502
().
lastReadAddress
()
&&
(
mySystem
.
getPageAccessType
(
addr
)
&
System
::
PA_WRITE
)
==
System
::
PA_WRITE
)
{
ostringstream
msg
;
msg
<<
"RWP[@ $"
<<
Common
::
Base
::
HEX4
<<
addr
<<
"]: "
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment