mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00: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:
parent
87d07f3d17
commit
91a3099a31
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue