Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Builds Compatible with OS X 10.6[.8] x86?
04-11-2015, 10:27 PM
Post: #4
RE: Builds Compatible with OS X 10.6[.8] x86?
WINE doesn't hit PPSSPP hard because mostly it's just OpenGL calls, which pass right through.

Oh right, just replace this:
Code:
static unsigned long long _xgetbv(unsigned int index)
{
    unsigned int eax, edx;
    __asm__ __volatile__("xgetbv" : "=a"(eax), "=d"(edx) : "c"(index));
    return ((unsigned long long)edx << 32) | eax;
}

In that file with:
Code:
static unsigned long long _xgetbv(unsigned int index)
{
    return 0;
}

I think the version of gas doesn't support the instruction which is rather new.

You can use this strnlen probably:
http://www.opensource.apple.com/source/b.../strnlen.c

Just copy and paste the function in for any file that gives an error about it being missing.

-[Unknown]
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Builds Compatible with OS X 10.6[.8] x86? - [Unknown] - 04-11-2015 10:27 PM

Forum Jump: