aboutsummaryrefslogtreecommitdiffstats
path: root/android/main-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'android/main-common.h')
-rw-r--r--android/main-common.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/android/main-common.h b/android/main-common.h
index a74bf52..0d184d5 100644
--- a/android/main-common.h
+++ b/android/main-common.h
@@ -60,6 +60,12 @@ void init_sdl_ui(AConfig* skinConfig,
const char* skinPath,
AndroidOptions* opts);
+/* Sanitize options. This deals with a few legacy options that are now
+ * handled differently. Call before anything else that needs to read
+ * the options list.
+ */
+void sanitizeOptions( AndroidOptions* opts );
+
/* Creates and initializes AvdInfo instance for the given options.
* Param:
* opts - Options passed to the main()
@@ -70,6 +76,12 @@ void init_sdl_ui(AConfig* skinConfig,
*/
struct AvdInfo* createAVD(AndroidOptions* opts, int* inAndroidBuild);
+/* Populate the hwConfig fields corresponding to the kernel/disk images
+ * used by the emulator. This will zero *hwConfig first.
+ */
+void findImagePaths( AndroidHwConfig* hwConfig,
+ AndroidOptions* opts );
+
/* Updates hardware configuration for the given AVD and options.
* Param:
* hwConfig - Hardware configuration to update.