Fix DSPTool string output for disassembly.

Would previously print that assembly had succeeded.
This commit is contained in:
Lioncash 2014-03-09 15:01:56 -04:00
parent d71aef8843
commit 76b2dde3d7
1 changed files with 9 additions and 2 deletions

View File

@ -486,8 +486,15 @@ int main(int argc, const char *argv[])
source.clear(); source.clear();
} }
if(!outputSize) if (disassemble)
printf("Assembly completed successfully!\n"); {
printf("Disassembly completed successfully!\n");
}
else
{
if (!outputSize)
printf("Assembly completed successfully!\n");
}
return 0; return 0;
} }