aboutsummaryrefslogtreecommitdiff
path: root/hw/m68k/an5206.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/m68k/an5206.c')
-rw-r--r--hw/m68k/an5206.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/m68k/an5206.c b/hw/m68k/an5206.c
index c76244176f..7b9b15d6c4 100644
--- a/hw/m68k/an5206.c
+++ b/hw/m68k/an5206.c
@@ -42,7 +42,7 @@ static void an5206_init(MachineState *machine)
if (!cpu_model) {
cpu_model = "m5206";
}
- cpu = cpu_m68k_init(cpu_model);
+ cpu = M68K_CPU(cpu_generic_init(TYPE_M68K_CPU, cpu_model));
if (!cpu) {
error_report("Unable to find m68k CPU definition");
exit(1);