Replace optional pointer with reference in GetCurrentState()

This commit is contained in:
michaelangel007
2023-04-26 19:04:27 -07:00
parent e402746423
commit 3ac17fc8a5
3 changed files with 9 additions and 15 deletions

View File

@@ -3685,7 +3685,7 @@ Update_t CmdDisk (int nArgs)
return HelpLastCommand();
Disk_Status_e eDiskState;
LPCTSTR sDiskState = diskCard.GetCurrentState(&eDiskState);
LPCTSTR sDiskState = diskCard.GetCurrentState(eDiskState);
BYTE nShiftReg = diskCard.GetCurrentShiftReg();
ConsolePrintFormat(