Merge pull request #138 from uffejakobsen/fix_spelling_device_switched

Cosmetic: fix spelling DECIVE_SWITCHED => DEVICE_SWITCHED
This commit is contained in:
Stephen White 2019-08-04 12:49:09 +10:00 committed by GitHub
commit c71fe6e1dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View file

@ -788,7 +788,7 @@ void IEC_Commands::CD(int partition, char* filename)
{ {
SwitchDrive("SD:"); SwitchDrive("SD:");
displayingDevices = false; displayingDevices = false;
updateAction = DECIVE_SWITCHED; updateAction = DEVICE_SWITCHED;
} }
else else
{ {
@ -801,7 +801,7 @@ void IEC_Commands::CD(int partition, char* filename)
{ {
SwitchDrive(USBDriveId); SwitchDrive(USBDriveId);
displayingDevices = false; displayingDevices = false;
updateAction = DECIVE_SWITCHED; updateAction = DEVICE_SWITCHED;
} }
} }
} }
@ -1093,7 +1093,7 @@ void IEC_Commands::ChangeDevice(void)
{ {
SwitchDrive("SD:"); SwitchDrive("SD:");
displayingDevices = false; displayingDevices = false;
updateAction = DECIVE_SWITCHED; updateAction = DEVICE_SWITCHED;
} }
else if ((deviceIndex - 1) < numberOfUSBMassStorageDevices) else if ((deviceIndex - 1) < numberOfUSBMassStorageDevices)
{ {
@ -1101,7 +1101,7 @@ void IEC_Commands::ChangeDevice(void)
sprintf(USBDriveId, "USB%02d:", deviceIndex); sprintf(USBDriveId, "USB%02d:", deviceIndex);
SwitchDrive(USBDriveId); SwitchDrive(USBDriveId);
displayingDevices = false; displayingDevices = false;
updateAction = DECIVE_SWITCHED; updateAction = DEVICE_SWITCHED;
} }
else else
{ {

View file

@ -63,7 +63,7 @@ public:
POP_TO_ROOT, POP_TO_ROOT,
REFRESH, REFRESH,
DEVICEID_CHANGED, DEVICEID_CHANGED,
DECIVE_SWITCHED, DEVICE_SWITCHED,
RESET RESET
}; };

View file

@ -1209,8 +1209,8 @@ void emulator()
GlobalSetDeviceID( m_IEC_Commands.GetDeviceId() ); GlobalSetDeviceID( m_IEC_Commands.GetDeviceId() );
fileBrowser->ShowDeviceAndROM(); fileBrowser->ShowDeviceAndROM();
break; break;
case IEC_Commands::DECIVE_SWITCHED: case IEC_Commands::DEVICE_SWITCHED:
DEBUG_LOG("DECIVE_SWITCHED\r\n"); DEBUG_LOG("DEVICE_SWITCHED\r\n");
fileBrowser->DeviceSwitched(); fileBrowser->DeviceSwitched();
break; break;
default: default: