From 3994c85070286891383656a2f250c77b9b549b64 Mon Sep 17 00:00:00 2001 From: JamePeng Date: Thu, 11 Feb 2016 05:53:58 +0800 Subject: [PATCH] fixed : commit wrong code last time Signed-off-by: JamePeng --- src/core/hle/service/y2r_u.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/core/hle/service/y2r_u.cpp b/src/core/hle/service/y2r_u.cpp index fb9e82219..5dd03968f 100644 --- a/src/core/hle/service/y2r_u.cpp +++ b/src/core/hle/service/y2r_u.cpp @@ -94,8 +94,7 @@ static void SetInputFormat(Service::Interface* self) { static void GetInputFormat(Service::Interface* self) { u32* cmd_buff = Kernel::GetCommandBuffer(); - InputFormat input_format = conversion.input_format; - LOG_DEBUG(Service_Y2R, "Get input_format=%hhu", input_format); + LOG_DEBUG(Service_Y2R, "Get input_format=%hhu", conversion.input_format); cmd_buff[1] = RESULT_SUCCESS.raw; cmd_buff[2] = static_cast(conversion.input_format); @@ -113,8 +112,7 @@ static void SetOutputFormat(Service::Interface* self) { static void GetOutputFormat(Service::Interface* self) { u32* cmd_buff = Kernel::GetCommandBuffer(); - OutputFormat output_format = conversion.output_format; - LOG_DEBUG(Service_Y2R, "Get output_format=%hhu", output_format); + LOG_DEBUG(Service_Y2R, "Get output_format=%hhu", conversion.output_format); cmd_buff[1] = RESULT_SUCCESS.raw; cmd_buff[2] = static_cast(conversion.output_format);