X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=cart.c;h=909506abf34ecd28a708337b895eceda07b75964;hp=b159f39382d86f44d863de18b08a0ce5f5749358;hb=0d6a66c2a80f50ae51327cd406f9df14d99ad02e;hpb=ebde7d27f12cb4e1002670fd481076fb9ba509ff diff --git a/cart.c b/cart.c index b159f39..909506a 100644 --- a/cart.c +++ b/cart.c @@ -307,7 +307,7 @@ void FASTAPASS(2) setchr8r(int r, unsigned int V) if(CHRram[r]) PPUCHRRAM|=(255); else - PPUCHRRAM&=~(255); + PPUCHRRAM&=0; } void FASTAPASS(2) setchr1(unsigned int A, unsigned int V)