about summary refs log tree commit diff
path: root/emulator.h
diff options
context:
space:
mode:
authorManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2021-07-20 20:57:40 +0100
committerManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2021-07-20 20:57:40 +0100
commit976a1b93fa7a43ae17bdcf1b39707c083e83b625 (patch)
tree0c6d9134f065de609cff0348ae6ddda364ff7340 /emulator.h
parentFeature: Implemented various instructions (diff)
downloadCHIP8-Emulator-976a1b93fa7a43ae17bdcf1b39707c083e83b625.tar.gz
CHIP8-Emulator-976a1b93fa7a43ae17bdcf1b39707c083e83b625.tar.bz2
CHIP8-Emulator-976a1b93fa7a43ae17bdcf1b39707c083e83b625.zip
Refractoring: Refractored the stepping of the PC into a function
Diffstat (limited to 'emulator.h')
-rw-r--r--emulator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/emulator.h b/emulator.h
index 7fac868..489ad71 100644
--- a/emulator.h
+++ b/emulator.h
@@ -59,6 +59,7 @@ typedef struct
 int emulator_initialise(Emulator* emulator);
 int emulator_load_rom(Emulator* emulator, char* rom_name);
 int emulator_tick(Emulator* emulator);
+void emulator_step(Emulator* emulator);
 void emulator_dump_registers(Emulator* emulator);
 
 void* emulator_timers_thread();