Thread: PCSX2 on a mac
View Single Post
Old July 11th, 2008   #26 (permalink)
Zedr0n
Registered User
 
Join Date: Aug 2006
Location: UK/London
Posts: 35
Just a quick update on the situation. I haven't had much time to work on it due to real life issues so it's still the same as two days ago.

Yes, ffxii actually shows the intro movie which is a great thing. But for now that's the biggest achievement. It quits right after that with a generic cg compiler error(which almost certainly is just triggered by an exception in main pcsx2 code) and I'm trying to debug it but no luck so far. I've also tested Disgaea and ffx, disgaea just fails immediately, while ffx goes into infinite loop. I hope I'll have some more time to work on this over the weekend and I will have some better news.

And, no, it's not a fake. The patches to make the linux version on a mac didn't turn out to be too numerous actually.

For zerogs, the main points were that:
1) GLX_DEPTH_SIZE, 24 isn't supported for glXChooseVisual
2) Secondary color also doesn't work so had to be removed
3) GLuint is unsigned long on apple, so had to change the typedef of u32
4) some asm code used had to be ported to nasm
5) there seems to be no alpha blending available and the code didn't handle it correctly, so had to change that.

That pretty much covers it actually.

For the main app there is the obvious error that MAP_ANONYMOUS=MAP_ANON and most of the asm files had to be ported to nasm. That's it. Some more issues with plugins but nothing too serious.

I'm pretty unsure for now why the interpreter mode would fail.

Last edited by Zedr0n; July 11th, 2008 at 23:07..
Zedr0n is offline   Reply With Quote