summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/y2r_u.cpp17
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 @@
12 12
13namespace Y2R_U { 13namespace Y2R_U {
14 14
15/**
16 * Y2R_U::IsBusyConversion service function
17 * Outputs:
18 * 1 : Result of function, 0 on success, otherwise error code
19 * 2 : Whether the current conversion is of type busy conversion (?)
20 */
21static void IsBusyConversion(Service::Interface* self) {
22 u32* cmd_buff = Kernel::GetCommandBuffer();
23
24 cmd_buff[1] = RESULT_SUCCESS.raw;;
25 cmd_buff[2] = 0;
26
27 LOG_WARNING(Service, "(STUBBED) called");
28}
29
15const Interface::FunctionInfo FunctionTable[] = { 30const Interface::FunctionInfo FunctionTable[] = {
16 {0x00010040, nullptr, "SetInputFormat"}, 31 {0x00010040, nullptr, "SetInputFormat"},
17 {0x00030040, nullptr, "SetOutputFormat"}, 32 {0x00030040, nullptr, "SetOutputFormat"},
@@ -29,7 +44,7 @@ const Interface::FunctionInfo FunctionTable[] = {
29 {0x00220040, nullptr, "SetAlpha"}, 44 {0x00220040, nullptr, "SetAlpha"},
30 {0x00260000, nullptr, "StartConversion"}, 45 {0x00260000, nullptr, "StartConversion"},
31 {0x00270000, nullptr, "StopConversion"}, 46 {0x00270000, nullptr, "StopConversion"},
32 {0x00280000, nullptr, "IsBusyConversion"}, 47 {0x00280000, IsBusyConversion, "IsBusyConversion"},
33 {0x002A0000, nullptr, "PingProcess"}, 48 {0x002A0000, nullptr, "PingProcess"},
34 {0x002B0000, nullptr, "DriverInitialize"}, 49 {0x002B0000, nullptr, "DriverInitialize"},
35 {0x002C0000, nullptr, "DriverFinalize"} 50 {0x002C0000, nullptr, "DriverFinalize"}