Ensure that the PSP default settings are properly loaded. psp
authorachurch
Wed, 27 Jul 2011 22:48:17 +0900
branchpsp
changeset 676 f0a7b3d09d06
parent 675 6e476e399b55
child 677 32f6d52ff012
Ensure that the PSP default settings are properly loaded. This fixes a bug (reported by Luke Ferdinand) in which the game would attempt to draw at 800x600 resolution instead of the PSP's native 480x272, leaving only the top-left corner of the screen visible, if there was not already a settings file saved on the Memory Stick.
Aquaria/DSQ.cpp
--- a/Aquaria/DSQ.cpp	Sat Apr 23 02:00:40 2011 +0900
+++ b/Aquaria/DSQ.cpp	Wed Jul 27 22:48:17 2011 +0900
@@ -1025,6 +1025,7 @@
 
 
 	//core->messageBox("info", "loading user settings");
+	user.loadDefaults(false);
 	user.load(false);
 	
 	particleManager->setSize(user.video.numParticles);