mirror of
https://github.com/mnaberez/py65.git
synced 2025-04-08 19:40:03 +00:00
fixed bug in load and mpu argument order
This commit is contained in:
parent
cfcc892a64
commit
ec2f103188
@ -103,10 +103,6 @@ class Monitor(cmd.Cmd):
|
||||
self._usage()
|
||||
self._exit(1)
|
||||
|
||||
if flag_load == True:
|
||||
cmd = "load %s" % load_value
|
||||
self.onecmd(cmd)
|
||||
|
||||
if (flag_mpu == True) or (flag_rom == True):
|
||||
if mpu_value == "":
|
||||
mpu_value = "6502"
|
||||
@ -119,6 +115,10 @@ class Monitor(cmd.Cmd):
|
||||
cmd = "mpu %s" % mpu_value
|
||||
self.onecmd(cmd)
|
||||
|
||||
if flag_load == True:
|
||||
cmd = "load %s" % load_value
|
||||
self.onecmd(cmd)
|
||||
|
||||
if flag_goto == True:
|
||||
cmd = "goto %s" % goto_value
|
||||
self.onecmd(cmd)
|
||||
|
Loading…
x
Reference in New Issue
Block a user