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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user