From 317b810fd83cf761c33d16d8b3cf50cd527356fa Mon Sep 17 00:00:00 2001 From: SeokYeon Hwang Date: Fri, 2 Oct 2015 13:25:38 +0900 Subject: [PATCH] emul_state: change display resolution fallback Display resolution fallback uses initial display resolution. Change-Id: Ida54c4c8b55e828cbf9b0ab976f3393b6aecdfc5 Signed-off-by: SeokYeon Hwang --- tizen/src/emul_state.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tizen/src/emul_state.c b/tizen/src/emul_state.c index cce2116be6..2ed22f6ff5 100644 --- a/tizen/src/emul_state.c +++ b/tizen/src/emul_state.c @@ -809,7 +809,7 @@ void set_initial_display_resolution(int width, int height) int get_display_resolution_width(void) { #ifndef CONFIG_JAVA_UI - return qemu_console_get_width(NULL, -1); + return qemu_console_get_width(NULL, initial_resolution_width); #else if (display_type == DT_MARU_QT_ONSCREEN || display_type == DT_MARU_QT_OFFSCREEN) { @@ -826,7 +826,7 @@ int get_display_resolution_width(void) int get_display_resolution_height(void) { #ifndef CONFIG_JAVA_UI - return qemu_console_get_height(NULL, -1); + return qemu_console_get_height(NULL, initial_resolution_height); #else if (display_type == DT_MARU_QT_ONSCREEN || display_type == DT_MARU_QT_OFFSCREEN) { -- 2.34.1