mirror of
https://github.com/mnaberez/py65.git
synced 2025-04-21 13:37:41 +00:00
fixed no mpu set if rom is loaded
This commit is contained in:
parent
7cf6e09824
commit
cfcc892a64
@ -107,7 +107,9 @@ class Monitor(cmd.Cmd):
|
||||
cmd = "load %s" % load_value
|
||||
self.onecmd(cmd)
|
||||
|
||||
if flag_mpu == True:
|
||||
if (flag_mpu == True) or (flag_rom == True):
|
||||
if mpu_value == "":
|
||||
mpu_value = "6502"
|
||||
if self._get_mpu(mpu_value) is None:
|
||||
mpus = list(self.Microprocessors.keys())
|
||||
mpus.sort()
|
||||
|
Loading…
x
Reference in New Issue
Block a user