notaz.gp2x.de
/
fceu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merge mappers from FCEU-mm
[fceu.git]
/
ppu098.c
diff --git
a/ppu098.c
b/ppu098.c
index
fe0e5c2
..
65bdafc
100644
(file)
--- a/
ppu098.c
+++ b/
ppu098.c
@@
-34,8
+34,8
@@
#include "video.h"
#include "input.h"
#include "video.h"
#include "input.h"
-#ifdef
GP2X
-#include "drivers/
gp2x
/asmutils.h"
+#ifdef
__arm__
+#include "drivers/
arm
/asmutils.h"
#endif
#define Pal (PALRAM)
#endif
#define Pal (PALRAM)
@@
-699,7
+699,7
@@
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
+#ifndef
__arm__
int x;
#endif
uint8 *target=XBuf+scanline*320+32;
int x;
#endif
uint8 *target=XBuf+scanline*320+32;
@@
-720,7
+720,7
@@
static void DoLine(void)
if(SpriteON)
CopySprites098(target);
if(SpriteON)
CopySprites098(target);
-#ifdef
GP2X
+#ifdef
__arm__
if(ScreenON || SpriteON) // Yes, very el-cheapo.
{
if(PPU[1]&0x01)
if(ScreenON || SpriteON) // Yes, very el-cheapo.
{
if(PPU[1]&0x01)