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

View File

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

View File

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