X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=cart.c;h=909506abf34ecd28a708337b895eceda07b75964;hp=0dd8fee24c2dcd7d0487674f16376f9aed42a999;hb=0d6a66c2a80f50ae51327cd406f9df14d99ad02e;hpb=2a6855a31daf79cad83545b1eeee646e10481e5e diff --git a/cart.c b/cart.c index 0dd8fee..909506a 100644 --- a/cart.c +++ b/cart.c @@ -29,6 +29,7 @@ #include "types.h" #include "fce.h" #include "ppu.h" +#include "ppu098.h" #include "cart.h" #include "memory.h" @@ -39,8 +40,6 @@ #include "svga.h" #include "file.h" -#define FCEUPPU_LineUpdate(...) - /* This file contains all code for coordinating the mapping in of the address space external to the NES. @@ -308,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)