1
0
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:
Mario Keller 2016-10-06 23:32:09 +02:00
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()