From 3d6a936dfe6d975245d8d7efaee2bd25d0b3847a Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 3 Apr 2015 15:21:53 -0400 Subject: [PATCH] video_thread_wrapper: Fix height return value Previously thread_get_video_output_size would assign the width to the height output. --- gfx/video_thread_wrapper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/video_thread_wrapper.c b/gfx/video_thread_wrapper.c index a263339765..8f1418f542 100644 --- a/gfx/video_thread_wrapper.c +++ b/gfx/video_thread_wrapper.c @@ -817,7 +817,7 @@ static void thread_get_video_output_size(void *data, thread_send_cmd(thr, CMD_POKE_GET_VIDEO_OUTPUT_SIZE); thread_wait_reply(thr, CMD_POKE_GET_VIDEO_OUTPUT_SIZE); *width = thr->cmd_data.output.width; - *height = thr->cmd_data.output.width; + *height = thr->cmd_data.output.height; } static void thread_get_video_output_prev(void *data)