| View previous topic :: View next topic |
| Author |
Message |
TommyBear
Joined: 24 Jun 2005 Posts: 50
|
Posted: Fri Jul 01, 2005 1:28 am Post subject: ScummVM-PSP hang on startup issue... Please help if you can. |
|
|
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 |
|
 |
theno23
Joined: 01 Jul 2005 Posts: 11 Location: Southampton, UK
|
Posted: Fri Jul 01, 2005 8:26 pm Post subject: |
|
|
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 |
|
 |
TommyBear
Joined: 24 Jun 2005 Posts: 50
|
Posted: Sat Jul 02, 2005 1:42 am Post subject: |
|
|
The problem has been solved by including libpspglue.
Tommy. |
|
| Back to top |
|
 |
|