mirror of
https://github.com/marciot/mac-tip.git
synced 2024-12-28 12:32:10 +00:00
Additional fixes.
This commit is contained in:
parent
4853fc03a4
commit
f1e6db038b
@ -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() {
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user