Force user to reset after changing capacity

This commit is contained in:
Zane Kaminski 2020-08-02 21:01:57 -04:00
parent 634db4d3bf
commit ad01fd3185
1 changed files with 15 additions and 9 deletions

24
ram2e.c
View File

@ -332,13 +332,19 @@ int ram2e_main(void)
} }
end: end:
// Show end message if (nvm) { // Show end message for nonvolatile save
gotoxy(1, 10); gotoxy(1, 10);
cputs("Press any key to quit."); cputs("You may now turn off your Apple.");
gotoxy(1, 11); gotoxy(1, 12);
cputs("You may also turn off your Apple."); cputs("You may also reset your Apple for");
cgetc(); gotoxy(1, 13);
// Quit cputs("the setting change to take effect.");
clrscr(); } else { // Show end message for volatile save
return EXIT_SUCCESS; gotoxy(1, 10);
cputs("Please reset your Apple for");
gotoxy(1, 11);
cputs("the setting change to take effect.");
}
// Don't quit. Instead leave prompt asking user to reset.
while(1) { cgetc(); }
} }