CDROM: Return error for incorrect parameter count

This commit is contained in:
Connor McLaughlin
2020-05-30 21:59:03 +10:00
parent 69a00a64e6
commit a4f79de7f6
2 changed files with 281 additions and 9 deletions

View File

@ -152,10 +152,10 @@ private:
enum ErrorReason : u8
{
ERROR_INVALID_ARGUMENT = 0x10,
ERROR_INCORRECT_NUMBER_OF_PARAMETERS = 0x20,
ERROR_INVALID_COMMAND = 0x40,
ERROR_NOT_READY = 0x80
ERROR_REASON_INVALID_ARGUMENT = 0x10,
ERROR_REASON_INCORRECT_NUMBER_OF_PARAMETERS = 0x20,
ERROR_REASON_INVALID_COMMAND = 0x40,
ERROR_REASON_NOT_READY = 0x80
};
union SecondaryStatusRegister