JGE updates
JGE updates
Some minor fixes to JGE that allows it to compile correctly against pspsdk 0.9.6.
- Attachments
-
[The extension zip has been deactivated and can no longer be displayed.]
Re: JGE updates
Minor note: I also had to manually regenerate the libhgetools.a that's checked into SVN to link successfully against 0.9.6, ie 'make makefile.hge'.
Re: JGE updates
I've committed these changes to the SVN (including one other cast that I forgot to include in this patch). At this point, there's only two things you need to do to get it to compile on 0.9.6:
Go to GameApp.cpp, and make the following change (the psp calls in the latest sdk are now camelcase):
And, as before, go to the JGE folder, and run 'make -f makefile.hge' to have it recompile the libhgetools.a library.
Go to GameApp.cpp, and make the following change (the psp calls in the latest sdk are now camelcase):
Code: Select all
void GameApp::Create()
{
srand((unsigned int)time(0)); // initialize random
#if defined (WIN32)
_CrtSetDbgFlag ( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF );
#elif not defined (LINUX)
pspFpuSetEnable(0); // <----- THIS LINE NEEDS MODDING
#endif