notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4167049
)
sms, minor optimization
author
kub
<derkub@gmail.com>
Sat, 18 May 2024 19:59:18 +0000
(21:59 +0200)
committer
kub
<derkub@gmail.com>
Sat, 18 May 2024 20:29:56 +0000
(22:29 +0200)
pico/mode4.c
patch
|
blob
|
blame
|
history
diff --git
a/pico/mode4.c
b/pico/mode4.c
index
b396af6
..
eada974
100644
(file)
--- a/
pico/mode4.c
+++ b/
pico/mode4.c
@@
-174,7
+174,7
@@
static void ParseSpritesM4(int scanline)
if (zoomed) h *= 2;
sprite_base = (pv->reg[6] & 4) << (13-2-1);
- m =
0
;
+ m =
pv->status & SR_C
;
memset(sprites_map, 0, sizeof(sprites_map));
for (i = s = 0; i < 64; i++)
{
@@
-448,7
+448,7
@@
static void ParseSpritesTMS(int scanline)
if (zoomed) h *= 2;
sprite_base = (pv->reg[6] & 0x7) << 11;
- m =
0
;
+ m =
pv->status & SR_C
;
memset(sprites_map, 0, sizeof(sprites_map));
/* find sprites on this scanline */
for (i = s = 0; i < 32; i++)