notaz.gp2x.de
/
fceu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move some gp2x files
[fceu.git]
/
ppu.c
diff --git
a/ppu.c
b/ppu.c
index
0fedcac
..
3fe957e
100644
(file)
--- a/
ppu.c
+++ b/
ppu.c
@@
-33,10
+33,10
@@
#define H_FLIP 0x40
#define SP_BACK 0x20
#define H_FLIP 0x40
#define SP_BACK 0x20
-uint8 SPRAM[0x100];
-
static uint8 SPRBUF[0x100]
;
+uint8 SPRAM[0x100]
__attribute__ ((aligned (4)))
;
+
uint8 SPRBUF[0x100] __attribute__ ((aligned (4)))
;
-uint8 sprlinebuf[256+8];
+uint8 sprlinebuf[256+8]
__attribute__ ((aligned (4)))
;
int32 sphitx;
uint8 sphitdata;
int32 sphitx;
uint8 sphitdata;
@@
-49,7
+49,7
@@
int spork=0; /* spork the world. Any sprites on this line?
extern void BGRender(uint8 *target);
extern void BGRender(uint8 *target);
-
static
int maxsprites=8;
+int maxsprites=8;
static int sprlinebuf_empty=0;
static int sprlinebuf_empty=0;