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
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ int main(int argc, char *argv[])
// end of the decimal mode tests // end of the decimal mode tests
int result = mmu.read(0x0b); int result = mmu.read(0x0b);
printf("Test complete. Result: %s\n", result ? "failed" : "passed"); printf("Test complete. Result: %s\n", result ? "failed" : "passed");
exit(1); exit(result);
} }
cpu.Run(1); cpu.Run(1);