Merge pull request #8 from bbbradsmith/mmc5_warning
mmc5.cpp fix warning about int to boolean type conversion
This commit is contained in:
commit
e90b7e17b7
|
@ -122,7 +122,7 @@ uint8* MMC5BGVRAMADR(uint32 A)
|
|||
{
|
||||
if(Sprite16)
|
||||
{
|
||||
bool isPattern = PPUON;
|
||||
bool isPattern = PPUON != 0;
|
||||
if (ppuphase == PPUPHASE_OBJ && isPattern)
|
||||
return &ABANKS[(A) >> 10][(A)];
|
||||
if (ppuphase == PPUPHASE_BG && isPattern)
|
||||
|
|
Loading…
Reference in New Issue