From 0d4d56be6ae630caeb96bfaa657390549c92fa5e Mon Sep 17 00:00:00 2001 From: Ivan Kosarev Date: Sun, 31 Jan 2021 16:00:24 +0200 Subject: [PATCH] [#18] Further hide memory marks. --- zx/_machine.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zx/_machine.py b/zx/_machine.py index 48e6535..5b5b79a 100644 --- a/zx/_machine.py +++ b/zx/_machine.py @@ -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' @@ -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)