Syntax style preference change on NULL pointer check

This commit is contained in:
mjbudd77 2021-02-01 20:15:18 -05:00
parent 45fc222467
commit 663e357553
1 changed files with 3 additions and 1 deletions

View File

@ -1255,8 +1255,10 @@ static void DrawPatternTable( ppuPatternTable_t *pattern, uint8_t *table, uint8_
int p=0,tmp; int p=0,tmp;
uint8_t chr0,chr1,logs,shift; uint8_t chr0,chr1,logs,shift;
if (!palo) if (palo == NULL)
{
return; return;
}
pal <<= 2; pal <<= 2;
for (i = 0; i < 16; i++) //Columns for (i = 0; i < 16; i++) //Columns