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:
9761a7d
)
bugfix
author
notaz
<notasas@gmail.com>
Tue, 1 Jul 2008 20:53:04 +0000
(20:53 +0000)
committer
notaz
<notasas@gmail.com>
Tue, 1 Jul 2008 20:53:04 +0000
(20:53 +0000)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@512
be3aeb3a
-fb24-0410-a615-
afba39da0efa
Pico/Draw.c
patch
|
blob
|
blame
|
history
diff --git
a/Pico/Draw.c
b/Pico/Draw.c
index
0390d84
..
0c5f178
100644
(file)
--- a/
Pico/Draw.c
+++ b/
Pico/Draw.c
@@
-852,7
+852,6
@@
static void DrawSpritesFromCacheAS(int *hc, int maxwidth, int prio, int sh)
{
\r
if(code&0x10000) fTileFunc=TileFlipAS_noop;
\r
else fTileFunc=TileNormAS_noop;
\r
- *(--hco) = code; /* save for later */
\r
} else {
\r
if(code&0x10000) fTileFunc=TileFlipAS;
\r
else fTileFunc=TileNormAS;
\r
@@
-861,6
+860,8
@@
static void DrawSpritesFromCacheAS(int *hc, int maxwidth, int prio, int sh)
if(code&0x10000) fTileFunc=TileFlipAS_onlymark;
\r
else fTileFunc=TileNormAS_onlymark;
\r
}
\r
+ if (sh && pal == 0x30)
\r
+ *(--hco) = code; /* save for later */
\r
\r
pal |= 0x80;
\r
for (; width; width--,sx+=8,tile+=delta)
\r