Code:
else if (event.type == SDL_MOUSEMOTION)
{
mouseX = event.motion.x, mouseY = event.motion.y;
if (vjs.useOpenGL)
#ifdef _OSX_
mouseX /= 2, mouseY = (480 - mouseY) / 2;
#else
mouseX /= 2, mouseY /= 2;
#endif
...
I'm a little curious and concerned about this--Adam, do you know
why the mouse coords are being reversed with OpenGL? Is this an SDL bug? Also:
Code:
LIBS = -L/usr/local/lib -L/usr/lib `sdl-config --static-libs` -lstdc++ -lz
Is there an advantage to linking SDL statically on OSX instead of using shared libs?
Awarlock: As long as the ROM file itself isn't zipped and has the extension of .j64 AND it's in the folder pointed to by the vj.cfg file, then it should find it. One thing you might check is to see that the case of the actual folder and the case in the vj.cfg file match--I'm pretty sure that OSX (being derived from UNIX) is case sensitive when it comes to filenames.