diff options
author | David 'Digit' Turner <digit@android.com> | 2011-02-07 13:38:25 +0100 |
---|---|---|
committer | David 'Digit' Turner <digit@android.com> | 2011-02-09 18:12:17 +0100 |
commit | 755811e67c266333807571f798b62b6916611f87 (patch) | |
tree | c2a8c60be15f006e82453a6c073d52719d88018e /android/main-common.c | |
parent | 703d6db3372bf2dc422f968810e5d06b64269475 (diff) | |
download | external_qemu-755811e67c266333807571f798b62b6916611f87.zip external_qemu-755811e67c266333807571f798b62b6916611f87.tar.gz external_qemu-755811e67c266333807571f798b62b6916611f87.tar.bz2 |
Rename emulator_config_xxx to user_config_xxx
Change-Id: Icfcef72a02e388f2aa87b97f004ed43715fc9f30
Diffstat (limited to 'android/main-common.c')
-rw-r--r-- | android/main-common.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/android/main-common.c b/android/main-common.c index bcae501..bb07943 100644 --- a/android/main-common.c +++ b/android/main-common.c @@ -57,14 +57,14 @@ static AUserConfig* userConfig; void -emulator_config_init( void ) +user_config_init( void ) { userConfig = auserConfig_new( android_avdInfo ); } /* only call this function on normal exits, so that ^C doesn't save the configuration */ void -emulator_config_done( void ) +user_config_done( void ) { int win_x, win_y; @@ -79,7 +79,7 @@ emulator_config_done( void ) } void -emulator_config_get_window_pos( int *window_x, int *window_y ) +user_config_get_window_pos( int *window_x, int *window_y ) { *window_x = *window_y = 10; @@ -293,7 +293,7 @@ const char* skin_network_delay = NULL; static void sdl_at_exit(void) { - emulator_config_done(); + user_config_done(); qemulator_done(qemulator_get()); SDL_Quit(); } @@ -507,7 +507,7 @@ init_sdl_ui(AConfig* skinConfig, } atexit(sdl_at_exit); - emulator_config_get_window_pos(&win_x, &win_y); + user_config_get_window_pos(&win_x, &win_y); if ( qemulator_init(qemulator_get(), skinConfig, skinPath, win_x, win_y, opts) < 0 ) { fprintf(stderr, "### Error: could not load emulator skin from '%s'\n", skinPath); |