summaryrefslogtreecommitdiff
path: root/emu/emul.h
diff options
context:
space:
mode:
Diffstat (limited to 'emu/emul.h')
-rw-r--r--emu/emul.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/emu/emul.h b/emu/emul.h
index 131cd4c..6012309 100644
--- a/emu/emul.h
+++ b/emu/emul.h
@@ -21,6 +21,8 @@ typedef struct emul_t {
cpu_6502_t *cpu;
memory_t *memory;
bool gui;
+ int width;
+ int height;
#ifdef WITH_GUI
SDL_Window *window;
SDL_Renderer *renderer;
@@ -29,9 +31,9 @@ typedef struct emul_t {
#endif
} emul_t;
-void emul_init( emul_t *emul, cpu_6502_t *cpu, memory_t *memory );
+void emul_init( emul_t *emul, cpu_6502_t *cpu, memory_t *memory, int width, int height );
void emul_start( emul_t *emul );
-void emul_run( emul_t *emul );
+void emul_run( emul_t *emul, int nof_steps );
void emul_free( emul_t *emul );
#endif