feat: enhance screen background
This commit is contained in:
parent
ca450a7063
commit
7f7db37814
1 changed files with 1 additions and 1 deletions
|
@ -8,4 +8,4 @@ def mem_listener(addr, val, cpu):
|
||||||
if 0x6000 <= addr <= 0x7FFF: # Video RAM
|
if 0x6000 <= addr <= 0x7FFF: # Video RAM
|
||||||
y, x = divmod((addr - 0x6000) * 8, 256)
|
y, x = divmod((addr - 0x6000) * 8, 256)
|
||||||
for i in range(8):
|
for i in range(8):
|
||||||
alphaarray[x + i, y] = 255 if (val >> i) & 1 else 0 # Transparency mask
|
alphaarray[x + i, y] = 255 if (val >> i) & 1 else 40 # Transparency mask
|
||||||
|
|
Loading…
Reference in a new issue