diff options
author | bunnei <bunneidev@gmail.com> | 2015-01-11 16:18:16 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-01-11 16:18:16 +0100 |
commit | 7de1b02bc1fd3580083c538249520ff46c3006d7 (patch) | |
tree | 43f104d94f2dd6d2d5ff2545cfd9707995a12c9b /src/core | |
parent | Merge pull request #459 from archshift/logs (diff) | |
parent | Stubbed y2r:u IsBusyConversion (diff) | |
download | yuzu-7de1b02bc1fd3580083c538249520ff46c3006d7.tar yuzu-7de1b02bc1fd3580083c538249520ff46c3006d7.tar.gz yuzu-7de1b02bc1fd3580083c538249520ff46c3006d7.tar.bz2 yuzu-7de1b02bc1fd3580083c538249520ff46c3006d7.tar.lz yuzu-7de1b02bc1fd3580083c538249520ff46c3006d7.tar.xz yuzu-7de1b02bc1fd3580083c538249520ff46c3006d7.tar.zst yuzu-7de1b02bc1fd3580083c538249520ff46c3006d7.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/service/y2r_u.cpp | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/core/hle/service/y2r_u.cpp b/src/core/hle/service/y2r_u.cpp index f9e3619dd..b3d873ef0 100644 --- a/src/core/hle/service/y2r_u.cpp +++ b/src/core/hle/service/y2r_u.cpp @@ -12,6 +12,21 @@ namespace Y2R_U { +/** + * Y2R_U::IsBusyConversion service function + * Outputs: + * 1 : Result of function, 0 on success, otherwise error code + * 2 : Whether the current conversion is of type busy conversion (?) + */ +static void IsBusyConversion(Service::Interface* self) { + u32* cmd_buff = Kernel::GetCommandBuffer(); + + cmd_buff[1] = RESULT_SUCCESS.raw;; + cmd_buff[2] = 0; + + LOG_WARNING(Service, "(STUBBED) called"); +} + const Interface::FunctionInfo FunctionTable[] = { {0x00010040, nullptr, "SetInputFormat"}, {0x00030040, nullptr, "SetOutputFormat"}, @@ -29,7 +44,7 @@ const Interface::FunctionInfo FunctionTable[] = { {0x00220040, nullptr, "SetAlpha"}, {0x00260000, nullptr, "StartConversion"}, {0x00270000, nullptr, "StopConversion"}, - {0x00280000, nullptr, "IsBusyConversion"}, + {0x00280000, IsBusyConversion, "IsBusyConversion"}, {0x002A0000, nullptr, "PingProcess"}, {0x002B0000, nullptr, "DriverInitialize"}, {0x002C0000, nullptr, "DriverFinalize"} |