Update src/iec_commands.cpp

Trying to make emulation mode error messages look a bit more like 1541 ones.
This commit is contained in:
Sven Oliver Moll 2018-11-11 21:29:34 +01:00
parent 504596b013
commit f34bb442b0

View file

@ -184,7 +184,9 @@ void Error(u8 errorCode, u8 track = 0, u8 sector = 0)
msg = "WRITE ERROR";
break;
case ERROR_73_DOSVERSION:
msg = "PI1541";
sprintf(ErrorMessage, "%02d,PI1541 V%02d.%02d,%02d,%02d", errorCode,
versionMajor, versionMinor, track, sector);
return;
break;
case ERROR_30_SYNTAX_ERROR:
case ERROR_31_SYNTAX_ERROR: