summaryrefslogtreecommitdiff
path: root/emu/emul.c
diff options
context:
space:
mode:
Diffstat (limited to 'emu/emul.c')
-rw-r--r--emu/emul.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/emu/emul.c b/emu/emul.c
index 930f112..602ce33 100644
--- a/emu/emul.c
+++ b/emu/emul.c
@@ -3,10 +3,10 @@
#include <stdio.h>
#include <stdlib.h>
-void emul_init( emul_t *emul, cpu_6502_t *cpu, memory_t *memory, int width, int height )
+void emul_init( emul_t *emul, cpu_6502_t *cpu, bus_t *bus, int width, int height )
{
emul->cpu = cpu;
- emul->memory = memory;
+ emul->bus = bus;
emul->gui = false;
emul->width = width;
emul->height = height;