Mac Build Support?
Mostly just an experiment to see how far I could get. Proper PR would need to adjust for macOS and Linux, respectively.
Notably, this is intended to be compiled under Rosetta. ARM has different registers, so that part of the code would need adjusting.
Also lacks MoltenVK which would be required to get anything rendering.
AFAIK, Rosetta doesn't support AVX2 which is necessary to run PS4 programs without translation.
AFAIK, Rosetta doesn't support AVX2 which is necessary to run PS4 programs without translation.
Hmm, that's a good point. In that case I might try and focus this PR on getting it to build ARM native.
AFAIK, Rosetta doesn't support AVX2 which is necessary to run PS4 programs without translation.
Hmm, that's a good point. In that case I might try and focus this PR on getting it to build ARM native.
That's not useful without also creating a translator. The PS4 application is x86-64 so it won't run anything even if it builds.
That's not useful without also creating a translator. The PS4 application is x86-64 so it won't run anything even if it builds.
Would be interesting to see if we can get Rosetta to do the heavy lifting and then handle the AVX translation separately. Are there any PS4 games that don't use AVX, or is it pretty much all of them?
Are there any PS4 games that don't use AVX, or is it pretty much all of them?
AVX is natively supported, so it's guaranteed that everything will touch AVX. You need to remember we're running the console firmware here afterall. Your best bet on running this on arm64 will be something like FEX-Emu but in that case you actually want an x86 build not arm64.