fix return result on success of decimal tests

This commit is contained in:
Jorj Bauer 2018-06-16 07:48:05 -04:00
parent aa45e49f40
commit 645053ff51

View File

@ -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);