Reset ret after reading the last event

This commit is contained in:
Rodrigo Arias 2023-02-02 14:02:15 +01:00 committed by Rodrigo Arias Mallo
parent 4a08add5ab
commit c5aa784caa

View File

@ -32,6 +32,7 @@ main(int argc, char *argv[])
err("emulation aborts!");
} else {
err("emulation ends");
ret = 0;
}
if (emu_finish(emu) != 0) {