mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2024-11-24 09:25:41 +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