Eugene Moz. <mozhaaak@schizoden.xyz> writes:
> Updated tarball. It builds fine now, more testing required though.
Attaching an updated tarball with some bugfixes.
This changes the patch to _math.cpp by implementing some missing bits
with sysctl(2) and fixing a floating point error. This was actually
interesting, and I'm not sure I did something correct, but yo, it
works(tm). The engine tries to initialise the FPU using fldcw and a
bunch of constants that I blatantly copied from a freebsd header because
I don't know where they are defined on OpenBSD; but the process was
killed with a SIGFPE. Reading some documentation (I don't know almost
anything about x86 asm) I found out that one should use fclex/fnclex
before loading new FPU control words. It fixed the SIGFPE, but I don't
know why this doesn't seem to be required on windows and linux.
It also contains a new patch to xrMemory.cpp which fixes a segfault by
implementing a method. (You just can't understand how I love those
#ifdef XR_PLATFORM_WINDOWS/#elif XR_PLATFORM_LINUX/
No comments:
Post a Comment