From 2bfddbbfd0c2fbb877e1e2a9f6521854317690d9 Mon Sep 17 00:00:00 2001 From: Franck STAUFFER Date: Mon, 3 Aug 2020 16:57:18 +0200 Subject: [PATCH] Change default value for WAIT Reorder global variable declarations --- src/main.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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;