about summary refs log tree commit diff
path: root/emulator.h
diff options
context:
space:
mode:
Diffstat (limited to 'emulator.h')
-rw-r--r--emulator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/emulator.h b/emulator.h
index fa455d9..2df3665 100644
--- a/emulator.h
+++ b/emulator.h
@@ -54,6 +54,7 @@ typedef struct
     volatile uint8_t draw_flag;
     volatile uint8_t delay_timer;
     volatile uint8_t sound_timer;
+    pthread_t timers_thread;
     uint8_t display[64][32];
     Key keys[16];
     Registers regs;
@@ -64,6 +65,7 @@ typedef struct
 } Emulator;
 
 int emulator_initialise(Emulator* emulator);
+int emulator_deinitialise(Emulator* emulator);
 int emulator_load_rom(Emulator* emulator, char* rom_name);
 int emulator_tick(Emulator* emulator);
 void emulator_step(Emulator* emulator);