diff options
| author | Loic Guegan <loic.guegan@mailbox.org> | 2023-12-25 09:11:45 +0100 |
|---|---|---|
| committer | Loic Guegan <loic.guegan@mailbox.org> | 2023-12-25 09:11:45 +0100 |
| commit | 16f7128a0c81a508940ee1a8e8d1b8fe36f83259 (patch) | |
| tree | 690523d91c2b66d804e9db98143ff716ef1bba89 /src/main.c | |
| parent | 14e9dd9258eaf62dba3867bb6edc9cd8687125c4 (diff) | |
Minor changes
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -8,13 +8,16 @@ int main(int argc, char *argv[]) // Initialize MemInit(); MemLoadROM("../roms/2-ibm-logo.ch8"); + ScreenInit(800,400); VCPUInit(); - - - ScreenSetPixel(0,1,1); + // MemDump(); + int i=0; while (!WindowShouldClose()){ + VCPUFetch(); + VCPUDecode(); + VCPUExecute(); ScreenUpdate(); } |
