diff --git a/src/emu/emu.c b/src/emu/emu.c index c51a03f..4ac0398 100644 --- a/src/emu/emu.c +++ b/src/emu/emu.c @@ -51,8 +51,6 @@ emu_init(struct emu *emu, int argc, char *argv[]) return -1; } - emu_stat_init(&emu->stat); - model_init(&emu->model); /* Register all the models */ @@ -71,6 +69,8 @@ emu_init(struct emu *emu, int argc, char *argv[]) return -1; } + emu_stat_init(&emu->stat); + return 0; }