Skip to content

Commit

Permalink
[#18] Further hide memory marks.
Browse files Browse the repository at this point in the history
  • Loading branch information
kosarev committed Jan 31, 2021
1 parent 6c90809 commit 0d4d56b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions zx/_machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,8 @@ def install_snapshot(self, snapshot):

class Spectrum48(_Spectrum48Base, MachineState):
# Memory marks.
_NO_MARKS = 0
_BREAKPOINT_MARK = 1 << 0
__NO_MARKS = 0
__BREAKPOINT_MARK = 1 << 0

def __init__(self):
self.machine_kind = 'ZX Spectrum 48K'
Expand Down Expand Up @@ -383,7 +383,7 @@ def paused(self, value):
self.notify_devices(PauseStateUpdated())

def set_breakpoints(self, addr, size):
self.mark_addrs(addr, size, self._BREAKPOINT_MARK)
self.mark_addrs(addr, size, self.__BREAKPOINT_MARK)

def set_breakpoint(self, addr):
self.set_breakpoints(addr, 1)

0 comments on commit 0d4d56b

Please sign in to comment.