mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-24 22:21:04 +00:00
fixed : commit wrong code last time
Signed-off-by: JamePeng <jame_peng@sina.com>
This commit is contained in:
parent
8adfde4443
commit
3994c85070
@ -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 New Issue
Block a user