mirror of
https://github.com/isometimes/rpi4-osdev
synced 2024-11-22 02:00:40 +00:00
Fixed some weird compilation issues
This commit is contained in:
parent
7fa637650d
commit
dba37c8522
2 changed files with 3 additions and 4 deletions
|
@ -89,7 +89,7 @@ void initBricks()
|
|||
int brickwidth = 32;
|
||||
int brickheight = 8;
|
||||
int brickspacer = 20;
|
||||
int brickcols[5] = { 0x11, 0x22, 0xEE, 0x44, 0x66 };
|
||||
static int brickcols[] = { 0x11, 0x22, 0xEE, 0x44, 0x66 };
|
||||
|
||||
int ybrick = MARGIN + brickheight;
|
||||
|
||||
|
|
|
@ -182,11 +182,10 @@ enum {
|
|||
OBJ_BALL = 3
|
||||
};
|
||||
|
||||
//#define OBJS_ADDRESS 0x02200000 // Somewhere safe to store a lot of data
|
||||
#define OBJS_ADDRESS 0x02200000 // Somewhere safe to store a lot of data
|
||||
|
||||
unsigned int numobjs = 0;
|
||||
struct Object objects[(ROWS * COLS) + (2 * NUM_LIVES)];
|
||||
//struct Object *objects = (struct Object *)OBJS_ADDRESS;
|
||||
struct Object *objects = (struct Object *)OBJS_ADDRESS;
|
||||
struct Object *ball;
|
||||
struct Object *paddle;
|
||||
int paddlewidth = 80;
|
||||
|
|
Loading…
Reference in a new issue