fixed : commit wrong code last time
Signed-off-by: JamePeng <jame_peng@sina.com>
This commit is contained in:
parent
8adfde4443
commit
3994c85070
1 changed files with 2 additions and 4 deletions
|
@ -94,8 +94,7 @@ static void SetInputFormat(Service::Interface* self) {
|
||||||
static void GetInputFormat(Service::Interface* self) {
|
static void GetInputFormat(Service::Interface* self) {
|
||||||
u32* cmd_buff = Kernel::GetCommandBuffer();
|
u32* cmd_buff = Kernel::GetCommandBuffer();
|
||||||
|
|
||||||
InputFormat input_format = conversion.input_format;
|
LOG_DEBUG(Service_Y2R, "Get input_format=%hhu", conversion.input_format);
|
||||||
LOG_DEBUG(Service_Y2R, "Get input_format=%hhu", input_format);
|
|
||||||
|
|
||||||
cmd_buff[1] = RESULT_SUCCESS.raw;
|
cmd_buff[1] = RESULT_SUCCESS.raw;
|
||||||
cmd_buff[2] = static_cast<u32>(conversion.input_format);
|
cmd_buff[2] = static_cast<u32>(conversion.input_format);
|
||||||
|
@ -113,8 +112,7 @@ static void SetOutputFormat(Service::Interface* self) {
|
||||||
static void GetOutputFormat(Service::Interface* self) {
|
static void GetOutputFormat(Service::Interface* self) {
|
||||||
u32* cmd_buff = Kernel::GetCommandBuffer();
|
u32* cmd_buff = Kernel::GetCommandBuffer();
|
||||||
|
|
||||||
OutputFormat output_format = conversion.output_format;
|
LOG_DEBUG(Service_Y2R, "Get output_format=%hhu", conversion.output_format);
|
||||||
LOG_DEBUG(Service_Y2R, "Get output_format=%hhu", output_format);
|
|
||||||
|
|
||||||
cmd_buff[1] = RESULT_SUCCESS.raw;
|
cmd_buff[1] = RESULT_SUCCESS.raw;
|
||||||
cmd_buff[2] = static_cast<u32>(conversion.output_format);
|
cmd_buff[2] = static_cast<u32>(conversion.output_format);
|
||||||
|
|
Loading…
Reference in a new issue