about summary refs log tree commit diff
path: root/emulator.h
diff options
context:
space:
mode:
authorManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2021-07-19 14:54:33 +0100
committerManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2021-07-19 14:54:33 +0100
commitd0737d93433f09d9d1024d768a5c97b83f311a6a (patch)
tree4c564fd8b23c4842d2609ecca2d18b9243291d3d /emulator.h
parentMisc: Load roms after 0x200 (diff)
downloadCHIP8-Emulator-d0737d93433f09d9d1024d768a5c97b83f311a6a.tar.gz
CHIP8-Emulator-d0737d93433f09d9d1024d768a5c97b83f311a6a.tar.bz2
CHIP8-Emulator-d0737d93433f09d9d1024d768a5c97b83f311a6a.zip
Feature: Added a font
Diffstat (limited to 'emulator.h')
-rw-r--r--emulator.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/emulator.h b/emulator.h
index b685bea..cfbbeff 100644
--- a/emulator.h
+++ b/emulator.h
@@ -2,7 +2,8 @@
 #define _EMULATOR_H_
 
 #include <stdio.h>
-#include  <sys/stat.h>
+#include <sys/stat.h>
+#include <string.h>
 
 typedef struct
 {
@@ -37,6 +38,7 @@ typedef struct
     uint8_t memory[4096];
 } Emulator;
 
+int emulator_initialise(Emulator* emulator);
 int emulator_load_rom(Emulator* emulator, char* rom_name);
 int emulator_tick(Emulator* emulator);