commit 3ddbc3b
Devine Lu Linvega
·
2026-01-11 19:41:20 +0000 UTC
parent 3f0e58f
Undone caching
1 files changed,
+1,
-2
+1,
-2
1@@ -623,8 +623,7 @@ screen_deo_sprite(void)
2 const int bit = 1 << row;
3 const int color = ((ch1 & bit) ? 1 : 0) | ((ch2 & (bit << 1)) ? 2 : 0);
4 const Uint8 mask = (color | opaque_mask) ? 0xff : 0x00;
5- const Uint8 cell = *d, next = (cell & layer_mask) | table[color];
6- *d = (cell & ~mask) | (next & mask);
7+ *d = (*d & ~mask) | (((*d & layer_mask) | table[color]) & mask);
8 }
9 }
10 }