mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2024-11-28 04:24:15 +01:00
Make sure to properly exit if there are no command line arguments.
This commit is contained in:
parent
31f6233da2
commit
8799bf4ea8
@ -11,6 +11,10 @@ void PrintUsage() {
|
||||
int main(int argc, char **argv) {
|
||||
|
||||
int fileArg = 1;
|
||||
if(fileArg == argc) {
|
||||
PrintUsage();
|
||||
exit(1);
|
||||
}
|
||||
|
||||
int quality = 50;
|
||||
int numThreads = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user