[nce] more annoying syscalls and stuff

Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
lizzie 2025-08-30 20:54:44 +00:00 committed by crueter
parent e7da1c96b3
commit 4cebff8aae
Signed by: crueter
GPG key ID: 425ACD2D4830EBC6
2 changed files with 2 additions and 1 deletions

View file

@ -20,6 +20,7 @@
#include <signal.h>
#include <sys/syscall.h>
#include <unistd.h>
#include <pthread.h>
namespace Core {

View file

@ -95,7 +95,7 @@
#ifdef __APPLE__
inline _STRUCT_ARM_NEON_STATE64* GetFloatingPointState(mcontext_t& host_ctx) {
return &(host_ctx.__ns);
return &(host_ctx->__ns);
}
#else
inline fpsimd_context* GetFloatingPointState(mcontext_t& host_ctx) {