1
0
mirror of https://github.com/rzzzwilson/pymlac.git synced 2025-06-10 09:32:41 +00:00

Fixed draw bug, only drawing +ve moves

This commit is contained in:
Ross Wilson
2015-08-23 10:29:20 +07:00
parent c8f294a643
commit 38a31d2ad8

View File

@@ -71,8 +71,8 @@ class DisplayCPU(object):
self.DY -= (byte & 0x03)
else:
self.DY += (byte & 0x03)
if byte & 0x40:
self.display.draw(prevDX, prevDY, self.DX, self.DY)
if byte & 0x40:
self.display.draw(prevDX, prevDY, self.DX, self.DY)
else: # micro instructions
if byte & 0x40:
self.Mode = self.MODE_NORMAL