about summary refs log tree commit diff stats
path: root/src/wrapped/generated/wrappedlibctypes.h
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-12-15 13:21:58 +0100
committerptitSeb <sebastien.chev@gmail.com>2023-12-15 13:21:58 +0100
commitd8c40c166203698cb9694df12be2bfd9a61a3316 (patch)
tree16071f30278e6a0305ec8967e68f717415682a93 /src/wrapped/generated/wrappedlibctypes.h
parent7c0180c3b9cf1e71e7b778166d81b3d4aa6c1f6d (diff)
downloadbox64-d8c40c166203698cb9694df12be2bfd9a61a3316.tar.gz
box64-d8c40c166203698cb9694df12be2bfd9a61a3316.zip
Limit the number of CPU Core repported to 64 when running wine (or proton)
Diffstat (limited to 'src/wrapped/generated/wrappedlibctypes.h')
-rw-r--r--src/wrapped/generated/wrappedlibctypes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wrapped/generated/wrappedlibctypes.h b/src/wrapped/generated/wrappedlibctypes.h
index ff0c659e..a34bb540 100644
--- a/src/wrapped/generated/wrappedlibctypes.h
+++ b/src/wrapped/generated/wrappedlibctypes.h
@@ -17,7 +17,9 @@ typedef void (*vFp_t)(void*);
 typedef int32_t (*iFv_t)(void);
 typedef int32_t (*iFi_t)(int32_t);
 typedef int32_t (*iFp_t)(void*);
+typedef int64_t (*IFi_t)(int32_t);
 typedef intptr_t (*lFv_t)(void);
+typedef intptr_t (*lFi_t)(int32_t);
 typedef uintptr_t (*LFL_t)(uintptr_t);
 typedef void* (*pFp_t)(void*);
 typedef void (*vFpi_t)(void*, int32_t);
@@ -130,7 +132,9 @@ typedef int32_t (*iFppipppp_t)(void*, void*, int32_t, void*, void*, void*, void*
 	GO(setjmp, iFp_t) \
 	GO(stime, iFp_t) \
 	GO(uname, iFp_t) \
+	GO(sysconf, IFi_t) \
 	GO(syscall, lFv_t) \
+	GO(__sysconf, lFi_t) \
 	GO(getauxval, LFL_t) \
 	GO(__deregister_frame_info, pFp_t) \
 	GO(mallinfo, pFp_t) \