X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=ppu098.c;h=023975b7723363674c66d3a584f54ca68d06b1e7;hp=d0a0a49f5dcf5621a8923f8ffe16dbbbafda8560;hb=cd9a6b519c9c465d6781d4a6636d715542e6e0f6;hpb=778873069e1caaf3afbe7e99b9cefa4f770959c0 diff --git a/ppu098.c b/ppu098.c index d0a0a49..023975b 100644 --- a/ppu098.c +++ b/ppu098.c @@ -86,7 +86,7 @@ static void makeppulut(void) } } -#ifdef ASM_6502 +#if defined(ASM_6502) && !defined(DEBUG_ASM_6502) static void asmcpu_update(int32 cycles) { // some code from x6502.c @@ -695,7 +695,9 @@ static void Fixit1(void) void MMC5_hb(int); /* Ugh ugh ugh. */ static void DoLine(void) { +#ifndef GP2X int x; +#endif uint8 *target=XBuf+scanline*320+32; if(MMC5Hack && (ScreenON || SpriteON)) MMC5_hb(scanline);