summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 66b76c8..995f4ed 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,11 +1,17 @@
#include "screen.h"
-
+#include "mem.h"
+#include "vcpu.h"
int main(int argc, char *argv[])
{
+ // Initialize
+ MemInit();
+ MemLoadROM("../roms/2-ibm-logo.ch8");
ScreenInit(800,400);
+ VCPUInit();
+
ScreenSetPixel(0,1,1);
while (!WindowShouldClose()){