From 6fc02b8fdb424a77405bf90ed70947a1058b7aa3 Mon Sep 17 00:00:00 2001 From: "SND\\edgbla_cp" Date: Tue, 8 Mar 2011 19:58:10 +0000 Subject: SlowBoot. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@64324 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- gui/ConfDlg.c | 2 ++ gui/Config.c | 2 ++ 2 files changed, 4 insertions(+) (limited to 'gui') diff --git a/gui/ConfDlg.c b/gui/ConfDlg.c index 3f1ed47a..a49740b4 100644 --- a/gui/ConfDlg.c +++ b/gui/ConfDlg.c @@ -799,6 +799,7 @@ void OnCpu_Clicked(GtkDialog *dialog, gint arg1, gpointer user_data) { Config.Sio = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(glade_xml_get_widget(xml, "GtkCheckButton_Sio"))); Config.Mdec = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(glade_xml_get_widget(xml, "GtkCheckButton_Mdec"))); Config.Cdda = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(glade_xml_get_widget(xml, "GtkCheckButton_CDDA"))); + Config.SlowBoot = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(glade_xml_get_widget(xml, "GtkCheckButton_SlowBoot"))); Config.PsxAuto = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(glade_xml_get_widget(xml, "GtkCheckButton_PsxAuto"))); t = Config.Debug; @@ -858,6 +859,7 @@ void OnConf_Cpu() { gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(glade_xml_get_widget(xml, "GtkCheckButton_Sio")), Config.Sio); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(glade_xml_get_widget(xml, "GtkCheckButton_Mdec")), Config.Mdec); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(glade_xml_get_widget(xml, "GtkCheckButton_CDDA")), Config.Cdda); + gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(glade_xml_get_widget(xml, "GtkCheckButton_SlowBoot")), Config.SlowBoot); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(glade_xml_get_widget(xml, "GtkCheckButton_PsxAuto")), Config.PsxAuto); g_signal_connect_data(GTK_OBJECT(glade_xml_get_widget(xml, "GtkCheckButton_PsxAuto")), "toggled", diff --git a/gui/Config.c b/gui/Config.c index 8ee8bd81..375b5ac5 100644 --- a/gui/Config.c +++ b/gui/Config.c @@ -127,6 +127,7 @@ int LoadConfig(PcsxConfig *Conf) { Config.Mdec = GetValueb(data, "Mdec"); Config.PsxAuto = GetValueb(data, "PsxAuto"); Config.Cdda = GetValueb(data, "Cdda"); + Config.SlowBoot= GetValueb(data, "SlowBoot"); Config.Debug = GetValueb(data, "Dbg"); Config.PsxOut = (Config.PsxOut || GetValueb(data, "PsxOut")); Config.SpuIrq = GetValueb(data, "SpuIrq"); @@ -167,6 +168,7 @@ void SaveConfig() { SetValueb("Mdec", Config.Mdec); SetValueb("PsxAuto", Config.PsxAuto); SetValueb("Cdda", Config.Cdda); + SetValueb("SlowBoot",Config.SlowBoot); SetValueb("Dbg", Config.Debug); SetValueb("PsxOut", Config.PsxOut); SetValueb("SpuIrq", Config.SpuIrq); -- cgit v1.2.3