mirror of
https://github.com/mnaberez/py65.git
synced 2025-01-01 11:29:32 +00:00
Remove unnecessary call to address_for()
This commit is contained in:
parent
37749bbd50
commit
586a227b7f
@ -759,9 +759,7 @@ class Monitor(cmd.Cmd):
|
||||
self._output("Syntax error: %s" % args)
|
||||
return self.help_add_breakpoint()
|
||||
|
||||
address = self._address_parser.address_for(split[0])
|
||||
if not address:
|
||||
address = self._address_parser.number(split[0])
|
||||
address = self._address_parser.number(split[0])
|
||||
|
||||
if address not in self._address_parser.breakpoints:
|
||||
self._output("Breakpoint %d added at $%04X" % (len(self._address_parser.breakpoints), address))
|
||||
|
Loading…
Reference in New Issue
Block a user