mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
make dsptool fail if input file path doesn't exist
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3245 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -248,6 +248,11 @@ int main(int argc, const char *argv[])
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
input_name = argv[i];
|
input_name = argv[i];
|
||||||
|
if (!File::Exists(input_name.c_str()))
|
||||||
|
{
|
||||||
|
printf("Input path does not exist.\n");
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user