mirror of
https://github.com/JorjBauer/aiie.git
synced 2024-11-22 00:32:39 +00:00
fix return result on success of decimal tests
This commit is contained in:
parent
aa45e49f40
commit
645053ff51
@ -103,7 +103,7 @@ int main(int argc, char *argv[])
|
||||
// end of the decimal mode tests
|
||||
int result = mmu.read(0x0b);
|
||||
printf("Test complete. Result: %s\n", result ? "failed" : "passed");
|
||||
exit(1);
|
||||
exit(result);
|
||||
}
|
||||
|
||||
cpu.Run(1);
|
||||
|
Loading…
Reference in New Issue
Block a user