Skip to content

Commit c71fe6e

Browse files
authored
Merge pull request #138 from uffejakobsen/fix_spelling_device_switched
Cosmetic: fix spelling DECIVE_SWITCHED => DEVICE_SWITCHED
2 parents 35f6d9c + 4b0823f commit c71fe6e

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/iec_commands.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ void IEC_Commands::CD(int partition, char* filename)
788788
{
789789
SwitchDrive("SD:");
790790
displayingDevices = false;
791-
updateAction = DECIVE_SWITCHED;
791+
updateAction = DEVICE_SWITCHED;
792792
}
793793
else
794794
{
@@ -801,7 +801,7 @@ void IEC_Commands::CD(int partition, char* filename)
801801
{
802802
SwitchDrive(USBDriveId);
803803
displayingDevices = false;
804-
updateAction = DECIVE_SWITCHED;
804+
updateAction = DEVICE_SWITCHED;
805805
}
806806
}
807807
}
@@ -1093,15 +1093,15 @@ void IEC_Commands::ChangeDevice(void)
10931093
{
10941094
SwitchDrive("SD:");
10951095
displayingDevices = false;
1096-
updateAction = DECIVE_SWITCHED;
1096+
updateAction = DEVICE_SWITCHED;
10971097
}
10981098
else if ((deviceIndex - 1) < numberOfUSBMassStorageDevices)
10991099
{
11001100
char USBDriveId[16];
11011101
sprintf(USBDriveId, "USB%02d:", deviceIndex);
11021102
SwitchDrive(USBDriveId);
11031103
displayingDevices = false;
1104-
updateAction = DECIVE_SWITCHED;
1104+
updateAction = DEVICE_SWITCHED;
11051105
}
11061106
else
11071107
{

src/iec_commands.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class IEC_Commands
6363
POP_TO_ROOT,
6464
REFRESH,
6565
DEVICEID_CHANGED,
66-
DECIVE_SWITCHED,
66+
DEVICE_SWITCHED,
6767
RESET
6868
};
6969

src/main.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1209,8 +1209,8 @@ void emulator()
12091209
GlobalSetDeviceID( m_IEC_Commands.GetDeviceId() );
12101210
fileBrowser->ShowDeviceAndROM();
12111211
break;
1212-
case IEC_Commands::DECIVE_SWITCHED:
1213-
DEBUG_LOG("DECIVE_SWITCHED\r\n");
1212+
case IEC_Commands::DEVICE_SWITCHED:
1213+
DEBUG_LOG("DEVICE_SWITCHED\r\n");
12141214
fileBrowser->DeviceSwitched();
12151215
break;
12161216
default:

0 commit comments

Comments
 (0)