diff options
| -rw-r--r-- | zetsubou/tpl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zetsubou/tpl.c b/zetsubou/tpl.c index 9060d5e..1e80b16 100644 --- a/zetsubou/tpl.c +++ b/zetsubou/tpl.c @@ -132,6 +132,7 @@ int TPL_ConvertRGBA8ToBitMap(u8* tplbuf, u32 tplsize, u32 tplpoint, u8** bitmapd } } iv++; + if(iv == 8) i = 0; // Gotta reset i every 8 "pixels"! if(iv >= 16) iv = 0; // Swap every 16 "pixels"! } } |
