summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorLoic Guegan <loic.guegan@mailbox.org>2023-12-25 07:24:17 +0100
committerLoic Guegan <loic.guegan@mailbox.org>2023-12-25 07:24:17 +0100
commit475996af26408156486faa43682f7effdabfa156 (patch)
tree571bd3934c7a312ab032e20e7111bf81d93f4ff7 /src/main.c
parent3924115080f5332d8e452494af21be7b47b6bac6 (diff)
Minor changes
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()){