I have compiled a game with GPH's toolchain and SDL and it runs, albeit slowly. I added code in the screen update loop to poll the joystick buttons and move the mouse cursor via SDL_WarpMouse. All was well with the mouse cursor. Then I decided to compile the same game with oopo's toolchain. Once I resolved the library dependency issues introduced by -static, I got a working binary, but now the mouse cursor doesn't move. I put printfs in the appropriate places and can see that I am definitely calling SDL_WarpMouse with the appropriate parameters, and it is in turn calling current_video->WarpWMCursor with those same corect parameters. Beyond that I am sorta lost. That function is provided by src/video/gp2x/SDL_gp2xvideo.c unless I am mistaken, and it assigns the new coordinates directly into members of the current SDL_VideoDevice, so I can only assume that those newly assigned coordinates are being lost or not read correctly somewhere.
I am going to try to build oopo's SDL with fbcon, like GPH, instead of the custom gp2x video driver. If that fixes the problem then I can possibly provide more information. Failing that, any input would be appreciated.
I am going to try to build oopo's SDL with fbcon, like GPH, instead of the custom gp2x video driver. If that fixes the problem then I can possibly provide more information. Failing that, any input would be appreciated.