aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/y2r_u.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2017-01-12 10:14:30 -0500
committerGitHub <noreply@github.com>2017-01-12 10:14:30 -0500
commit7ddfd3054dc67fa727ec7c7267f27a438ac37dc3 (patch)
tree30bd821242a3f3dad780595673c3d5adf92ebe86 /src/core/hle/service/y2r_u.cpp
parent597a7c615c9ca3ed8e2fdb49b75111badf537af5 (diff)
parent1ddff1451140ef58058237a3198d363b96dc238e (diff)
Merge pull request #2425 from Subv/cleanup_todos
Implement some TODOs in the code.
Diffstat (limited to 'src/core/hle/service/y2r_u.cpp')
-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) {
LOG_DEBUG(Service_Y2R, "called standard_coefficient=%u ", index);
} else {
cmd_buff[0] = IPC::MakeHeader(0x21, 1, 0);
- cmd_buff[1] = -1; // TODO(bunnei): Identify the correct error code for this
+ cmd_buff[1] = ResultCode(ErrorDescription::InvalidEnumValue, ErrorModule::CAM,
+ ErrorSummary::InvalidArgument, ErrorLevel::Usage)
+ .raw;
LOG_ERROR(Service_Y2R, "called standard_coefficient=%u The argument is invalid!", index);
}