slinga
Established Member
else
{
int temp;
// Displays all the saves on the screen
for(temp = 0; temp<numSaves; temp++)
{
slPrint(saves[temp].filename, slLocate(5, temp+12));
slPrintHex(saves[temp].blocksize, slLocate(20, temp+12));
}
}
Gives me SH2 errors and crashes.
else
{
int temp;
// Displays all the saves on the screen
for(temp = 0; temp<numSaves; temp++)
{
slPrint(saves[temp].filename, slLocate(5, temp+12));
slPrintHex(saves[temp].blocksize, slLocate(20, temp+13));
}
}
Displays on the screen without crashing, except I want the information on one line. I'm guessing the problem is with saves[temp].filename, which is a 11 character array. I think the saturn isn't terminating it properly. Any suggestions?
It seems to be causing other problems as well. After I display the save, I prompt the user to hit start. That doesn't work, yet it's the same exact function I've called before and it works, so I know the press start function works. Hmmm....