JGE updates

All code submission.
Post Reply
MootPoint
Posts: 58
Joined: Fri Sep 24, 2010 7:44 am

JGE updates

Post by MootPoint »

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.]

MootPoint
Posts: 58
Joined: Fri Sep 24, 2010 7:44 am

Re: JGE updates

Post by MootPoint »

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'.
MootPoint
Posts: 58
Joined: Fri Sep 24, 2010 7:44 am

Re: JGE updates

Post by MootPoint »

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):

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
And, as before, go to the JGE folder, and run 'make -f makefile.hge' to have it recompile the libhgetools.a library.
Post Reply