diff options
| author | bunnei <bunneidev@gmail.com> | 2017-01-12 10:14:30 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-01-12 10:14:30 -0500 |
| commit | 7ddfd3054dc67fa727ec7c7267f27a438ac37dc3 (patch) | |
| tree | 30bd821242a3f3dad780595673c3d5adf92ebe86 /src/core/hle/service/y2r_u.cpp | |
| parent | 597a7c615c9ca3ed8e2fdb49b75111badf537af5 (diff) | |
| parent | 1ddff1451140ef58058237a3198d363b96dc238e (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.cpp | 4 |
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); } |
