Remove deprecated view->sfr-window option
[emu8051.git] / src / gtk / app-config.c
index bbbd6f4..a073e44 100644 (file)
@@ -60,7 +60,6 @@ app_config_init(void)
        /* View menu options */
        cfg->layout = UI_LAYOUT1;
        cfg->view_int_memory = 1;
-       cfg->view_sfr_memory = 1;
        cfg->view_ext_memory = 1;
        cfg->bytes_per_row = 16; /* 8 or 16 */
 }
@@ -104,8 +103,6 @@ app_config_load_from_key_file(GKeyFile *kf)
        }
        app_config_key_file_get_int(kf, "view", "int_memory",
                                    &cfg->view_int_memory);
-       app_config_key_file_get_int(kf, "view", "sfr_memory",
-                                   &cfg->view_sfr_memory);
        app_config_key_file_get_int(kf, "view", "ext_memory",
                                    &cfg->view_ext_memory);
        app_config_key_file_get_int(kf, "view", "bytes_per_row",
@@ -197,8 +194,6 @@ app_config_save(void)
                g_string_append_printf(buf, "layout=%d\n", cfg->layout);
                g_string_append_printf(buf, "int_memory=%d\n",
                                       cfg->view_int_memory);
-               g_string_append_printf(buf, "sfr_memory=%d\n",
-                                      cfg->view_sfr_memory);
                g_string_append_printf(buf, "ext_memory=%d\n",
                                       cfg->view_ext_memory);
                g_string_append_printf(buf, "bytes_per_row=%d\n",