From: SeokYeon Hwang Date: Fri, 2 Oct 2015 04:25:38 +0000 (+0900) Subject: emul_state: change display resolution fallback X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.2~234 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=317b810fd83cf761c33d16d8b3cf50cd527356fa;p=sdk%2Femulator%2Fqemu.git emul_state: change display resolution fallback Display resolution fallback uses initial display resolution. Change-Id: Ida54c4c8b55e828cbf9b0ab976f3393b6aecdfc5 Signed-off-by: SeokYeon Hwang --- 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) {