samsulmaarif / endgame-singularity

Automatically exported from code.google.com/p/endgame-singularity
0 stars 0 forks source link

fullscreen option in prefs.dat gets corrupted when switching resolutions #132

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run game, go to options, set fullscreen to YES, save to disk, quit game
2. run again, go to options, change resolution, save to disk, quit again
3. run again, and see terminal output:

What is the expected output? What do you see instead?
Game sould be in fullscreen with the new resolution

Please use labels and text to provide additional information.
Fullscreen was set to OFF in options
Terminal ouputs:
Invalid or missing 'fullscreen' setting in preferences.
and in preferences file it is set as:
fullscreen = -2147483648

Prolly a type conversion bug.. still a truly weird one. I'll investigate myself 
when/if I have time, but anyone can re-assign if they fix it

Original issue reported on code.google.com by singular...@rodrigosilva.com on 16 Nov 2012 at 6:30

GoogleCodeExporter commented 9 years ago
Fixed in commit 8bec33def18f30f15ced0ae86a7ec905f20e8f43

Original comment by singular...@rodrigosilva.com on 21 Nov 2012 at 1:21