notaz.gp2x.de
/
fceu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
compile fix
[fceu.git]
/
ppu098.c
diff --git
a/ppu098.c
b/ppu098.c
index
d0a0a49
..
023975b
100644
(file)
--- a/
ppu098.c
+++ b/
ppu098.c
@@
-86,7
+86,7
@@
static void makeppulut(void)
}
}
}
}
-#if
def ASM_6502
+#if
defined(ASM_6502) && !defined(DEBUG_ASM_6502)
static void asmcpu_update(int32 cycles)
{
// some code from x6502.c
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)
{
void MMC5_hb(int); /* Ugh ugh ugh. */
static void DoLine(void)
{
+#ifndef GP2X
int x;
int x;
+#endif
uint8 *target=XBuf+scanline*320+32;
if(MMC5Hack && (ScreenON || SpriteON)) MMC5_hb(scanline);
uint8 *target=XBuf+scanline*320+32;
if(MMC5Hack && (ScreenON || SpriteON)) MMC5_hb(scanline);