Return ProDOS errors from Harddisk emulation. Fixes #452

Replace Basic System error codes with ProDOS ones.
This commit is contained in:
Nick Westgate 2017-08-04 21:54:18 +12:00
parent 2a916103b6
commit f1b4dea990

View File

@ -448,8 +448,8 @@ bool HD_IsDriveUnplugged(const int iDrive)
//-----------------------------------------------------------------------------
#define DEVICE_OK 0x00
#define DEVICE_UNKNOWN_ERROR 0x03
#define DEVICE_IO_ERROR 0x08
#define DEVICE_UNKNOWN_ERROR 0x28
#define DEVICE_IO_ERROR 0x27
static BYTE __stdcall HD_IO_EMUL(WORD pc, WORD addr, BYTE bWrite, BYTE d, ULONG nCyclesLeft)
{