diff options
author | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2021-07-20 20:57:40 +0100 |
---|---|---|
committer | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2021-07-20 20:57:40 +0100 |
commit | 976a1b93fa7a43ae17bdcf1b39707c083e83b625 (patch) | |
tree | 0c6d9134f065de609cff0348ae6ddda364ff7340 /emulator.h | |
parent | Feature: Implemented various instructions (diff) | |
download | CHIP8-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.h | 1 |
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(); |