diff options
Diffstat (limited to 'emu/emul.h')
-rw-r--r-- | emu/emul.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |