diff --git a/src/main.c b/src/main.c index 824fa21..5cee222 100644 --- a/src/main.c +++ b/src/main.c @@ -18,24 +18,24 @@ #endif #ifndef WAIT -#define WAIT 100 +#define WAIT 200 #endif typedef uint8_t byte; 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 st = 0; -byte key[16]; byte gfx[64][32]; +word i = 0; +byte key[16]; +byte memory[4096]; byte oldgfx[64][32]; word op = 0; +word pc = 0x200; +word sp = 0; +byte st = 0; +word stack[16]; +byte v[16]; SDL_Surface* s; SDL_Event e;