mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Some help in DSPTool
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3036 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -208,6 +208,15 @@ void RunAsmTests()
|
|||||||
// So far, all this binary can do is test partially that itself works correctly.
|
// So far, all this binary can do is test partially that itself works correctly.
|
||||||
int main(int argc, const char *argv[])
|
int main(int argc, const char *argv[])
|
||||||
{
|
{
|
||||||
|
if(argc == 1 || (argc == 2 && (!strcmp(argv[1], "--help") || (!strcmp(argv[1], "-h"))))
|
||||||
|
{
|
||||||
|
printf("DSPTool [-d] [-o <FILE>] [-h <FILE>] <DSP ASSEMBLER FILE>\n");
|
||||||
|
printf("-d: Disassemble\n");
|
||||||
|
printf("-o <OUTPUT FILE>: Results from stdout redirected to a file\n");
|
||||||
|
printf("-h <HEADER FILE>: Output assembly results to a header\n");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
if (argc == 2 && !strcmp(argv[1], "test"))
|
if (argc == 2 && !strcmp(argv[1], "test"))
|
||||||
{
|
{
|
||||||
RunAsmTests();
|
RunAsmTests();
|
||||||
|
Reference in New Issue
Block a user