Cosmetic: fix spelling DECIVE_SWITCHED => DEVICE_SWITCHED

This commit is contained in:
Uffe Jakobsen 2019-08-02 12:05:35 +02:00
parent 124628012f
commit 4b0823fda0
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: