|
Atari coding BBS
Alert Box & Saving Data |
Posted by: Bod/STAX
|
Sep,19.2014-14:41
|
I've been ironing out some of the minor bugs I have left in my game now and one such bug is saving out hiscores.
Because the game is now harddrive compatible GEM is kept intact in memory but I still access everything within the game via reading/writing straight to hardware.
Now whenever I attempt to save out the hiscores the game would freeze if I hit an error (say a write protected disk) however when I checked the routine from MonST it worked except when I would hit an error an alert box would appear basically telling me the disk was write protected.
What I am thinking that is causing the freeze is that an alert box is appearing but in a screen location I can't see and because I have my own keyboard handler pressing return has obviously no effect.
Is there any way to stop alert boxes and letting me save out the data via a 'silent' error?
|
[All messages in this thread] [Start new thread]
What's the anti-troll code? That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
|