Skip to content

Commit 4bb735f

Browse files
Make Crunch compression work correctly on CPU supporting 16 or more threads
Explanation: Crunch library has been designed to work correctly when using up to 16 threads. Considering that one of those threads is the main thread, the maximum number of helper threads should be set to 15.
1 parent 660322d commit 4bb735f

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

bin/crunch_x64.exe

0 Bytes
Binary file not shown.

inc/crnlib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ enum crn_limits {
9292
cCRNMaxFaces = 6,
9393
cCRNMaxLevels = 16,
9494

95-
cCRNMaxHelperThreads = 16,
95+
cCRNMaxHelperThreads = 15,
9696

9797
cCRNMinQualityLevel = 0,
9898
cCRNMaxQualityLevel = 255

0 commit comments

Comments
 (0)