Reset ret after reading the last event
This commit is contained in:
parent
4a08add5ab
commit
c5aa784caa
@ -32,6 +32,7 @@ main(int argc, char *argv[])
|
||||
err("emulation aborts!");
|
||||
} else {
|
||||
err("emulation ends");
|
||||
ret = 0;
|
||||
}
|
||||
|
||||
if (emu_finish(emu) != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user