Change default value for WAIT
Reorder global variable declarations
This commit is contained in:
parent
ab05516329
commit
2bfddbbfd0
18
src/main.c
18
src/main.c
@ -18,24 +18,24 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef WAIT
|
#ifndef WAIT
|
||||||
#define WAIT 100
|
#define WAIT 200
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef uint8_t byte;
|
typedef uint8_t byte;
|
||||||
typedef uint16_t word;
|
typedef uint16_t word;
|
||||||
|
|
||||||
byte memory[4096];
|
|
||||||
byte v[16];
|
|
||||||
word i = 0;
|
|
||||||
word pc = 0x200;
|
|
||||||
word sp = 0;
|
|
||||||
word stack[16];
|
|
||||||
byte dt = 0;
|
byte dt = 0;
|
||||||
byte st = 0;
|
|
||||||
byte key[16];
|
|
||||||
byte gfx[64][32];
|
byte gfx[64][32];
|
||||||
|
word i = 0;
|
||||||
|
byte key[16];
|
||||||
|
byte memory[4096];
|
||||||
byte oldgfx[64][32];
|
byte oldgfx[64][32];
|
||||||
word op = 0;
|
word op = 0;
|
||||||
|
word pc = 0x200;
|
||||||
|
word sp = 0;
|
||||||
|
byte st = 0;
|
||||||
|
word stack[16];
|
||||||
|
byte v[16];
|
||||||
|
|
||||||
SDL_Surface* s;
|
SDL_Surface* s;
|
||||||
SDL_Event e;
|
SDL_Event e;
|
||||||
|
Loading…
Reference in New Issue
Block a user