Additional fixes.

This commit is contained in:
Marcio T 2021-11-26 20:05:41 -07:00
parent 4853fc03a4
commit f1e6db038b
2 changed files with 8 additions and 0 deletions

View File

@ -74,6 +74,7 @@ void confirm_run_tip(int id) {
if(tolower(cmd[0]) == 'y') { if(tolower(cmd[0]) == 'y') {
run_tip(id); run_tip(id);
} }
printf("\n\nYou may need to REBOOT your Mac before cartridges are recognized by Mac OS.");
} }
void print_help() { void print_help() {

View File

@ -514,12 +514,19 @@ void SetCartridgeStatusToEAX(long eax) {
long PriorStatus = CartridgeStatus; long PriorStatus = CartridgeStatus;
CartridgeStatus = eax; CartridgeStatus = eax;
if (!DriveCount) {
// MLT: Added this check.
SetRichEditText(szASPITrouble);
goto DisableActions;
}
// Set the text of the "action initiate button" // Set the text of the "action initiate button"
const char *esi = 0; const char *esi = 0;
switch (CartridgeStatus) { switch (CartridgeStatus) {
case DISK_SPUN_DOWN: case DISK_SPUN_DOWN:
// set the button to "Start Disk Spinning" // set the button to "Start Disk Spinning"
esi = szPressToSpin; esi = szPressToSpin;
EnableWindow(hTestButton, true);
break; break;
case DISK_TEST_UNDERWAY: case DISK_TEST_UNDERWAY:
// set the button to "Stop Testing" // set the button to "Stop Testing"