summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/y2r_u.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hle/service/y2r_u.cpp b/src/core/hle/service/y2r_u.cpp
index a20194107..31bb466fc 100644
--- a/src/core/hle/service/y2r_u.cpp
+++ b/src/core/hle/service/y2r_u.cpp
@@ -531,7 +531,9 @@ static void GetStandardCoefficient(Interface* self) {
531 LOG_DEBUG(Service_Y2R, "called standard_coefficient=%u ", index); 531 LOG_DEBUG(Service_Y2R, "called standard_coefficient=%u ", index);
532 } else { 532 } else {
533 cmd_buff[0] = IPC::MakeHeader(0x21, 1, 0); 533 cmd_buff[0] = IPC::MakeHeader(0x21, 1, 0);
534 cmd_buff[1] = -1; // TODO(bunnei): Identify the correct error code for this 534 cmd_buff[1] = ResultCode(ErrorDescription::InvalidEnumValue, ErrorModule::CAM,
535 ErrorSummary::InvalidArgument, ErrorLevel::Usage)
536 .raw;
535 537
536 LOG_ERROR(Service_Y2R, "called standard_coefficient=%u The argument is invalid!", index); 538 LOG_ERROR(Service_Y2R, "called standard_coefficient=%u The argument is invalid!", index);
537 } 539 }