PSP plugins patch
|Reported by:||bluddy||Owned by:||joostp|
Here's the plugin patch. From my tests, it seems like everything's working correctly. I've got support for suspend and resume built in, so users should be able to suspend during a plugin load.
Regarding configure: I tried to make the appropriate changes to the configure script, but I'm a bit iffy about them. Configure doesn't work too well on my MSYS windows installation by default, so I had to make some changes to make it work. Everything seems to be alright now, but the changes should be checked on a Linux system. I'm not crazy about configure and personally prefer using the regular makefile in the psp directory. For example, my gcc can't pass the test_compiler function.
Note that one of the important changes I made in configure is removing -G0 from the compiler flags, which increases efficiency: I built the plugins patch to support using the $gp register. Also, I recommend building without debug info (which is an extra option in configure -- another annoyance) since the plugin files aren't stripped of debug info, unlike the main executable. They'll still load fine into memory, but they'll just be very big on the drive.
To build with plugins using configure type: configure --host=psp --enable-plugins --default-dynamic --disable-debug
Ticket imported from: #2875544. Ticket imported from: patches/1203.