From 7f7db378145f145a3638cfb7a9531664c5636a3c Mon Sep 17 00:00:00 2001 From: shokre Date: Thu, 16 Sep 2021 20:42:13 +0200 Subject: [PATCH] feat: enhance screen background --- orao/video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orao/video.py b/orao/video.py index 6bedc73..cb50a3d 100644 --- a/orao/video.py +++ b/orao/video.py @@ -8,4 +8,4 @@ def mem_listener(addr, val, cpu): if 0x6000 <= addr <= 0x7FFF: # Video RAM y, x = divmod((addr - 0x6000) * 8, 256) 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