diff options
Diffstat (limited to 'softmmu/main.c')
-rw-r--r-- | softmmu/main.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/softmmu/main.c b/softmmu/main.c index c00432f..1b675a8 100644 --- a/softmmu/main.c +++ b/softmmu/main.c @@ -32,11 +32,13 @@ int qemu_main(int argc, char **argv, char **envp) { + int status; + qemu_init(argc, argv, envp); - qemu_main_loop(); + status = qemu_main_loop(); qemu_cleanup(); - return 0; + return status; } #ifndef CONFIG_COCOA |