fixed some portability issues

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@336 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2008-01-27 23:04:29 +00:00
parent d4ca252d92
commit dca310c413
8 changed files with 24 additions and 13 deletions

View file

@ -610,8 +610,8 @@ static void DrawTilesFromCacheShPrep(void)
{
// as some layer has covered whole line with hi priority tiles,
// we can process whole line and then act as if sh/hi mode was off.
rendstatus|=0x80;
int c = 320/4, *zb = (int *)(HighCol+8);
rendstatus|=0x80;
while (c--)
{
int tmp = *zb;