static int RWWrap=0;
#ifdef ASM_6502
+#ifndef DEBUG_ASM_6502
static void asmcpu_update(int32 cycles)
{
// some code from x6502.c
}
}
}
+#endif
void asmcpu_unpack(void)
{
X6502_Reset();
}
+#ifndef DEBUG_ASM_6502
static void FCEU_MemoryRand(uint8 *ptr, uint32 size)
{
int x=0;
ptr++;
}
}
+#endif
void PowerNES081(void)
{
}
}
-#ifdef ASM_6502
+#if defined(ASM_6502) && !defined(DEBUG_ASM_6502)
static void asmcpu_update(int32 cycles)
{
// some code from x6502.c
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);