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

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
TommyBear
Posts: 50
Joined: Fri Jun 24, 2005 11:21 pm

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

Post by TommyBear »

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.
theno23
Posts: 11
Joined: Fri Jul 01, 2005 7:58 pm
Location: Southampton, UK
Contact:

Post by theno23 »

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.
TommyBear
Posts: 50
Joined: Fri Jun 24, 2005 11:21 pm

Post by TommyBear »

The problem has been solved by including libpspglue.

Tommy.
Post Reply