1
0
mirror of https://github.com/mnaberez/py65.git synced 2024-06-02 10:41:28 +00:00

fixed bug in load and mpu argument order

This commit is contained in:
Mario Keller 2016-10-06 23:42:11 +02:00
parent cfcc892a64
commit ec2f103188

View File

@ -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)