summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMika Lindqvist <postmaster@raasu.org>2021-06-22 01:41:16 +0300
committerHans Kristian Rosbach <hk-github@circlestorm.org>2021-06-22 13:20:19 +0200
commitc0cca0854206e25b41f1ee403dfb9a522ba85328 (patch)
tree365caabd488a8bb922f95ac9f9bfb2efb26fc1ab
parent21050e06c511a67f3239d1bca444616be6853bfe (diff)
downloadProject-Tick-c0cca0854206e25b41f1ee403dfb9a522ba85328.tar.gz
Project-Tick-c0cca0854206e25b41f1ee403dfb9a522ba85328.zip
[functable] Add missing call to cpu_check_features().
-rw-r--r--functable.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/functable.c b/functable.c
index acae446419..32ab90ed3a 100644
--- a/functable.c
+++ b/functable.c
@@ -241,6 +241,7 @@ Z_INTERNAL uint32_t adler32_stub(uint32_t adler, const unsigned char *buf, size_
Z_INTERNAL uint32_t chunksize_stub(void) {
// Initialize default
functable.chunksize = &chunksize_c;
+ cpu_check_features();
#ifdef X86_SSE2_CHUNKSET
# if !defined(__x86_64__) && !defined(_M_X64) && !defined(X86_NOCHECK_SSE2)