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);