forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ScummVM-PSP hang on startup issue... Please help if you can.

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
TommyBear



Joined: 24 Jun 2005
Posts: 50

PostPosted: Fri Jul 01, 2005 1:28 am    Post subject: ScummVM-PSP hang on startup issue... Please help if you can. Reply with quote

Guys,

Linked to the bottom of this post is a stripped down version of the ScummVM code which I think is part of a hang problem we are currently seeing on the PSP. Looks like an incorrect allocation issue. Basically the code in this zip is self contained. Extract it to a folder and run make. The version in the zip is totally runnable. And it should just printf "ScummVM-PSP" on the screen.

But....
Uncomment (in str.h):
//static const String emptyString;
Uncomment (int str.cpp):
//const String String::emptyString;

This will cause a static allocation on startup. This result will make the PSP hang. You can then restart your PSP by hold the power for 3 seconds. Potentially the issue is with ScummSys.h that defines the PSP's data size and endianess but I'm not sure. What do you guys think?

http://www.tomkatgames.com/psp/ScummVMTest.zip

Tommy.
Back to top
View user's profile Send private message Send e-mail
theno23



Joined: 01 Jul 2005
Posts: 11
Location: Southampton, UK

PostPosted: Fri Jul 01, 2005 8:26 pm    Post subject: Reply with quote

Does that static allocation end up calling the constructor?

If so thats more likly to be your problem, I spect some of the synbols in the String class are not defined, or not implemented as expected.
Back to top
View user's profile Send private message Visit poster's website
TommyBear



Joined: 24 Jun 2005
Posts: 50

PostPosted: Sat Jul 02, 2005 1:42 am    Post subject: Reply with quote

The problem has been solved by including libpspglue.

Tommy.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group