diff options
author | Subv <subv2112@gmail.com> | 2017-01-11 17:47:20 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2017-01-11 22:38:03 +0100 |
commit | 5ddc2e09b1a1b4a2b876d93dba1ccc4c56a24207 (patch) | |
tree | 94b72077cec18addff47fc149dcba56fc214b105 /src/core/hle/service/y2r_u.cpp | |
parent | Merge pull request #2397 from Subv/pulse (diff) | |
download | yuzu-5ddc2e09b1a1b4a2b876d93dba1ccc4c56a24207.tar yuzu-5ddc2e09b1a1b4a2b876d93dba1ccc4c56a24207.tar.gz yuzu-5ddc2e09b1a1b4a2b876d93dba1ccc4c56a24207.tar.bz2 yuzu-5ddc2e09b1a1b4a2b876d93dba1ccc4c56a24207.tar.lz yuzu-5ddc2e09b1a1b4a2b876d93dba1ccc4c56a24207.tar.xz yuzu-5ddc2e09b1a1b4a2b876d93dba1ccc4c56a24207.tar.zst yuzu-5ddc2e09b1a1b4a2b876d93dba1ccc4c56a24207.zip |
Diffstat (limited to '')
-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); } |