diff --git a/src/ls7emulator.c b/src/ls7emulator.c index d93c592..f66e13a 100644 --- a/src/ls7emulator.c +++ b/src/ls7emulator.c @@ -8,7 +8,6 @@ #include #include -#include "ls7emulator.h" #include "config.h" #include "events.c" #include "cpu.c" @@ -17,6 +16,10 @@ #include "keyboard.c" +sfVertexArray *renderArray; +sfRenderWindow *window; +sfRenderStates renderStates; + void openFile(const char *inputFile){ FILE *file = fopen(inputFile, "rb"); @@ -68,7 +71,7 @@ int main(int argc, char *argv[]){ sfTransform_scale(&renderStates.transform, 2, 2); resetSystem(); - + while (sfRenderWindow_isOpen(window)){ pollEvents(window);