1
0
mirror of https://github.com/mnaberez/py65.git synced 2026-04-19 01:16:53 +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
+3 -1
View File
@@ -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()