aboutsummaryrefslogtreecommitdiffstats
path: root/android/qemulator.c
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2011-02-10 16:52:19 +0100
committerDavid 'Digit' Turner <digit@android.com>2011-02-10 17:52:56 +0100
commit5377c5bfde6ba62490417bb0a7d7c1be1151692e (patch)
treee8d1af24005c5fe9de2397fbd13cfe6f71c29f80 /android/qemulator.c
parent2507cab8a78fb609461a2b9cc4708bab60fc53a4 (diff)
downloadexternal_qemu-5377c5bfde6ba62490417bb0a7d7c1be1151692e.zip
external_qemu-5377c5bfde6ba62490417bb0a7d7c1be1151692e.tar.gz
external_qemu-5377c5bfde6ba62490417bb0a7d7c1be1151692e.tar.bz2
Correct auto-detection of default VM heap size.
This patch removes the need for the -m <memory> core option. Instead, the RAM size is taken by default from qemu-hardware.ini. Also, the default value of vm.heapSize is no longer 16MB, it is now adjusted based on the RAM size (16/32/48 values) + Get rid of core -lcd-density option (use .ini file instead) Change-Id: I93919926b61a132c7943a1bb2c41f7a3ab7f2d2f
Diffstat (limited to 'android/qemulator.c')
-rw-r--r--android/qemulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/qemulator.c b/android/qemulator.c
index ee9ccbb..b15d751 100644
--- a/android/qemulator.c
+++ b/android/qemulator.c
@@ -258,7 +258,7 @@ qemulator_set_title(QEmulator* emulator)
* Helper routines
*/
-int
+static int
get_device_dpi( AndroidOptions* opts )
{
int dpi_device = corecmd_get_hw_lcd_density();