Force user to reset after changing capacity
This commit is contained in:
parent
634db4d3bf
commit
ad01fd3185
24
ram2e.c
24
ram2e.c
|
@ -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(); }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue