register_simpleattr wasn't returning value

This commit is contained in:
Neil Webber 2023-10-23 10:11:18 -05:00
parent 5009f75ad9
commit 42923f5f18

View file

@ -257,7 +257,7 @@ class MMIO:
return value return value
# NOTE: Registers a different ("closure of") rwattr each time. # NOTE: Registers a different ("closure of") rwattr each time.
self.register(_rwattr, addr, 1, reset=reset) return self.register(_rwattr, addr, 1, reset=reset)
# In the real hardware, the PDP-11 RESET instruction pulls a reset line # In the real hardware, the PDP-11 RESET instruction pulls a reset line
# that all devices can see. In the emulation, devices that need to know # that all devices can see. In the emulation, devices that need to know