diff --git a/bin/.pixmaps/pcsxAbout.bmp b/bin/.pixmaps/pcsxAbout.bmp index a5ceb9aa37..3d6accb181 100644 Binary files a/bin/.pixmaps/pcsxAbout.bmp and b/bin/.pixmaps/pcsxAbout.bmp differ diff --git a/pcsx2/Common.h b/pcsx2/Common.h index 90aa7b6246..410ee9c15e 100644 --- a/pcsx2/Common.h +++ b/pcsx2/Common.h @@ -74,6 +74,6 @@ extern TESTRUNARGS g_TestRun; //#include "Misc.h" #include "Patch.h" -#define PCSX2_VERSION "Playground (beta)" +#define PCSX2_VERSION "(beta)" #endif /* __COMMON_H__ */ diff --git a/pcsx2/Linux/DebugDlg.cpp b/pcsx2/Linux/DebugDlg.cpp index 2f881fd56a..4c27702c95 100644 --- a/pcsx2/Linux/DebugDlg.cpp +++ b/pcsx2/Linux/DebugDlg.cpp @@ -18,7 +18,6 @@ #include "DebugDlg.h" using namespace R5900; -//using namespace Dynarec; void UpdateDebugger() { diff --git a/pcsx2/Linux/GtkGui.cpp b/pcsx2/Linux/GtkGui.cpp index 3dbd118939..c36664e841 100644 --- a/pcsx2/Linux/GtkGui.cpp +++ b/pcsx2/Linux/GtkGui.cpp @@ -36,9 +36,9 @@ void StartGui() { MainWindow = create_MainWindow(); if (SVN_REV != 0) - gtk_window_set_title(GTK_WINDOW(MainWindow), "PCSX2 "PCSX2_VERSION" "SVN_REV" Playground"); + gtk_window_set_title(GTK_WINDOW(MainWindow), "PCSX2 "PCSX2_VERSION" "SVN_REV); else - gtk_window_set_title(GTK_WINDOW(MainWindow), "PCSX2 "PCSX2_VERSION" Playground"); + gtk_window_set_title(GTK_WINDOW(MainWindow), "PCSX2 "PCSX2_VERSION); // status bar pStatusBar = gtk_statusbar_new (); @@ -605,11 +605,17 @@ void OnCpu_Ok(GtkButton *button, gpointer user_data) { { SysRestorableReset(); - if( (Config.Options&PCSX2_GSMULTITHREAD) ^ (newopts&PCSX2_GSMULTITHREAD) ) + if ((Config.Options&PCSX2_GSMULTITHREAD) ^ (newopts&PCSX2_GSMULTITHREAD)) { - // gotta shut down *all* the plugins. - ResetPlugins(); + // Need the MTGS setting to take effect, so close out the plugins: + PluginsResetGS(); + + if (CHECK_MULTIGS) + Console::Notice( "MTGS mode disabled.\n\tEnjoy the fruits of single-threaded simpicity." ); + else + Console::Notice( "MTGS mode enabled.\n\tWelcome to multi-threaded awesomeness. And random crashes." ); } + Config.Options = newopts; } else @@ -731,10 +737,10 @@ void OnHelp_About(GtkMenuItem *menuitem, gpointer user_data) { // Include the SVN revision if (SVN_REV !=0) - sprintf(str, _("PCSX2 Playground For Linux\nVersion %s %s\n"), PCSX2_VERSION, SVN_REV); + sprintf(str, _("PCSX2 For Linux\nVersion %s %s\n"), PCSX2_VERSION, SVN_REV); else //Use this instead for a non-svn version - sprintf(str, _("PCSX2 Playground For Linux\nVersion %s\n"), PCSX2_VERSION); + sprintf(str, _("PCSX2 For Linux\nVersion %s\n"), PCSX2_VERSION); gtk_label_set_text(GTK_LABEL(Label), str); diff --git a/pcsx2/Linux/callbacks.h b/pcsx2/Linux/callbacks.h index 4ed41f544d..490618756e 100644 --- a/pcsx2/Linux/callbacks.h +++ b/pcsx2/Linux/callbacks.h @@ -1,387 +1,387 @@ -#include - - -void -on_Advanced_Defaults (GtkButton *button, - gpointer user_data); - -void -on_Advanced_OK (GtkButton *button, - gpointer user_data); - -void -On_Dialog_Cancelled (GtkButton *button, - gpointer user_data); - -void -on_Speed_Hack_OK (GtkButton *button, - gpointer user_data); - -void -on_Game_Fix_OK (GtkButton *button, - gpointer user_data); - -void -OnMemWrite32_Ok (GtkButton *button, - gpointer user_data); - -void -OnArguments_Ok (GtkButton *button, - gpointer user_data); - -void -OnDumpR_Ok (GtkButton *button, - gpointer user_data); - -void -OnDumpC_Ok (GtkButton *button, - gpointer user_data); - -void -OnSetBPC_Ok (GtkButton *button, - gpointer user_data); - -void -OnSetBPA_Ok (GtkButton *button, - gpointer user_data); - -void -OnSetBPA_Cancel (GtkButton *button, - gpointer user_data); - -void -OnSetPC_Ok (GtkButton *button, - gpointer user_data); - -void -OnDebug_EEMode (GtkToggleButton *togglebutton, - gpointer user_data); - -void -OnDebug_IOPMode (GtkToggleButton *togglebutton, - gpointer user_data); - -void -OnDebug_Step (GtkButton *button, - gpointer user_data); - -void -OnDebug_Skip (GtkButton *button, - gpointer user_data); - -void -OnDebug_Go (GtkButton *button, - gpointer user_data); - -void -OnDebug_Log (GtkButton *button, - gpointer user_data); - -void -OnDebug_SetPC (GtkButton *button, - gpointer user_data); - -void -OnDebug_SetBPA (GtkButton *button, - gpointer user_data); - -void -OnDebug_SetBPC (GtkButton *button, - gpointer user_data); - -void -OnDebug_ClearBPs (GtkButton *button, - gpointer user_data); - -void -OnDebug_DumpCode (GtkButton *button, - gpointer user_data); - -void -OnDebug_RawDump (GtkButton *button, - gpointer user_data); - -void -OnDebug_Close (GtkButton *button, - gpointer user_data); - -void -OnDebug_memWrite32 (GtkButton *button, - gpointer user_data); - -void -OnConfConf_FWConf (GtkButton *button, - gpointer user_data); - -void -OnConfConf_FWTest (GtkButton *button, - gpointer user_data); - -void -OnConfConf_FWAbout (GtkButton *button, - gpointer user_data); - -void -OnConfConf_UsbConf (GtkButton *button, - gpointer user_data); - -void -OnConfConf_UsbTest (GtkButton *button, - gpointer user_data); - -void -OnConfConf_UsbAbout (GtkButton *button, - gpointer user_data); - -void -OnConfConf_CdvdConf (GtkButton *button, - gpointer user_data); - -void -OnConfConf_CdvdTest (GtkButton *button, - gpointer user_data); - -void -OnConfConf_CdvdAbout (GtkButton *button, - gpointer user_data); - -void -OnConfConf_Dev9Conf (GtkButton *button, - gpointer user_data); - -void -OnConfConf_Dev9Test (GtkButton *button, - gpointer user_data); - -void -OnConfConf_Dev9About (GtkButton *button, - gpointer user_data); - -void -OnConfConf_Spu2Conf (GtkButton *button, - gpointer user_data); - -void -OnConfConf_Spu2Test (GtkButton *button, - gpointer user_data); - -void -OnConfConf_Spu2About (GtkButton *button, - gpointer user_data); - -void -OnConfConf_GsConf (GtkButton *button, - gpointer user_data); - -void -OnConfConf_GsTest (GtkButton *button, - gpointer user_data); - -void -OnConfConf_GsAbout (GtkButton *button, - gpointer user_data); - -void -OnConfConf_Pad1Conf (GtkButton *button, - gpointer user_data); - -void -OnConfConf_Pad1Test (GtkButton *button, - gpointer user_data); - -void -OnConfConf_Pad1About (GtkButton *button, - gpointer user_data); - -void -OnConfConf_Pad2Conf (GtkButton *button, - gpointer user_data); - -void -OnConfConf_Pad2Test (GtkButton *button, - gpointer user_data); - -void -OnConfConf_Pad2About (GtkButton *button, - gpointer user_data); - -void -OnConfConf_PluginsPath (GtkButton *button, - gpointer user_data); - -void -OnConfConf_BiosPath (GtkButton *button, - gpointer user_data); - -void -OnConfConf_Ok (GtkButton *button, - gpointer user_data); - -void -OnHelpAbout_Ok (GtkButton *button, - gpointer user_data); - -void -OnDestroy (GtkObject *object, - gpointer user_data); - -gboolean -OnDelete (GtkWidget *widget, - GdkEvent *event, - gpointer user_data); - -void -OnFile_RunCD (GtkMenuItem *menuitem, - gpointer user_data); - -void -OnFile_LoadElf (GtkMenuItem *menuitem, - gpointer user_data); - -void -OnStates_Load1 (GtkMenuItem *menuitem, - gpointer user_data); - -void -OnStates_Load2 (GtkMenuItem *menuitem, - gpointer user_data); - -void -OnStates_Load3 (GtkMenuItem *menuitem, - gpointer user_data); - -void -OnStates_Load4 (GtkMenuItem *menuitem, - gpointer user_data); - -void -OnStates_Load5 (GtkMenuItem *menuitem, - gpointer user_data); - -void -OnStates_LoadOther (GtkMenuItem *menuitem, - gpointer user_data); - -void -OnStates_Save1 (GtkMenuItem *menuitem, - gpointer user_data); - -void -OnStates_Save2 (GtkMenuItem *menuitem, - gpointer user_data); - -void -OnStates_Save3 (GtkMenuItem *menuitem, - gpointer user_data); - -void -OnStates_Save4 (GtkMenuItem *menuitem, - gpointer user_data); - -void -OnStates_Save5 (GtkMenuItem *menuitem, - gpointer user_data); - -void -OnStates_SaveOther (GtkMenuItem *menuitem, - gpointer user_data); - -void -OnFile_Exit (GtkMenuItem *menuitem, - gpointer user_data); - -void -OnEmu_Run (GtkMenuItem *menuitem, - gpointer user_data); - -void -OnEmu_Reset (GtkMenuItem *menuitem, - gpointer user_data); - -void -OnEmu_Arguments (GtkMenuItem *menuitem, - gpointer user_data); - -void -OnConf_Conf (GtkMenuItem *menuitem, - gpointer user_data); - -void -OnConf_Gs (GtkMenuItem *menuitem, - gpointer user_data); - -void -OnConf_Pads (GtkMenuItem *menuitem, - gpointer user_data); - -void -OnConf_Spu2 (GtkMenuItem *menuitem, - gpointer user_data); - -void -OnConf_Cdvd (GtkMenuItem *menuitem, - gpointer user_data); - -void -OnConf_Dev9 (GtkMenuItem *menuitem, - gpointer user_data); - -void -OnConf_Usb (GtkMenuItem *menuitem, - gpointer user_data); - -void -OnConf_Fw (GtkMenuItem *menuitem, - gpointer user_data); - -void -OnConf_Cpu (GtkMenuItem *menuitem, - gpointer user_data); - -void -on_Game_Fixes (GtkMenuItem *menuitem, - gpointer user_data); - -void -on_Speed_Hacks (GtkMenuItem *menuitem, - gpointer user_data); - -void -on_Advanced (GtkMenuItem *menuitem, - gpointer user_data); - -void -on_patch_browser1_activate (GtkMenuItem *menuitem, - gpointer user_data); - -void -on_patch_finder2_activate (GtkMenuItem *menuitem, - gpointer user_data); - -void -on_enable_console1_activate (GtkMenuItem *menuitem, - gpointer user_data); - -void -on_enable_patches1_activate (GtkMenuItem *menuitem, - gpointer user_data); - -void -OnDebug_Debugger (GtkMenuItem *menuitem, - gpointer user_data); - -void -OnDebug_Logging (GtkMenuItem *menuitem, - gpointer user_data); - -void -OnHelp_About (GtkMenuItem *menuitem, - gpointer user_data); - -void -OnCpu_Ok (GtkButton *button, - gpointer user_data); - -void -OnLogging_Ok (GtkButton *button, - gpointer user_data); +#include + + +void +on_Advanced_Defaults (GtkButton *button, + gpointer user_data); + +void +on_Advanced_OK (GtkButton *button, + gpointer user_data); + +void +On_Dialog_Cancelled (GtkButton *button, + gpointer user_data); + +void +on_Speed_Hack_OK (GtkButton *button, + gpointer user_data); + +void +on_Game_Fix_OK (GtkButton *button, + gpointer user_data); + +void +OnMemWrite32_Ok (GtkButton *button, + gpointer user_data); + +void +OnArguments_Ok (GtkButton *button, + gpointer user_data); + +void +OnDumpR_Ok (GtkButton *button, + gpointer user_data); + +void +OnDumpC_Ok (GtkButton *button, + gpointer user_data); + +void +OnSetBPC_Ok (GtkButton *button, + gpointer user_data); + +void +OnSetBPA_Ok (GtkButton *button, + gpointer user_data); + +void +OnSetBPA_Cancel (GtkButton *button, + gpointer user_data); + +void +OnSetPC_Ok (GtkButton *button, + gpointer user_data); + +void +OnDebug_EEMode (GtkToggleButton *togglebutton, + gpointer user_data); + +void +OnDebug_IOPMode (GtkToggleButton *togglebutton, + gpointer user_data); + +void +OnDebug_Step (GtkButton *button, + gpointer user_data); + +void +OnDebug_Skip (GtkButton *button, + gpointer user_data); + +void +OnDebug_Go (GtkButton *button, + gpointer user_data); + +void +OnDebug_Log (GtkButton *button, + gpointer user_data); + +void +OnDebug_SetPC (GtkButton *button, + gpointer user_data); + +void +OnDebug_SetBPA (GtkButton *button, + gpointer user_data); + +void +OnDebug_SetBPC (GtkButton *button, + gpointer user_data); + +void +OnDebug_ClearBPs (GtkButton *button, + gpointer user_data); + +void +OnDebug_DumpCode (GtkButton *button, + gpointer user_data); + +void +OnDebug_RawDump (GtkButton *button, + gpointer user_data); + +void +OnDebug_Close (GtkButton *button, + gpointer user_data); + +void +OnDebug_memWrite32 (GtkButton *button, + gpointer user_data); + +void +OnConfConf_FWConf (GtkButton *button, + gpointer user_data); + +void +OnConfConf_FWTest (GtkButton *button, + gpointer user_data); + +void +OnConfConf_FWAbout (GtkButton *button, + gpointer user_data); + +void +OnConfConf_UsbConf (GtkButton *button, + gpointer user_data); + +void +OnConfConf_UsbTest (GtkButton *button, + gpointer user_data); + +void +OnConfConf_UsbAbout (GtkButton *button, + gpointer user_data); + +void +OnConfConf_CdvdConf (GtkButton *button, + gpointer user_data); + +void +OnConfConf_CdvdTest (GtkButton *button, + gpointer user_data); + +void +OnConfConf_CdvdAbout (GtkButton *button, + gpointer user_data); + +void +OnConfConf_Dev9Conf (GtkButton *button, + gpointer user_data); + +void +OnConfConf_Dev9Test (GtkButton *button, + gpointer user_data); + +void +OnConfConf_Dev9About (GtkButton *button, + gpointer user_data); + +void +OnConfConf_Spu2Conf (GtkButton *button, + gpointer user_data); + +void +OnConfConf_Spu2Test (GtkButton *button, + gpointer user_data); + +void +OnConfConf_Spu2About (GtkButton *button, + gpointer user_data); + +void +OnConfConf_GsConf (GtkButton *button, + gpointer user_data); + +void +OnConfConf_GsTest (GtkButton *button, + gpointer user_data); + +void +OnConfConf_GsAbout (GtkButton *button, + gpointer user_data); + +void +OnConfConf_Pad1Conf (GtkButton *button, + gpointer user_data); + +void +OnConfConf_Pad1Test (GtkButton *button, + gpointer user_data); + +void +OnConfConf_Pad1About (GtkButton *button, + gpointer user_data); + +void +OnConfConf_Pad2Conf (GtkButton *button, + gpointer user_data); + +void +OnConfConf_Pad2Test (GtkButton *button, + gpointer user_data); + +void +OnConfConf_Pad2About (GtkButton *button, + gpointer user_data); + +void +OnConfConf_PluginsPath (GtkButton *button, + gpointer user_data); + +void +OnConfConf_BiosPath (GtkButton *button, + gpointer user_data); + +void +OnConfConf_Ok (GtkButton *button, + gpointer user_data); + +void +OnHelpAbout_Ok (GtkButton *button, + gpointer user_data); + +void +OnDestroy (GtkObject *object, + gpointer user_data); + +gboolean +OnDelete (GtkWidget *widget, + GdkEvent *event, + gpointer user_data); + +void +OnFile_RunCD (GtkMenuItem *menuitem, + gpointer user_data); + +void +OnFile_LoadElf (GtkMenuItem *menuitem, + gpointer user_data); + +void +OnStates_Load1 (GtkMenuItem *menuitem, + gpointer user_data); + +void +OnStates_Load2 (GtkMenuItem *menuitem, + gpointer user_data); + +void +OnStates_Load3 (GtkMenuItem *menuitem, + gpointer user_data); + +void +OnStates_Load4 (GtkMenuItem *menuitem, + gpointer user_data); + +void +OnStates_Load5 (GtkMenuItem *menuitem, + gpointer user_data); + +void +OnStates_LoadOther (GtkMenuItem *menuitem, + gpointer user_data); + +void +OnStates_Save1 (GtkMenuItem *menuitem, + gpointer user_data); + +void +OnStates_Save2 (GtkMenuItem *menuitem, + gpointer user_data); + +void +OnStates_Save3 (GtkMenuItem *menuitem, + gpointer user_data); + +void +OnStates_Save4 (GtkMenuItem *menuitem, + gpointer user_data); + +void +OnStates_Save5 (GtkMenuItem *menuitem, + gpointer user_data); + +void +OnStates_SaveOther (GtkMenuItem *menuitem, + gpointer user_data); + +void +OnFile_Exit (GtkMenuItem *menuitem, + gpointer user_data); + +void +OnEmu_Run (GtkMenuItem *menuitem, + gpointer user_data); + +void +OnEmu_Reset (GtkMenuItem *menuitem, + gpointer user_data); + +void +OnEmu_Arguments (GtkMenuItem *menuitem, + gpointer user_data); + +void +OnConf_Conf (GtkMenuItem *menuitem, + gpointer user_data); + +void +OnConf_Gs (GtkMenuItem *menuitem, + gpointer user_data); + +void +OnConf_Pads (GtkMenuItem *menuitem, + gpointer user_data); + +void +OnConf_Spu2 (GtkMenuItem *menuitem, + gpointer user_data); + +void +OnConf_Cdvd (GtkMenuItem *menuitem, + gpointer user_data); + +void +OnConf_Dev9 (GtkMenuItem *menuitem, + gpointer user_data); + +void +OnConf_Usb (GtkMenuItem *menuitem, + gpointer user_data); + +void +OnConf_Fw (GtkMenuItem *menuitem, + gpointer user_data); + +void +OnConf_Cpu (GtkMenuItem *menuitem, + gpointer user_data); + +void +on_Game_Fixes (GtkMenuItem *menuitem, + gpointer user_data); + +void +on_Speed_Hacks (GtkMenuItem *menuitem, + gpointer user_data); + +void +on_Advanced (GtkMenuItem *menuitem, + gpointer user_data); + +void +on_patch_browser1_activate (GtkMenuItem *menuitem, + gpointer user_data); + +void +on_patch_finder2_activate (GtkMenuItem *menuitem, + gpointer user_data); + +void +on_enable_console1_activate (GtkMenuItem *menuitem, + gpointer user_data); + +void +on_enable_patches1_activate (GtkMenuItem *menuitem, + gpointer user_data); + +void +OnDebug_Debugger (GtkMenuItem *menuitem, + gpointer user_data); + +void +OnDebug_Logging (GtkMenuItem *menuitem, + gpointer user_data); + +void +OnHelp_About (GtkMenuItem *menuitem, + gpointer user_data); + +void +OnCpu_Ok (GtkButton *button, + gpointer user_data); + +void +OnLogging_Ok (GtkButton *button, + gpointer user_data); diff --git a/pcsx2/Linux/interface.c b/pcsx2/Linux/interface.c index ce4861d8f6..58aee0b17a 100644 --- a/pcsx2/Linux/interface.c +++ b/pcsx2/Linux/interface.c @@ -1,4016 +1,4016 @@ -/* - * DO NOT EDIT THIS FILE - it is generated by Glade. - */ - -#ifdef HAVE_CONFIG_H -# include -#endif - -#include -#include -#include -#include -#include - -#include -#include - -#include "callbacks.h" -#include "interface.h" -#include "support.h" - -#define GLADE_HOOKUP_OBJECT(component,widget,name) \ - g_object_set_data_full (G_OBJECT (component), name, \ - gtk_widget_ref (widget), (GDestroyNotify) gtk_widget_unref) - -#define GLADE_HOOKUP_OBJECT_NO_REF(component,widget,name) \ - g_object_set_data (G_OBJECT (component), name, widget) - -GtkWidget* -create_AdvDlg (void) -{ - GtkWidget *AdvDlg; - GtkWidget *dialog_vbox4; - GtkWidget *hbox33; - GtkWidget *vbox52; - GtkWidget *frame24; - GtkWidget *alignment19; - GtkWidget *vbox53; - GtkWidget *frame26; - GtkWidget *alignment21; - GtkWidget *hbox35; - GtkWidget *radio_EE_Round_Near; - GSList *radio_EE_Round_Near_group = NULL; - GtkWidget *radio_EE_Round_Negative; - GtkWidget *radio_EE_Round_Positive; - GtkWidget *radio_EE_Round_Zero; - GtkWidget *label72; - GtkWidget *frame27; - GtkWidget *alignment22; - GtkWidget *hbox37; - GtkWidget *radio_EE_Clamp_None; - GSList *radio_EE_Clamp_None_group = NULL; - GtkWidget *radio_EE_Clamp_Normal; - GtkWidget *radio_EE_Clamp_Extra_Preserve; - GtkWidget *label73; - GtkWidget *hbox34; - GtkWidget *check_EE_Flush_Zero; - GtkWidget *check_EE_Denormal_Zero; - GtkWidget *label70; - GtkWidget *frame25; - GtkWidget *alignment20; - GtkWidget *vbox54; - GtkWidget *frame28; - GtkWidget *alignment23; - GtkWidget *hbox36; - GtkWidget *radio_VU_Round_Near; - GSList *radio_VU_Round_Near_group = NULL; - GtkWidget *radio_VU_Round_Negative; - GtkWidget *radio_VU_Round_Positive; - GtkWidget *radio_VU_Round_Zero; - GtkWidget *label74; - GtkWidget *frame29; - GtkWidget *alignment24; - GtkWidget *hbox38; - GtkWidget *radio_VU_Clamp_None; - GSList *radio_VU_Clamp_None_group = NULL; - GtkWidget *radio_VU_Clamp_Normal; - GtkWidget *radio_VU_Clamp_Extra; - GtkWidget *radio_VU_Clamp_Extra_Preserve; - GtkWidget *label75; - GtkWidget *table7; - GtkWidget *check_VU_Flush_Zero; - GtkWidget *check_VU_Denormal_Zero; - GtkWidget *Check_Set_OU_Flags; - GtkWidget *check_Emulate_DaZ; - GtkWidget *label71; - GtkWidget *vbox51; - GtkWidget *frame30; - GtkWidget *alignment25; - GtkWidget *label81; - GtkWidget *label78; - GtkWidget *frame31; - GtkWidget *alignment26; - GtkWidget *label84; - GtkWidget *label79; - GtkWidget *frame32; - GtkWidget *alignment27; - GtkWidget *label83; - GtkWidget *label80; - GtkWidget *dialog_action_area4; - GtkWidget *AdvDefaultBtn; - GtkWidget *button79; - GtkWidget *button80; - - AdvDlg = gtk_dialog_new (); - gtk_window_set_title (GTK_WINDOW (AdvDlg), _("Advanced Options")); - gtk_window_set_type_hint (GTK_WINDOW (AdvDlg), GDK_WINDOW_TYPE_HINT_DIALOG); - - dialog_vbox4 = GTK_DIALOG (AdvDlg)->vbox; - gtk_widget_show (dialog_vbox4); - - hbox33 = gtk_hbox_new (FALSE, 0); - gtk_widget_show (hbox33); - gtk_box_pack_start (GTK_BOX (dialog_vbox4), hbox33, TRUE, TRUE, 0); - - vbox52 = gtk_vbox_new (FALSE, 0); - gtk_widget_show (vbox52); - gtk_box_pack_start (GTK_BOX (hbox33), vbox52, TRUE, TRUE, 0); - - frame24 = gtk_frame_new (NULL); - gtk_widget_show (frame24); - gtk_box_pack_start (GTK_BOX (vbox52), frame24, TRUE, TRUE, 0); - gtk_frame_set_shadow_type (GTK_FRAME (frame24), GTK_SHADOW_NONE); - - alignment19 = gtk_alignment_new (0.5, 0.5, 1, 1); - gtk_widget_show (alignment19); - gtk_container_add (GTK_CONTAINER (frame24), alignment19); - gtk_alignment_set_padding (GTK_ALIGNMENT (alignment19), 0, 0, 12, 0); - - vbox53 = gtk_vbox_new (FALSE, 0); - gtk_widget_show (vbox53); - gtk_container_add (GTK_CONTAINER (alignment19), vbox53); - - frame26 = gtk_frame_new (NULL); - gtk_widget_show (frame26); - gtk_box_pack_start (GTK_BOX (vbox53), frame26, TRUE, TRUE, 0); - gtk_frame_set_shadow_type (GTK_FRAME (frame26), GTK_SHADOW_NONE); - - alignment21 = gtk_alignment_new (0.5, 0.5, 1, 1); - gtk_widget_show (alignment21); - gtk_container_add (GTK_CONTAINER (frame26), alignment21); - gtk_alignment_set_padding (GTK_ALIGNMENT (alignment21), 0, 0, 12, 0); - - hbox35 = gtk_hbox_new (FALSE, 0); - gtk_widget_show (hbox35); - gtk_container_add (GTK_CONTAINER (alignment21), hbox35); - - radio_EE_Round_Near = gtk_radio_button_new_with_mnemonic (NULL, _("Nearest")); - gtk_widget_show (radio_EE_Round_Near); - gtk_box_pack_start (GTK_BOX (hbox35), radio_EE_Round_Near, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_EE_Round_Near), radio_EE_Round_Near_group); - radio_EE_Round_Near_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_EE_Round_Near)); - - radio_EE_Round_Negative = gtk_radio_button_new_with_mnemonic (NULL, _("Negative")); - gtk_widget_show (radio_EE_Round_Negative); - gtk_box_pack_start (GTK_BOX (hbox35), radio_EE_Round_Negative, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_EE_Round_Negative), radio_EE_Round_Near_group); - radio_EE_Round_Near_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_EE_Round_Negative)); - - radio_EE_Round_Positive = gtk_radio_button_new_with_mnemonic (NULL, _("Positive")); - gtk_widget_show (radio_EE_Round_Positive); - gtk_box_pack_start (GTK_BOX (hbox35), radio_EE_Round_Positive, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_EE_Round_Positive), radio_EE_Round_Near_group); - radio_EE_Round_Near_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_EE_Round_Positive)); - - radio_EE_Round_Zero = gtk_radio_button_new_with_mnemonic (NULL, _("Chop/Zero")); - gtk_widget_show (radio_EE_Round_Zero); - gtk_box_pack_start (GTK_BOX (hbox35), radio_EE_Round_Zero, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_EE_Round_Zero), radio_EE_Round_Near_group); - radio_EE_Round_Near_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_EE_Round_Zero)); - - label72 = gtk_label_new (_("Round Mode")); - gtk_widget_show (label72); - gtk_frame_set_label_widget (GTK_FRAME (frame26), label72); - gtk_label_set_use_markup (GTK_LABEL (label72), TRUE); - - frame27 = gtk_frame_new (NULL); - gtk_widget_show (frame27); - gtk_box_pack_start (GTK_BOX (vbox53), frame27, TRUE, TRUE, 0); - gtk_frame_set_shadow_type (GTK_FRAME (frame27), GTK_SHADOW_NONE); - - alignment22 = gtk_alignment_new (0.5, 0.5, 1, 1); - gtk_widget_show (alignment22); - gtk_container_add (GTK_CONTAINER (frame27), alignment22); - gtk_alignment_set_padding (GTK_ALIGNMENT (alignment22), 0, 0, 12, 0); - - hbox37 = gtk_hbox_new (FALSE, 0); - gtk_widget_show (hbox37); - gtk_container_add (GTK_CONTAINER (alignment22), hbox37); - - radio_EE_Clamp_None = gtk_radio_button_new_with_mnemonic (NULL, _("None")); - gtk_widget_show (radio_EE_Clamp_None); - gtk_box_pack_start (GTK_BOX (hbox37), radio_EE_Clamp_None, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_EE_Clamp_None), radio_EE_Clamp_None_group); - radio_EE_Clamp_None_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_EE_Clamp_None)); - - radio_EE_Clamp_Normal = gtk_radio_button_new_with_mnemonic (NULL, _("Normal")); - gtk_widget_show (radio_EE_Clamp_Normal); - gtk_box_pack_start (GTK_BOX (hbox37), radio_EE_Clamp_Normal, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_EE_Clamp_Normal), radio_EE_Clamp_None_group); - radio_EE_Clamp_None_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_EE_Clamp_Normal)); - - radio_EE_Clamp_Extra_Preserve = gtk_radio_button_new_with_mnemonic (NULL, _("Extra + Preserve Sign")); - gtk_widget_show (radio_EE_Clamp_Extra_Preserve); - gtk_box_pack_start (GTK_BOX (hbox37), radio_EE_Clamp_Extra_Preserve, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_EE_Clamp_Extra_Preserve), radio_EE_Clamp_None_group); - radio_EE_Clamp_None_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_EE_Clamp_Extra_Preserve)); - - label73 = gtk_label_new (_("Clamp Mode")); - gtk_widget_show (label73); - gtk_frame_set_label_widget (GTK_FRAME (frame27), label73); - gtk_label_set_use_markup (GTK_LABEL (label73), TRUE); - - hbox34 = gtk_hbox_new (FALSE, 0); - gtk_widget_show (hbox34); - gtk_box_pack_start (GTK_BOX (vbox53), hbox34, TRUE, TRUE, 0); - - check_EE_Flush_Zero = gtk_check_button_new_with_mnemonic (_("Flush to Zero")); - gtk_widget_show (check_EE_Flush_Zero); - gtk_box_pack_start (GTK_BOX (hbox34), check_EE_Flush_Zero, FALSE, FALSE, 0); - - check_EE_Denormal_Zero = gtk_check_button_new_with_mnemonic (_("Denormals are Zero")); - gtk_widget_show (check_EE_Denormal_Zero); - gtk_box_pack_start (GTK_BOX (hbox34), check_EE_Denormal_Zero, FALSE, FALSE, 0); - - label70 = gtk_label_new (_("EE Recs Options")); - gtk_widget_show (label70); - gtk_frame_set_label_widget (GTK_FRAME (frame24), label70); - gtk_label_set_use_markup (GTK_LABEL (label70), TRUE); - - frame25 = gtk_frame_new (NULL); - gtk_widget_show (frame25); - gtk_box_pack_start (GTK_BOX (vbox52), frame25, TRUE, TRUE, 0); - gtk_frame_set_shadow_type (GTK_FRAME (frame25), GTK_SHADOW_NONE); - - alignment20 = gtk_alignment_new (0.5, 0.5, 1, 1); - gtk_widget_show (alignment20); - gtk_container_add (GTK_CONTAINER (frame25), alignment20); - gtk_alignment_set_padding (GTK_ALIGNMENT (alignment20), 0, 0, 12, 0); - - vbox54 = gtk_vbox_new (FALSE, 0); - gtk_widget_show (vbox54); - gtk_container_add (GTK_CONTAINER (alignment20), vbox54); - - frame28 = gtk_frame_new (NULL); - gtk_widget_show (frame28); - gtk_box_pack_start (GTK_BOX (vbox54), frame28, TRUE, TRUE, 0); - gtk_frame_set_shadow_type (GTK_FRAME (frame28), GTK_SHADOW_NONE); - - alignment23 = gtk_alignment_new (0.5, 0.5, 1, 1); - gtk_widget_show (alignment23); - gtk_container_add (GTK_CONTAINER (frame28), alignment23); - gtk_alignment_set_padding (GTK_ALIGNMENT (alignment23), 0, 0, 12, 0); - - hbox36 = gtk_hbox_new (FALSE, 0); - gtk_widget_show (hbox36); - gtk_container_add (GTK_CONTAINER (alignment23), hbox36); - - radio_VU_Round_Near = gtk_radio_button_new_with_mnemonic (NULL, _("Nearest")); - gtk_widget_show (radio_VU_Round_Near); - gtk_box_pack_start (GTK_BOX (hbox36), radio_VU_Round_Near, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_VU_Round_Near), radio_VU_Round_Near_group); - radio_VU_Round_Near_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_VU_Round_Near)); - - radio_VU_Round_Negative = gtk_radio_button_new_with_mnemonic (NULL, _("Negative")); - gtk_widget_show (radio_VU_Round_Negative); - gtk_box_pack_start (GTK_BOX (hbox36), radio_VU_Round_Negative, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_VU_Round_Negative), radio_VU_Round_Near_group); - radio_VU_Round_Near_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_VU_Round_Negative)); - - radio_VU_Round_Positive = gtk_radio_button_new_with_mnemonic (NULL, _("Positive")); - gtk_widget_show (radio_VU_Round_Positive); - gtk_box_pack_start (GTK_BOX (hbox36), radio_VU_Round_Positive, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_VU_Round_Positive), radio_VU_Round_Near_group); - radio_VU_Round_Near_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_VU_Round_Positive)); - - radio_VU_Round_Zero = gtk_radio_button_new_with_mnemonic (NULL, _("Zero")); - gtk_widget_show (radio_VU_Round_Zero); - gtk_box_pack_start (GTK_BOX (hbox36), radio_VU_Round_Zero, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_VU_Round_Zero), radio_VU_Round_Near_group); - radio_VU_Round_Near_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_VU_Round_Zero)); - - label74 = gtk_label_new (_("Round Mode")); - gtk_widget_show (label74); - gtk_frame_set_label_widget (GTK_FRAME (frame28), label74); - gtk_label_set_use_markup (GTK_LABEL (label74), TRUE); - - frame29 = gtk_frame_new (NULL); - gtk_widget_show (frame29); - gtk_box_pack_start (GTK_BOX (vbox54), frame29, TRUE, TRUE, 0); - gtk_frame_set_shadow_type (GTK_FRAME (frame29), GTK_SHADOW_NONE); - - alignment24 = gtk_alignment_new (0.5, 0.5, 1, 1); - gtk_widget_show (alignment24); - gtk_container_add (GTK_CONTAINER (frame29), alignment24); - gtk_alignment_set_padding (GTK_ALIGNMENT (alignment24), 0, 0, 12, 0); - - hbox38 = gtk_hbox_new (FALSE, 0); - gtk_widget_show (hbox38); - gtk_container_add (GTK_CONTAINER (alignment24), hbox38); - - radio_VU_Clamp_None = gtk_radio_button_new_with_mnemonic (NULL, _("None")); - gtk_widget_show (radio_VU_Clamp_None); - gtk_box_pack_start (GTK_BOX (hbox38), radio_VU_Clamp_None, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_VU_Clamp_None), radio_VU_Clamp_None_group); - radio_VU_Clamp_None_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_VU_Clamp_None)); - - radio_VU_Clamp_Normal = gtk_radio_button_new_with_mnemonic (NULL, _("Normal")); - gtk_widget_show (radio_VU_Clamp_Normal); - gtk_box_pack_start (GTK_BOX (hbox38), radio_VU_Clamp_Normal, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_VU_Clamp_Normal), radio_VU_Clamp_None_group); - radio_VU_Clamp_None_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_VU_Clamp_Normal)); - - radio_VU_Clamp_Extra = gtk_radio_button_new_with_mnemonic (NULL, _("Extra")); - gtk_widget_show (radio_VU_Clamp_Extra); - gtk_box_pack_start (GTK_BOX (hbox38), radio_VU_Clamp_Extra, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_VU_Clamp_Extra), radio_VU_Clamp_None_group); - radio_VU_Clamp_None_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_VU_Clamp_Extra)); - - radio_VU_Clamp_Extra_Preserve = gtk_radio_button_new_with_mnemonic (NULL, _("Extra + Preserve Sign")); - gtk_widget_show (radio_VU_Clamp_Extra_Preserve); - gtk_box_pack_start (GTK_BOX (hbox38), radio_VU_Clamp_Extra_Preserve, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_VU_Clamp_Extra_Preserve), radio_VU_Clamp_None_group); - radio_VU_Clamp_None_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_VU_Clamp_Extra_Preserve)); - - label75 = gtk_label_new (_("Clamp Mode")); - gtk_widget_show (label75); - gtk_frame_set_label_widget (GTK_FRAME (frame29), label75); - gtk_label_set_use_markup (GTK_LABEL (label75), TRUE); - - table7 = gtk_table_new (2, 2, FALSE); - gtk_widget_show (table7); - gtk_box_pack_start (GTK_BOX (vbox54), table7, TRUE, TRUE, 0); - - check_VU_Flush_Zero = gtk_check_button_new_with_mnemonic (_("Flush to Zero")); - gtk_widget_show (check_VU_Flush_Zero); - gtk_table_attach (GTK_TABLE (table7), check_VU_Flush_Zero, 0, 1, 0, 1, - (GtkAttachOptions) (GTK_FILL), - (GtkAttachOptions) (0), 0, 0); - - check_VU_Denormal_Zero = gtk_check_button_new_with_mnemonic (_("Denormals are Zero")); - gtk_widget_show (check_VU_Denormal_Zero); - gtk_table_attach (GTK_TABLE (table7), check_VU_Denormal_Zero, 1, 2, 0, 1, - (GtkAttachOptions) (GTK_FILL), - (GtkAttachOptions) (0), 0, 0); - - Check_Set_OU_Flags = gtk_check_button_new_with_mnemonic (_("Set O & U Flags")); - gtk_widget_show (Check_Set_OU_Flags); - gtk_table_attach (GTK_TABLE (table7), Check_Set_OU_Flags, 0, 1, 1, 2, - (GtkAttachOptions) (GTK_FILL), - (GtkAttachOptions) (0), 0, 0); - gtk_widget_set_sensitive (Check_Set_OU_Flags, FALSE); - - check_Emulate_DaZ = gtk_check_button_new_with_mnemonic (_("Software Emulate DaZ")); - gtk_widget_show (check_Emulate_DaZ); - gtk_table_attach (GTK_TABLE (table7), check_Emulate_DaZ, 1, 2, 1, 2, - (GtkAttachOptions) (GTK_FILL), - (GtkAttachOptions) (0), 0, 0); - gtk_widget_set_sensitive (check_Emulate_DaZ, FALSE); - - label71 = gtk_label_new (_("VU Recs Options")); - gtk_widget_show (label71); - gtk_frame_set_label_widget (GTK_FRAME (frame25), label71); - gtk_label_set_use_markup (GTK_LABEL (label71), TRUE); - - vbox51 = gtk_vbox_new (FALSE, 0); - gtk_widget_show (vbox51); - gtk_box_pack_start (GTK_BOX (hbox33), vbox51, TRUE, TRUE, 0); - - frame30 = gtk_frame_new (NULL); - gtk_widget_show (frame30); - gtk_box_pack_start (GTK_BOX (vbox51), frame30, FALSE, FALSE, 0); - gtk_frame_set_shadow_type (GTK_FRAME (frame30), GTK_SHADOW_NONE); - - alignment25 = gtk_alignment_new (0.5, 0.5, 1, 1); - gtk_widget_show (alignment25); - gtk_container_add (GTK_CONTAINER (frame30), alignment25); - gtk_alignment_set_padding (GTK_ALIGNMENT (alignment25), 0, 0, 12, 0); - - label81 = gtk_label_new (_("These options specify how your CPU rounds floating point values.\n\nTry changing the roundmode for EE if your game hangs, it could make it work again.")); - gtk_widget_show (label81); - gtk_container_add (GTK_CONTAINER (alignment25), label81); - gtk_label_set_line_wrap (GTK_LABEL (label81), TRUE); - - label78 = gtk_label_new (_("Round Mode")); - gtk_widget_show (label78); - gtk_frame_set_label_widget (GTK_FRAME (frame30), label78); - gtk_label_set_use_markup (GTK_LABEL (label78), TRUE); - - frame31 = gtk_frame_new (NULL); - gtk_widget_show (frame31); - gtk_box_pack_start (GTK_BOX (vbox51), frame31, FALSE, FALSE, 0); - gtk_frame_set_shadow_type (GTK_FRAME (frame31), GTK_SHADOW_NONE); - - alignment26 = gtk_alignment_new (0.5, 0.5, 1, 1); - gtk_widget_show (alignment26); - gtk_container_add (GTK_CONTAINER (frame31), alignment26); - gtk_alignment_set_padding (GTK_ALIGNMENT (alignment26), 0, 0, 12, 0); - - label84 = gtk_label_new (_("These options specify how PCSX2's recompilers will clamp Infinities and NaN (Not a Number) values in the opcode instructions.\n\nNone - No clamping. (Fastest Mode)\nNormal - Clamps the result.\nExtra - Clamps the operands, the result, and anywhere in between.\nExtra + Preserve Sign - Same as \"\"Extra\"\", except preserves NaN's sign when clamping the operands. (Slowest Mode)")); - gtk_widget_show (label84); - gtk_container_add (GTK_CONTAINER (alignment26), label84); - gtk_label_set_line_wrap (GTK_LABEL (label84), TRUE); - - label79 = gtk_label_new (_("Clamp Mode")); - gtk_widget_show (label79); - gtk_frame_set_label_widget (GTK_FRAME (frame31), label79); - gtk_label_set_use_markup (GTK_LABEL (label79), TRUE); - - frame32 = gtk_frame_new (NULL); - gtk_widget_show (frame32); - gtk_box_pack_start (GTK_BOX (vbox51), frame32, FALSE, FALSE, 0); - gtk_frame_set_shadow_type (GTK_FRAME (frame32), GTK_SHADOW_NONE); - - alignment27 = gtk_alignment_new (0.5, 0.5, 1, 1); - gtk_widget_show (alignment27); - gtk_container_add (GTK_CONTAINER (frame32), alignment27); - gtk_alignment_set_padding (GTK_ALIGNMENT (alignment27), 0, 0, 12, 0); - - label83 = gtk_label_new (_("Flush to Zero - Your CPU makes Floating Point Underflows become Zero, so it does less work. (Speed Up)\n\nDenormals are Zero - Your CPU makes Floating Point Denormals become Zero, so it does less work. (Speed Up)")); - gtk_widget_show (label83); - gtk_container_add (GTK_CONTAINER (alignment27), label83); - gtk_label_set_line_wrap (GTK_LABEL (label83), TRUE); - - label80 = gtk_label_new (_("Other Options")); - gtk_widget_show (label80); - gtk_frame_set_label_widget (GTK_FRAME (frame32), label80); - gtk_label_set_use_markup (GTK_LABEL (label80), TRUE); - - dialog_action_area4 = GTK_DIALOG (AdvDlg)->action_area; - gtk_widget_show (dialog_action_area4); - gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area4), GTK_BUTTONBOX_SPREAD); - - AdvDefaultBtn = gtk_button_new_with_mnemonic (_("Defaults")); - gtk_widget_show (AdvDefaultBtn); - gtk_dialog_add_action_widget (GTK_DIALOG (AdvDlg), AdvDefaultBtn, 0); - GTK_WIDGET_SET_FLAGS (AdvDefaultBtn, GTK_CAN_DEFAULT); - - button79 = gtk_button_new_from_stock ("gtk-ok"); - gtk_widget_show (button79); - gtk_dialog_add_action_widget (GTK_DIALOG (AdvDlg), button79, GTK_RESPONSE_OK); - GTK_WIDGET_SET_FLAGS (button79, GTK_CAN_DEFAULT); - - button80 = gtk_button_new_from_stock ("gtk-cancel"); - gtk_widget_show (button80); - gtk_dialog_add_action_widget (GTK_DIALOG (AdvDlg), button80, GTK_RESPONSE_CANCEL); - GTK_WIDGET_SET_FLAGS (button80, GTK_CAN_DEFAULT); - - g_signal_connect ((gpointer) AdvDefaultBtn, "clicked", - G_CALLBACK (on_Advanced_Defaults), - NULL); - g_signal_connect ((gpointer) button79, "clicked", - G_CALLBACK (on_Advanced_OK), - NULL); - g_signal_connect ((gpointer) button80, "clicked", - G_CALLBACK (On_Dialog_Cancelled), - NULL); - - /* Store pointers to all widgets, for use by lookup_widget(). */ - GLADE_HOOKUP_OBJECT_NO_REF (AdvDlg, AdvDlg, "AdvDlg"); - GLADE_HOOKUP_OBJECT_NO_REF (AdvDlg, dialog_vbox4, "dialog_vbox4"); - GLADE_HOOKUP_OBJECT (AdvDlg, hbox33, "hbox33"); - GLADE_HOOKUP_OBJECT (AdvDlg, vbox52, "vbox52"); - GLADE_HOOKUP_OBJECT (AdvDlg, frame24, "frame24"); - GLADE_HOOKUP_OBJECT (AdvDlg, alignment19, "alignment19"); - GLADE_HOOKUP_OBJECT (AdvDlg, vbox53, "vbox53"); - GLADE_HOOKUP_OBJECT (AdvDlg, frame26, "frame26"); - GLADE_HOOKUP_OBJECT (AdvDlg, alignment21, "alignment21"); - GLADE_HOOKUP_OBJECT (AdvDlg, hbox35, "hbox35"); - GLADE_HOOKUP_OBJECT (AdvDlg, radio_EE_Round_Near, "radio_EE_Round_Near"); - GLADE_HOOKUP_OBJECT (AdvDlg, radio_EE_Round_Negative, "radio_EE_Round_Negative"); - GLADE_HOOKUP_OBJECT (AdvDlg, radio_EE_Round_Positive, "radio_EE_Round_Positive"); - GLADE_HOOKUP_OBJECT (AdvDlg, radio_EE_Round_Zero, "radio_EE_Round_Zero"); - GLADE_HOOKUP_OBJECT (AdvDlg, label72, "label72"); - GLADE_HOOKUP_OBJECT (AdvDlg, frame27, "frame27"); - GLADE_HOOKUP_OBJECT (AdvDlg, alignment22, "alignment22"); - GLADE_HOOKUP_OBJECT (AdvDlg, hbox37, "hbox37"); - GLADE_HOOKUP_OBJECT (AdvDlg, radio_EE_Clamp_None, "radio_EE_Clamp_None"); - GLADE_HOOKUP_OBJECT (AdvDlg, radio_EE_Clamp_Normal, "radio_EE_Clamp_Normal"); - GLADE_HOOKUP_OBJECT (AdvDlg, radio_EE_Clamp_Extra_Preserve, "radio_EE_Clamp_Extra_Preserve"); - GLADE_HOOKUP_OBJECT (AdvDlg, label73, "label73"); - GLADE_HOOKUP_OBJECT (AdvDlg, hbox34, "hbox34"); - GLADE_HOOKUP_OBJECT (AdvDlg, check_EE_Flush_Zero, "check_EE_Flush_Zero"); - GLADE_HOOKUP_OBJECT (AdvDlg, check_EE_Denormal_Zero, "check_EE_Denormal_Zero"); - GLADE_HOOKUP_OBJECT (AdvDlg, label70, "label70"); - GLADE_HOOKUP_OBJECT (AdvDlg, frame25, "frame25"); - GLADE_HOOKUP_OBJECT (AdvDlg, alignment20, "alignment20"); - GLADE_HOOKUP_OBJECT (AdvDlg, vbox54, "vbox54"); - GLADE_HOOKUP_OBJECT (AdvDlg, frame28, "frame28"); - GLADE_HOOKUP_OBJECT (AdvDlg, alignment23, "alignment23"); - GLADE_HOOKUP_OBJECT (AdvDlg, hbox36, "hbox36"); - GLADE_HOOKUP_OBJECT (AdvDlg, radio_VU_Round_Near, "radio_VU_Round_Near"); - GLADE_HOOKUP_OBJECT (AdvDlg, radio_VU_Round_Negative, "radio_VU_Round_Negative"); - GLADE_HOOKUP_OBJECT (AdvDlg, radio_VU_Round_Positive, "radio_VU_Round_Positive"); - GLADE_HOOKUP_OBJECT (AdvDlg, radio_VU_Round_Zero, "radio_VU_Round_Zero"); - GLADE_HOOKUP_OBJECT (AdvDlg, label74, "label74"); - GLADE_HOOKUP_OBJECT (AdvDlg, frame29, "frame29"); - GLADE_HOOKUP_OBJECT (AdvDlg, alignment24, "alignment24"); - GLADE_HOOKUP_OBJECT (AdvDlg, hbox38, "hbox38"); - GLADE_HOOKUP_OBJECT (AdvDlg, radio_VU_Clamp_None, "radio_VU_Clamp_None"); - GLADE_HOOKUP_OBJECT (AdvDlg, radio_VU_Clamp_Normal, "radio_VU_Clamp_Normal"); - GLADE_HOOKUP_OBJECT (AdvDlg, radio_VU_Clamp_Extra, "radio_VU_Clamp_Extra"); - GLADE_HOOKUP_OBJECT (AdvDlg, radio_VU_Clamp_Extra_Preserve, "radio_VU_Clamp_Extra_Preserve"); - GLADE_HOOKUP_OBJECT (AdvDlg, label75, "label75"); - GLADE_HOOKUP_OBJECT (AdvDlg, table7, "table7"); - GLADE_HOOKUP_OBJECT (AdvDlg, check_VU_Flush_Zero, "check_VU_Flush_Zero"); - GLADE_HOOKUP_OBJECT (AdvDlg, check_VU_Denormal_Zero, "check_VU_Denormal_Zero"); - GLADE_HOOKUP_OBJECT (AdvDlg, Check_Set_OU_Flags, "Check_Set_OU_Flags"); - GLADE_HOOKUP_OBJECT (AdvDlg, check_Emulate_DaZ, "check_Emulate_DaZ"); - GLADE_HOOKUP_OBJECT (AdvDlg, label71, "label71"); - GLADE_HOOKUP_OBJECT (AdvDlg, vbox51, "vbox51"); - GLADE_HOOKUP_OBJECT (AdvDlg, frame30, "frame30"); - GLADE_HOOKUP_OBJECT (AdvDlg, alignment25, "alignment25"); - GLADE_HOOKUP_OBJECT (AdvDlg, label81, "label81"); - GLADE_HOOKUP_OBJECT (AdvDlg, label78, "label78"); - GLADE_HOOKUP_OBJECT (AdvDlg, frame31, "frame31"); - GLADE_HOOKUP_OBJECT (AdvDlg, alignment26, "alignment26"); - GLADE_HOOKUP_OBJECT (AdvDlg, label84, "label84"); - GLADE_HOOKUP_OBJECT (AdvDlg, label79, "label79"); - GLADE_HOOKUP_OBJECT (AdvDlg, frame32, "frame32"); - GLADE_HOOKUP_OBJECT (AdvDlg, alignment27, "alignment27"); - GLADE_HOOKUP_OBJECT (AdvDlg, label83, "label83"); - GLADE_HOOKUP_OBJECT (AdvDlg, label80, "label80"); - GLADE_HOOKUP_OBJECT_NO_REF (AdvDlg, dialog_action_area4, "dialog_action_area4"); - GLADE_HOOKUP_OBJECT (AdvDlg, AdvDefaultBtn, "AdvDefaultBtn"); - GLADE_HOOKUP_OBJECT (AdvDlg, button79, "button79"); - GLADE_HOOKUP_OBJECT (AdvDlg, button80, "button80"); - - return AdvDlg; -} - -GtkWidget* -create_SpeedHacksDlg (void) -{ - GtkWidget *SpeedHacksDlg; - GtkWidget *dialog_vbox3; - GtkWidget *vbox59; - GtkWidget *label88; - GtkWidget *hbox39; - GtkWidget *frame37; - GtkWidget *alignment32; - GtkWidget *vbox61; - GtkWidget *check_default_cycle_rate; - GSList *check_default_cycle_rate_group = NULL; - GtkWidget *label98; - GtkWidget *check_1_5_cycle_rate; - GtkWidget *label93; - GtkWidget *check_2_cycle_rate; - GtkWidget *label94; - GtkWidget *check_3_cycle_rate; - GtkWidget *label95; - GtkWidget *hseparator1; - GtkWidget *label91; - GtkWidget *label90; - GtkWidget *vbox60; - GtkWidget *check_iop_cycle_rate; - GtkWidget *label96; - GtkWidget *check_wait_cycles_sync_hack; - GtkWidget *label97; - GtkWidget *frame36; - GtkWidget *alignment31; - GtkWidget *check_ESC_hack; - GtkWidget *label89; - GtkWidget *dialog_action_area3; - GtkWidget *button99; - GtkWidget *button98; - - SpeedHacksDlg = gtk_dialog_new (); - gtk_window_set_title (GTK_WINDOW (SpeedHacksDlg), _("PCSX2 Speed Hacks")); - gtk_window_set_type_hint (GTK_WINDOW (SpeedHacksDlg), GDK_WINDOW_TYPE_HINT_DIALOG); - - dialog_vbox3 = GTK_DIALOG (SpeedHacksDlg)->vbox; - gtk_widget_show (dialog_vbox3); - - vbox59 = gtk_vbox_new (FALSE, 0); - gtk_widget_show (vbox59); - gtk_box_pack_start (GTK_BOX (dialog_vbox3), vbox59, FALSE, FALSE, 0); - - label88 = gtk_label_new (_("These hacks will affect the speed of PCSX2 but possibly compromise compatibility.\nIf you have problems, Disable all of these and try again.")); - gtk_widget_show (label88); - gtk_box_pack_start (GTK_BOX (vbox59), label88, FALSE, FALSE, 0); - - hbox39 = gtk_hbox_new (FALSE, 0); - gtk_widget_show (hbox39); - gtk_box_pack_start (GTK_BOX (vbox59), hbox39, TRUE, TRUE, 0); - - frame37 = gtk_frame_new (NULL); - gtk_widget_show (frame37); - gtk_box_pack_start (GTK_BOX (hbox39), frame37, TRUE, TRUE, 0); - - alignment32 = gtk_alignment_new (0.5, 0.5, 1, 1); - gtk_widget_show (alignment32); - gtk_container_add (GTK_CONTAINER (frame37), alignment32); - gtk_alignment_set_padding (GTK_ALIGNMENT (alignment32), 0, 0, 12, 0); - - vbox61 = gtk_vbox_new (FALSE, 2); - gtk_widget_show (vbox61); - gtk_container_add (GTK_CONTAINER (alignment32), vbox61); - - check_default_cycle_rate = gtk_radio_button_new_with_mnemonic (NULL, _("Default Cycle Rate")); - gtk_widget_show (check_default_cycle_rate); - gtk_box_pack_start (GTK_BOX (vbox61), check_default_cycle_rate, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (check_default_cycle_rate), check_default_cycle_rate_group); - check_default_cycle_rate_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (check_default_cycle_rate)); - - label98 = gtk_label_new (_("Most compatable option - recommended for everyone with high-end machines.")); - gtk_widget_show (label98); - gtk_box_pack_start (GTK_BOX (vbox61), label98, FALSE, FALSE, 0); - gtk_label_set_line_wrap (GTK_LABEL (label98), TRUE); - gtk_misc_set_alignment (GTK_MISC (label98), 0.29, 0.5); - - check_1_5_cycle_rate = gtk_radio_button_new_with_mnemonic (NULL, _("Use x1.5 Cycle Rate")); - gtk_widget_show (check_1_5_cycle_rate); - gtk_box_pack_start (GTK_BOX (vbox61), check_1_5_cycle_rate, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (check_1_5_cycle_rate), check_default_cycle_rate_group); - check_default_cycle_rate_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (check_1_5_cycle_rate)); - - label93 = gtk_label_new (_("Moderate speedup, and works well with most games.")); - gtk_widget_show (label93); - gtk_box_pack_start (GTK_BOX (vbox61), label93, FALSE, FALSE, 0); - gtk_label_set_line_wrap (GTK_LABEL (label93), TRUE); - gtk_misc_set_alignment (GTK_MISC (label93), 0.29, 0.5); - - check_2_cycle_rate = gtk_radio_button_new_with_mnemonic (NULL, _("Use x2 Cycle Rate")); - gtk_widget_show (check_2_cycle_rate); - gtk_box_pack_start (GTK_BOX (vbox61), check_2_cycle_rate, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (check_2_cycle_rate), check_default_cycle_rate_group); - check_default_cycle_rate_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (check_2_cycle_rate)); - - label94 = gtk_label_new (_("Big speedup! Works well with many games.")); - gtk_widget_show (label94); - gtk_box_pack_start (GTK_BOX (vbox61), label94, FALSE, FALSE, 0); - gtk_label_set_line_wrap (GTK_LABEL (label94), TRUE); - gtk_misc_set_alignment (GTK_MISC (label94), 0.36, 0.5); - - check_3_cycle_rate = gtk_radio_button_new_with_mnemonic (NULL, _("Use x3 Cycle Rate")); - gtk_widget_show (check_3_cycle_rate); - gtk_box_pack_start (GTK_BOX (vbox61), check_3_cycle_rate, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (check_3_cycle_rate), check_default_cycle_rate_group); - check_default_cycle_rate_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (check_3_cycle_rate)); - - label95 = gtk_label_new (_("Big speedup, but causes flickering or missing geometry on many games.")); - gtk_widget_show (label95); - gtk_box_pack_start (GTK_BOX (vbox61), label95, FALSE, FALSE, 0); - gtk_label_set_line_wrap (GTK_LABEL (label95), TRUE); - gtk_misc_set_alignment (GTK_MISC (label95), 0.24, 0.5); - - hseparator1 = gtk_hseparator_new (); - gtk_widget_show (hseparator1); - gtk_box_pack_start (GTK_BOX (vbox61), hseparator1, FALSE, FALSE, 0); - - label91 = gtk_label_new (_("Important: X2 & X3 sync hacks *will* cause choppy/skippy audio on many FMV movies.")); - gtk_widget_show (label91); - gtk_box_pack_start (GTK_BOX (vbox61), label91, FALSE, FALSE, 0); - gtk_label_set_line_wrap (GTK_LABEL (label91), TRUE); - - label90 = gtk_label_new (_("frame37")); - gtk_widget_show (label90); - gtk_frame_set_label_widget (GTK_FRAME (frame37), label90); - gtk_label_set_use_markup (GTK_LABEL (label90), TRUE); - - vbox60 = gtk_vbox_new (FALSE, 0); - gtk_widget_show (vbox60); - gtk_box_pack_start (GTK_BOX (hbox39), vbox60, FALSE, FALSE, 0); - - check_iop_cycle_rate = gtk_check_button_new_with_mnemonic (_("Enable IOP x2 Cycle Rate")); - gtk_widget_show (check_iop_cycle_rate); - gtk_box_pack_start (GTK_BOX (vbox60), check_iop_cycle_rate, FALSE, FALSE, 0); - - label96 = gtk_label_new (_("Small speedup, and works well with most games,")); - gtk_widget_show (label96); - gtk_box_pack_start (GTK_BOX (vbox60), label96, FALSE, FALSE, 0); - gtk_label_set_line_wrap (GTK_LABEL (label96), TRUE); - - check_wait_cycles_sync_hack = gtk_check_button_new_with_mnemonic (_("WaitCycles Sync Hack")); - gtk_widget_show (check_wait_cycles_sync_hack); - gtk_box_pack_start (GTK_BOX (vbox60), check_wait_cycles_sync_hack, FALSE, FALSE, 0); - - label97 = gtk_label_new (_("Small speedup. Works well with most games, but it may cause certain games to crash, or freeze up during bootup or stage changes.")); - gtk_widget_show (label97); - gtk_box_pack_start (GTK_BOX (vbox60), label97, FALSE, FALSE, 0); - gtk_label_set_line_wrap (GTK_LABEL (label97), TRUE); - - frame36 = gtk_frame_new (NULL); - gtk_widget_show (frame36); - gtk_box_pack_start (GTK_BOX (vbox59), frame36, FALSE, FALSE, 0); - - alignment31 = gtk_alignment_new (0.5, 0.5, 1, 1); - gtk_widget_show (alignment31); - gtk_container_add (GTK_CONTAINER (frame36), alignment31); - gtk_alignment_set_padding (GTK_ALIGNMENT (alignment31), 0, 0, 12, 0); - - check_ESC_hack = gtk_check_button_new_with_mnemonic (_("Escape Hack - Use Esc key to fully exit PCSX2.")); - gtk_widget_show (check_ESC_hack); - gtk_container_add (GTK_CONTAINER (alignment31), check_ESC_hack); - - label89 = gtk_label_new (_("Miscellaneous")); - gtk_widget_show (label89); - gtk_frame_set_label_widget (GTK_FRAME (frame36), label89); - gtk_label_set_use_markup (GTK_LABEL (label89), TRUE); - - dialog_action_area3 = GTK_DIALOG (SpeedHacksDlg)->action_area; - gtk_widget_show (dialog_action_area3); - gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area3), GTK_BUTTONBOX_END); - - button99 = gtk_button_new_from_stock ("gtk-ok"); - gtk_widget_show (button99); - gtk_dialog_add_action_widget (GTK_DIALOG (SpeedHacksDlg), button99, GTK_RESPONSE_OK); - GTK_WIDGET_SET_FLAGS (button99, GTK_CAN_DEFAULT); - - button98 = gtk_button_new_from_stock ("gtk-cancel"); - gtk_widget_show (button98); - gtk_dialog_add_action_widget (GTK_DIALOG (SpeedHacksDlg), button98, GTK_RESPONSE_CANCEL); - GTK_WIDGET_SET_FLAGS (button98, GTK_CAN_DEFAULT); - - g_signal_connect ((gpointer) button99, "clicked", - G_CALLBACK (on_Speed_Hack_OK), - NULL); - g_signal_connect ((gpointer) button98, "clicked", - G_CALLBACK (On_Dialog_Cancelled), - NULL); - - /* Store pointers to all widgets, for use by lookup_widget(). */ - GLADE_HOOKUP_OBJECT_NO_REF (SpeedHacksDlg, SpeedHacksDlg, "SpeedHacksDlg"); - GLADE_HOOKUP_OBJECT_NO_REF (SpeedHacksDlg, dialog_vbox3, "dialog_vbox3"); - GLADE_HOOKUP_OBJECT (SpeedHacksDlg, vbox59, "vbox59"); - GLADE_HOOKUP_OBJECT (SpeedHacksDlg, label88, "label88"); - GLADE_HOOKUP_OBJECT (SpeedHacksDlg, hbox39, "hbox39"); - GLADE_HOOKUP_OBJECT (SpeedHacksDlg, frame37, "frame37"); - GLADE_HOOKUP_OBJECT (SpeedHacksDlg, alignment32, "alignment32"); - GLADE_HOOKUP_OBJECT (SpeedHacksDlg, vbox61, "vbox61"); - GLADE_HOOKUP_OBJECT (SpeedHacksDlg, check_default_cycle_rate, "check_default_cycle_rate"); - GLADE_HOOKUP_OBJECT (SpeedHacksDlg, label98, "label98"); - GLADE_HOOKUP_OBJECT (SpeedHacksDlg, check_1_5_cycle_rate, "check_1_5_cycle_rate"); - GLADE_HOOKUP_OBJECT (SpeedHacksDlg, label93, "label93"); - GLADE_HOOKUP_OBJECT (SpeedHacksDlg, check_2_cycle_rate, "check_2_cycle_rate"); - GLADE_HOOKUP_OBJECT (SpeedHacksDlg, label94, "label94"); - GLADE_HOOKUP_OBJECT (SpeedHacksDlg, check_3_cycle_rate, "check_3_cycle_rate"); - GLADE_HOOKUP_OBJECT (SpeedHacksDlg, label95, "label95"); - GLADE_HOOKUP_OBJECT (SpeedHacksDlg, hseparator1, "hseparator1"); - GLADE_HOOKUP_OBJECT (SpeedHacksDlg, label91, "label91"); - GLADE_HOOKUP_OBJECT (SpeedHacksDlg, label90, "label90"); - GLADE_HOOKUP_OBJECT (SpeedHacksDlg, vbox60, "vbox60"); - GLADE_HOOKUP_OBJECT (SpeedHacksDlg, check_iop_cycle_rate, "check_iop_cycle_rate"); - GLADE_HOOKUP_OBJECT (SpeedHacksDlg, label96, "label96"); - GLADE_HOOKUP_OBJECT (SpeedHacksDlg, check_wait_cycles_sync_hack, "check_wait_cycles_sync_hack"); - GLADE_HOOKUP_OBJECT (SpeedHacksDlg, label97, "label97"); - GLADE_HOOKUP_OBJECT (SpeedHacksDlg, frame36, "frame36"); - GLADE_HOOKUP_OBJECT (SpeedHacksDlg, alignment31, "alignment31"); - GLADE_HOOKUP_OBJECT (SpeedHacksDlg, check_ESC_hack, "check_ESC_hack"); - GLADE_HOOKUP_OBJECT (SpeedHacksDlg, label89, "label89"); - GLADE_HOOKUP_OBJECT_NO_REF (SpeedHacksDlg, dialog_action_area3, "dialog_action_area3"); - GLADE_HOOKUP_OBJECT (SpeedHacksDlg, button99, "button99"); - GLADE_HOOKUP_OBJECT (SpeedHacksDlg, button98, "button98"); - - return SpeedHacksDlg; -} - -GtkWidget* -create_GameFixDlg (void) -{ - GtkWidget *GameFixDlg; - GtkWidget *dialog_vbox1; - GtkWidget *GameSettings; - GtkWidget *alignment5; - GtkWidget *vbox30; - GtkWidget *check_FPU_Clamp; - GtkWidget *check_VU_Branch; - GtkWidget *check_VU_Add_Sub; - GtkWidget *label42; - GtkWidget *dialog_action_area1; - GtkWidget *cancelbutton1; - GtkWidget *button83; - - GameFixDlg = gtk_dialog_new (); - gtk_window_set_title (GTK_WINDOW (GameFixDlg), _("Game Special Fixes")); - gtk_window_set_type_hint (GTK_WINDOW (GameFixDlg), GDK_WINDOW_TYPE_HINT_DIALOG); - - dialog_vbox1 = GTK_DIALOG (GameFixDlg)->vbox; - gtk_widget_show (dialog_vbox1); - - GameSettings = gtk_frame_new (NULL); - gtk_widget_show (GameSettings); - gtk_box_pack_start (GTK_BOX (dialog_vbox1), GameSettings, TRUE, TRUE, 0); - gtk_frame_set_shadow_type (GTK_FRAME (GameSettings), GTK_SHADOW_NONE); - - alignment5 = gtk_alignment_new (0.5, 0.5, 1, 1); - gtk_widget_show (alignment5); - gtk_container_add (GTK_CONTAINER (GameSettings), alignment5); - gtk_alignment_set_padding (GTK_ALIGNMENT (alignment5), 0, 0, 12, 0); - - vbox30 = gtk_vbox_new (FALSE, 0); - gtk_widget_show (vbox30); - gtk_container_add (GTK_CONTAINER (alignment5), vbox30); - - check_FPU_Clamp = gtk_check_button_new_with_mnemonic (_("FPU Clamp Hack - Special fix for Tekken 5 and maybe other games.")); - gtk_widget_show (check_FPU_Clamp); - gtk_box_pack_start (GTK_BOX (vbox30), check_FPU_Clamp, FALSE, FALSE, 0); - - check_VU_Branch = gtk_check_button_new_with_mnemonic (_("VU Branch Hack - Special fix for Magna Carta; Breaks Crash Bandicoot!")); - gtk_widget_show (check_VU_Branch); - gtk_box_pack_start (GTK_BOX (vbox30), check_VU_Branch, FALSE, FALSE, 0); - - check_VU_Add_Sub = gtk_check_button_new_with_mnemonic (_("VU Add / Sub Hack - Special fix for Tri-Ace games!")); - gtk_widget_show (check_VU_Add_Sub); - gtk_box_pack_start (GTK_BOX (vbox30), check_VU_Add_Sub, FALSE, FALSE, 0); - - label42 = gtk_label_new (_("Some games need special settings.\nConfigure them here.")); - gtk_widget_show (label42); - gtk_frame_set_label_widget (GTK_FRAME (GameSettings), label42); - gtk_label_set_use_markup (GTK_LABEL (label42), TRUE); - - dialog_action_area1 = GTK_DIALOG (GameFixDlg)->action_area; - gtk_widget_show (dialog_action_area1); - gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area1), GTK_BUTTONBOX_END); - - cancelbutton1 = gtk_button_new_from_stock ("gtk-ok"); - gtk_widget_show (cancelbutton1); - gtk_dialog_add_action_widget (GTK_DIALOG (GameFixDlg), cancelbutton1, GTK_RESPONSE_OK); - GTK_WIDGET_SET_FLAGS (cancelbutton1, GTK_CAN_DEFAULT); - - button83 = gtk_button_new_from_stock ("gtk-cancel"); - gtk_widget_show (button83); - gtk_dialog_add_action_widget (GTK_DIALOG (GameFixDlg), button83, GTK_RESPONSE_CANCEL); - GTK_WIDGET_SET_FLAGS (button83, GTK_CAN_DEFAULT); - - g_signal_connect ((gpointer) cancelbutton1, "clicked", - G_CALLBACK (on_Game_Fix_OK), - NULL); - g_signal_connect ((gpointer) button83, "clicked", - G_CALLBACK (On_Dialog_Cancelled), - NULL); - - /* Store pointers to all widgets, for use by lookup_widget(). */ - GLADE_HOOKUP_OBJECT_NO_REF (GameFixDlg, GameFixDlg, "GameFixDlg"); - GLADE_HOOKUP_OBJECT_NO_REF (GameFixDlg, dialog_vbox1, "dialog_vbox1"); - GLADE_HOOKUP_OBJECT (GameFixDlg, GameSettings, "GameSettings"); - GLADE_HOOKUP_OBJECT (GameFixDlg, alignment5, "alignment5"); - GLADE_HOOKUP_OBJECT (GameFixDlg, vbox30, "vbox30"); - GLADE_HOOKUP_OBJECT (GameFixDlg, check_FPU_Clamp, "check_FPU_Clamp"); - GLADE_HOOKUP_OBJECT (GameFixDlg, check_VU_Branch, "check_VU_Branch"); - GLADE_HOOKUP_OBJECT (GameFixDlg, check_VU_Add_Sub, "check_VU_Add_Sub"); - GLADE_HOOKUP_OBJECT (GameFixDlg, label42, "label42"); - GLADE_HOOKUP_OBJECT_NO_REF (GameFixDlg, dialog_action_area1, "dialog_action_area1"); - GLADE_HOOKUP_OBJECT (GameFixDlg, cancelbutton1, "cancelbutton1"); - GLADE_HOOKUP_OBJECT (GameFixDlg, button83, "button83"); - - return GameFixDlg; -} - -GtkWidget* -create_MemWrite32 (void) -{ - GtkWidget *MemWrite32; - GtkWidget *vbox25; - GtkWidget *hbox18; - GtkWidget *label27; - GtkWidget *label25; - GtkWidget *GtkEntry_Mem; - GtkWidget *hbox19; - GtkWidget *label28; - GtkWidget *label26; - GtkWidget *GtkEntry_Data; - GtkWidget *hbuttonbox22; - GtkWidget *button71; - GtkWidget *button72; - - MemWrite32 = gtk_window_new (GTK_WINDOW_TOPLEVEL); - gtk_container_set_border_width (GTK_CONTAINER (MemWrite32), 5); - gtk_window_set_title (GTK_WINDOW (MemWrite32), _("memWrite32")); - - vbox25 = gtk_vbox_new (FALSE, 5); - gtk_widget_show (vbox25); - gtk_container_add (GTK_CONTAINER (MemWrite32), vbox25); - gtk_container_set_border_width (GTK_CONTAINER (vbox25), 5); - - hbox18 = gtk_hbox_new (FALSE, 2); - gtk_widget_show (hbox18); - gtk_box_pack_start (GTK_BOX (vbox25), hbox18, FALSE, FALSE, 0); - gtk_container_set_border_width (GTK_CONTAINER (hbox18), 5); - - label27 = gtk_label_new (_("Address ")); - gtk_widget_show (label27); - gtk_box_pack_start (GTK_BOX (hbox18), label27, FALSE, FALSE, 0); - gtk_label_set_justify (GTK_LABEL (label27), GTK_JUSTIFY_CENTER); - - label25 = gtk_label_new (_("0x")); - gtk_widget_show (label25); - gtk_box_pack_start (GTK_BOX (hbox18), label25, FALSE, FALSE, 0); - gtk_label_set_justify (GTK_LABEL (label25), GTK_JUSTIFY_CENTER); - - GtkEntry_Mem = gtk_entry_new (); - gtk_widget_show (GtkEntry_Mem); - gtk_box_pack_start (GTK_BOX (hbox18), GtkEntry_Mem, TRUE, TRUE, 0); - gtk_entry_set_invisible_char (GTK_ENTRY (GtkEntry_Mem), 8226); - - hbox19 = gtk_hbox_new (FALSE, 2); - gtk_widget_show (hbox19); - gtk_box_pack_start (GTK_BOX (vbox25), hbox19, TRUE, TRUE, 0); - gtk_container_set_border_width (GTK_CONTAINER (hbox19), 5); - - label28 = gtk_label_new (_("Data ")); - gtk_widget_show (label28); - gtk_box_pack_start (GTK_BOX (hbox19), label28, FALSE, FALSE, 0); - gtk_label_set_justify (GTK_LABEL (label28), GTK_JUSTIFY_CENTER); - - label26 = gtk_label_new (_("0x")); - gtk_widget_show (label26); - gtk_box_pack_start (GTK_BOX (hbox19), label26, FALSE, FALSE, 0); - gtk_label_set_justify (GTK_LABEL (label26), GTK_JUSTIFY_CENTER); - - GtkEntry_Data = gtk_entry_new (); - gtk_widget_show (GtkEntry_Data); - gtk_box_pack_start (GTK_BOX (hbox19), GtkEntry_Data, TRUE, TRUE, 0); - gtk_entry_set_invisible_char (GTK_ENTRY (GtkEntry_Data), 8226); - - hbuttonbox22 = gtk_hbutton_box_new (); - gtk_widget_show (hbuttonbox22); - gtk_box_pack_start (GTK_BOX (vbox25), hbuttonbox22, TRUE, TRUE, 0); - gtk_box_set_spacing (GTK_BOX (hbuttonbox22), 30); - - button71 = gtk_button_new_from_stock ("gtk-ok"); - gtk_widget_show (button71); - gtk_container_add (GTK_CONTAINER (hbuttonbox22), button71); - GTK_WIDGET_SET_FLAGS (button71, GTK_CAN_DEFAULT); - - button72 = gtk_button_new_from_stock ("gtk-cancel"); - gtk_widget_show (button72); - gtk_container_add (GTK_CONTAINER (hbuttonbox22), button72); - GTK_WIDGET_SET_FLAGS (button72, GTK_CAN_DEFAULT); - - g_signal_connect ((gpointer) button71, "clicked", - G_CALLBACK (OnMemWrite32_Ok), - NULL); - g_signal_connect ((gpointer) button72, "clicked", - G_CALLBACK (On_Dialog_Cancelled), - NULL); - - /* Store pointers to all widgets, for use by lookup_widget(). */ - GLADE_HOOKUP_OBJECT_NO_REF (MemWrite32, MemWrite32, "MemWrite32"); - GLADE_HOOKUP_OBJECT (MemWrite32, vbox25, "vbox25"); - GLADE_HOOKUP_OBJECT (MemWrite32, hbox18, "hbox18"); - GLADE_HOOKUP_OBJECT (MemWrite32, label27, "label27"); - GLADE_HOOKUP_OBJECT (MemWrite32, label25, "label25"); - GLADE_HOOKUP_OBJECT (MemWrite32, GtkEntry_Mem, "GtkEntry_Mem"); - GLADE_HOOKUP_OBJECT (MemWrite32, hbox19, "hbox19"); - GLADE_HOOKUP_OBJECT (MemWrite32, label28, "label28"); - GLADE_HOOKUP_OBJECT (MemWrite32, label26, "label26"); - GLADE_HOOKUP_OBJECT (MemWrite32, GtkEntry_Data, "GtkEntry_Data"); - GLADE_HOOKUP_OBJECT (MemWrite32, hbuttonbox22, "hbuttonbox22"); - GLADE_HOOKUP_OBJECT (MemWrite32, button71, "button71"); - GLADE_HOOKUP_OBJECT (MemWrite32, button72, "button72"); - - return MemWrite32; -} - -GtkWidget* -create_CmdLine (void) -{ - GtkWidget *CmdLine; - GtkWidget *vbox24; - GtkWidget *GtkLabel_Text; - GtkWidget *hbox17; - GtkWidget *GtkEntry_dCMDLINE; - GtkWidget *GtkLabel_Note; - GtkWidget *hbuttonbox20; - GtkWidget *GtkButton_Ok3; - GtkWidget *GtkButton_Cancel2; - GtkTooltips *tooltips; - - tooltips = gtk_tooltips_new (); - - CmdLine = gtk_window_new (GTK_WINDOW_TOPLEVEL); - gtk_container_set_border_width (GTK_CONTAINER (CmdLine), 5); - gtk_window_set_title (GTK_WINDOW (CmdLine), _("Program arguments")); - gtk_window_set_modal (GTK_WINDOW (CmdLine), TRUE); - - vbox24 = gtk_vbox_new (FALSE, 5); - gtk_widget_show (vbox24); - gtk_container_add (GTK_CONTAINER (CmdLine), vbox24); - gtk_container_set_border_width (GTK_CONTAINER (vbox24), 5); - - GtkLabel_Text = gtk_label_new (_("Fill in the command line arguments for the opened program:")); - gtk_widget_show (GtkLabel_Text); - gtk_box_pack_start (GTK_BOX (vbox24), GtkLabel_Text, FALSE, FALSE, 0); - gtk_label_set_justify (GTK_LABEL (GtkLabel_Text), GTK_JUSTIFY_CENTER); - gtk_misc_set_alignment (GTK_MISC (GtkLabel_Text), 0.1, 0.5); - - hbox17 = gtk_hbox_new (FALSE, 2); - gtk_widget_show (hbox17); - gtk_box_pack_start (GTK_BOX (vbox24), hbox17, FALSE, FALSE, 0); - gtk_container_set_border_width (GTK_CONTAINER (hbox17), 5); - - GtkEntry_dCMDLINE = gtk_entry_new (); - gtk_widget_show (GtkEntry_dCMDLINE); - gtk_box_pack_start (GTK_BOX (hbox17), GtkEntry_dCMDLINE, TRUE, TRUE, 0); - gtk_tooltips_set_tip (tooltips, GtkEntry_dCMDLINE, _("If you don't know what to write leave it blank"), NULL); - gtk_entry_set_invisible_char (GTK_ENTRY (GtkEntry_dCMDLINE), 8226); - - GtkLabel_Note = gtk_label_new (_("Note: this is intended for developers only.")); - gtk_widget_show (GtkLabel_Note); - gtk_box_pack_start (GTK_BOX (vbox24), GtkLabel_Note, FALSE, FALSE, 0); - gtk_label_set_justify (GTK_LABEL (GtkLabel_Note), GTK_JUSTIFY_CENTER); - - hbuttonbox20 = gtk_hbutton_box_new (); - gtk_widget_show (hbuttonbox20); - gtk_box_pack_start (GTK_BOX (vbox24), hbuttonbox20, TRUE, TRUE, 0); - gtk_box_set_spacing (GTK_BOX (hbuttonbox20), 30); - - GtkButton_Ok3 = gtk_button_new_from_stock ("gtk-ok"); - gtk_widget_show (GtkButton_Ok3); - gtk_container_add (GTK_CONTAINER (hbuttonbox20), GtkButton_Ok3); - GTK_WIDGET_SET_FLAGS (GtkButton_Ok3, GTK_CAN_DEFAULT); - - GtkButton_Cancel2 = gtk_button_new_from_stock ("gtk-cancel"); - gtk_widget_show (GtkButton_Cancel2); - gtk_container_add (GTK_CONTAINER (hbuttonbox20), GtkButton_Cancel2); - GTK_WIDGET_SET_FLAGS (GtkButton_Cancel2, GTK_CAN_DEFAULT); - - g_signal_connect ((gpointer) GtkButton_Ok3, "clicked", - G_CALLBACK (OnArguments_Ok), - NULL); - g_signal_connect ((gpointer) GtkButton_Cancel2, "clicked", - G_CALLBACK (On_Dialog_Cancelled), - NULL); - - /* Store pointers to all widgets, for use by lookup_widget(). */ - GLADE_HOOKUP_OBJECT_NO_REF (CmdLine, CmdLine, "CmdLine"); - GLADE_HOOKUP_OBJECT (CmdLine, vbox24, "vbox24"); - GLADE_HOOKUP_OBJECT (CmdLine, GtkLabel_Text, "GtkLabel_Text"); - GLADE_HOOKUP_OBJECT (CmdLine, hbox17, "hbox17"); - GLADE_HOOKUP_OBJECT (CmdLine, GtkEntry_dCMDLINE, "GtkEntry_dCMDLINE"); - GLADE_HOOKUP_OBJECT (CmdLine, GtkLabel_Note, "GtkLabel_Note"); - GLADE_HOOKUP_OBJECT (CmdLine, hbuttonbox20, "hbuttonbox20"); - GLADE_HOOKUP_OBJECT (CmdLine, GtkButton_Ok3, "GtkButton_Ok3"); - GLADE_HOOKUP_OBJECT (CmdLine, GtkButton_Cancel2, "GtkButton_Cancel2"); - GLADE_HOOKUP_OBJECT_NO_REF (CmdLine, tooltips, "tooltips"); - - return CmdLine; -} - -GtkWidget* -create_DumpRDlg (void) -{ - GtkWidget *DumpRDlg; - GtkWidget *vbox21; - GtkWidget *label18; - GtkWidget *hbox13; - GtkWidget *label19; - GtkWidget *GtkEntry_DumpRF; - GtkWidget *hbox14; - GtkWidget *label20; - GtkWidget *GtkEntry_DumpRT; - GtkWidget *label22; - GtkWidget *hbuttonbox18; - GtkWidget *button50; - GtkWidget *button51; - - DumpRDlg = gtk_window_new (GTK_WINDOW_TOPLEVEL); - gtk_container_set_border_width (GTK_CONTAINER (DumpRDlg), 5); - gtk_window_set_title (GTK_WINDOW (DumpRDlg), _("Raw Dump")); - - vbox21 = gtk_vbox_new (FALSE, 5); - gtk_widget_show (vbox21); - gtk_container_add (GTK_CONTAINER (DumpRDlg), vbox21); - gtk_container_set_border_width (GTK_CONTAINER (vbox21), 5); - - label18 = gtk_label_new (_("Set Dump Addr (in Hex):")); - gtk_widget_show (label18); - gtk_box_pack_start (GTK_BOX (vbox21), label18, FALSE, FALSE, 0); - gtk_label_set_justify (GTK_LABEL (label18), GTK_JUSTIFY_CENTER); - gtk_misc_set_alignment (GTK_MISC (label18), 0.1, 0.5); - - hbox13 = gtk_hbox_new (FALSE, 2); - gtk_widget_show (hbox13); - gtk_box_pack_start (GTK_BOX (vbox21), hbox13, FALSE, FALSE, 0); - gtk_container_set_border_width (GTK_CONTAINER (hbox13), 5); - - label19 = gtk_label_new (_("From 0x")); - gtk_widget_show (label19); - gtk_box_pack_start (GTK_BOX (hbox13), label19, FALSE, FALSE, 0); - gtk_label_set_justify (GTK_LABEL (label19), GTK_JUSTIFY_CENTER); - gtk_label_set_line_wrap (GTK_LABEL (label19), TRUE); - - GtkEntry_DumpRF = gtk_entry_new (); - gtk_widget_show (GtkEntry_DumpRF); - gtk_box_pack_start (GTK_BOX (hbox13), GtkEntry_DumpRF, TRUE, TRUE, 0); - gtk_entry_set_invisible_char (GTK_ENTRY (GtkEntry_DumpRF), 8226); - - hbox14 = gtk_hbox_new (FALSE, 2); - gtk_widget_show (hbox14); - gtk_box_pack_start (GTK_BOX (vbox21), hbox14, TRUE, TRUE, 0); - gtk_container_set_border_width (GTK_CONTAINER (hbox14), 5); - - label20 = gtk_label_new (_("To 0x")); - gtk_widget_show (label20); - gtk_box_pack_start (GTK_BOX (hbox14), label20, FALSE, FALSE, 0); - - GtkEntry_DumpRT = gtk_entry_new (); - gtk_widget_show (GtkEntry_DumpRT); - gtk_box_pack_start (GTK_BOX (hbox14), GtkEntry_DumpRT, TRUE, TRUE, 0); - gtk_entry_set_invisible_char (GTK_ENTRY (GtkEntry_DumpRT), 8226); - - label22 = gtk_label_new (_("Dump File = \"dump.txt\"")); - gtk_widget_show (label22); - gtk_box_pack_start (GTK_BOX (vbox21), label22, FALSE, FALSE, 0); - gtk_misc_set_alignment (GTK_MISC (label22), 0.1, 0.5); - - hbuttonbox18 = gtk_hbutton_box_new (); - gtk_widget_show (hbuttonbox18); - gtk_box_pack_start (GTK_BOX (vbox21), hbuttonbox18, TRUE, TRUE, 0); - gtk_box_set_spacing (GTK_BOX (hbuttonbox18), 30); - - button50 = gtk_button_new_from_stock ("gtk-ok"); - gtk_widget_show (button50); - gtk_container_add (GTK_CONTAINER (hbuttonbox18), button50); - GTK_WIDGET_SET_FLAGS (button50, GTK_CAN_DEFAULT); - - button51 = gtk_button_new_from_stock ("gtk-cancel"); - gtk_widget_show (button51); - gtk_container_add (GTK_CONTAINER (hbuttonbox18), button51); - GTK_WIDGET_SET_FLAGS (button51, GTK_CAN_DEFAULT); - - g_signal_connect ((gpointer) button50, "clicked", - G_CALLBACK (OnDumpR_Ok), - NULL); - g_signal_connect ((gpointer) button51, "clicked", - G_CALLBACK (On_Dialog_Cancelled), - NULL); - - /* Store pointers to all widgets, for use by lookup_widget(). */ - GLADE_HOOKUP_OBJECT_NO_REF (DumpRDlg, DumpRDlg, "DumpRDlg"); - GLADE_HOOKUP_OBJECT (DumpRDlg, vbox21, "vbox21"); - GLADE_HOOKUP_OBJECT (DumpRDlg, label18, "label18"); - GLADE_HOOKUP_OBJECT (DumpRDlg, hbox13, "hbox13"); - GLADE_HOOKUP_OBJECT (DumpRDlg, label19, "label19"); - GLADE_HOOKUP_OBJECT (DumpRDlg, GtkEntry_DumpRF, "GtkEntry_DumpRF"); - GLADE_HOOKUP_OBJECT (DumpRDlg, hbox14, "hbox14"); - GLADE_HOOKUP_OBJECT (DumpRDlg, label20, "label20"); - GLADE_HOOKUP_OBJECT (DumpRDlg, GtkEntry_DumpRT, "GtkEntry_DumpRT"); - GLADE_HOOKUP_OBJECT (DumpRDlg, label22, "label22"); - GLADE_HOOKUP_OBJECT (DumpRDlg, hbuttonbox18, "hbuttonbox18"); - GLADE_HOOKUP_OBJECT (DumpRDlg, button50, "button50"); - GLADE_HOOKUP_OBJECT (DumpRDlg, button51, "button51"); - - return DumpRDlg; -} - -GtkWidget* -create_DumpCDlg (void) -{ - GtkWidget *DumpCDlg; - GtkWidget *vbox20; - GtkWidget *label15; - GtkWidget *hbox11; - GtkWidget *label16; - GtkWidget *GtkEntry_DumpCF; - GtkWidget *hbox12; - GtkWidget *label17; - GtkWidget *GtkEntry_DumpCT; - GtkWidget *label21; - GtkWidget *hbuttonbox17; - GtkWidget *button48; - GtkWidget *button49; - - DumpCDlg = gtk_window_new (GTK_WINDOW_TOPLEVEL); - gtk_container_set_border_width (GTK_CONTAINER (DumpCDlg), 5); - gtk_window_set_title (GTK_WINDOW (DumpCDlg), _("Dump code")); - - vbox20 = gtk_vbox_new (FALSE, 5); - gtk_widget_show (vbox20); - gtk_container_add (GTK_CONTAINER (DumpCDlg), vbox20); - gtk_container_set_border_width (GTK_CONTAINER (vbox20), 5); - - label15 = gtk_label_new (_("Set Dump Addr (in Hex):")); - gtk_widget_show (label15); - gtk_box_pack_start (GTK_BOX (vbox20), label15, FALSE, FALSE, 0); - gtk_misc_set_alignment (GTK_MISC (label15), 0.1, 0.5); - - hbox11 = gtk_hbox_new (FALSE, 2); - gtk_widget_show (hbox11); - gtk_box_pack_start (GTK_BOX (vbox20), hbox11, FALSE, FALSE, 0); - gtk_container_set_border_width (GTK_CONTAINER (hbox11), 5); - - label16 = gtk_label_new (_("From 0x")); - gtk_widget_show (label16); - gtk_box_pack_start (GTK_BOX (hbox11), label16, FALSE, FALSE, 0); - gtk_label_set_justify (GTK_LABEL (label16), GTK_JUSTIFY_CENTER); - gtk_label_set_line_wrap (GTK_LABEL (label16), TRUE); - - GtkEntry_DumpCF = gtk_entry_new (); - gtk_widget_show (GtkEntry_DumpCF); - gtk_box_pack_start (GTK_BOX (hbox11), GtkEntry_DumpCF, TRUE, TRUE, 0); - gtk_entry_set_invisible_char (GTK_ENTRY (GtkEntry_DumpCF), 8226); - - hbox12 = gtk_hbox_new (FALSE, 2); - gtk_widget_show (hbox12); - gtk_box_pack_start (GTK_BOX (vbox20), hbox12, TRUE, TRUE, 0); - gtk_container_set_border_width (GTK_CONTAINER (hbox12), 5); - - label17 = gtk_label_new (_("To 0x")); - gtk_widget_show (label17); - gtk_box_pack_start (GTK_BOX (hbox12), label17, FALSE, FALSE, 0); - gtk_label_set_justify (GTK_LABEL (label17), GTK_JUSTIFY_CENTER); - - GtkEntry_DumpCT = gtk_entry_new (); - gtk_widget_show (GtkEntry_DumpCT); - gtk_box_pack_start (GTK_BOX (hbox12), GtkEntry_DumpCT, TRUE, TRUE, 0); - gtk_entry_set_invisible_char (GTK_ENTRY (GtkEntry_DumpCT), 8226); - - label21 = gtk_label_new (_("Dump File = \"dump.txt\"")); - gtk_widget_show (label21); - gtk_box_pack_start (GTK_BOX (vbox20), label21, FALSE, FALSE, 0); - gtk_misc_set_alignment (GTK_MISC (label21), 0.1, 0.5); - - hbuttonbox17 = gtk_hbutton_box_new (); - gtk_widget_show (hbuttonbox17); - gtk_box_pack_start (GTK_BOX (vbox20), hbuttonbox17, TRUE, TRUE, 0); - gtk_box_set_spacing (GTK_BOX (hbuttonbox17), 30); - - button48 = gtk_button_new_from_stock ("gtk-ok"); - gtk_widget_show (button48); - gtk_container_add (GTK_CONTAINER (hbuttonbox17), button48); - GTK_WIDGET_SET_FLAGS (button48, GTK_CAN_DEFAULT); - - button49 = gtk_button_new_from_stock ("gtk-cancel"); - gtk_widget_show (button49); - gtk_container_add (GTK_CONTAINER (hbuttonbox17), button49); - GTK_WIDGET_SET_FLAGS (button49, GTK_CAN_DEFAULT); - - g_signal_connect ((gpointer) button48, "clicked", - G_CALLBACK (OnDumpC_Ok), - NULL); - g_signal_connect ((gpointer) button49, "clicked", - G_CALLBACK (On_Dialog_Cancelled), - NULL); - - /* Store pointers to all widgets, for use by lookup_widget(). */ - GLADE_HOOKUP_OBJECT_NO_REF (DumpCDlg, DumpCDlg, "DumpCDlg"); - GLADE_HOOKUP_OBJECT (DumpCDlg, vbox20, "vbox20"); - GLADE_HOOKUP_OBJECT (DumpCDlg, label15, "label15"); - GLADE_HOOKUP_OBJECT (DumpCDlg, hbox11, "hbox11"); - GLADE_HOOKUP_OBJECT (DumpCDlg, label16, "label16"); - GLADE_HOOKUP_OBJECT (DumpCDlg, GtkEntry_DumpCF, "GtkEntry_DumpCF"); - GLADE_HOOKUP_OBJECT (DumpCDlg, hbox12, "hbox12"); - GLADE_HOOKUP_OBJECT (DumpCDlg, label17, "label17"); - GLADE_HOOKUP_OBJECT (DumpCDlg, GtkEntry_DumpCT, "GtkEntry_DumpCT"); - GLADE_HOOKUP_OBJECT (DumpCDlg, label21, "label21"); - GLADE_HOOKUP_OBJECT (DumpCDlg, hbuttonbox17, "hbuttonbox17"); - GLADE_HOOKUP_OBJECT (DumpCDlg, button48, "button48"); - GLADE_HOOKUP_OBJECT (DumpCDlg, button49, "button49"); - - return DumpCDlg; -} - -GtkWidget* -create_SetBPCDlg (void) -{ - GtkWidget *SetBPCDlg; - GtkWidget *vbox19; - GtkWidget *label13; - GtkWidget *hbox10; - GtkWidget *label14; - GtkWidget *GtkEntry_BPC; - GtkWidget *hbuttonbox16; - GtkWidget *button46; - GtkWidget *button47; - - SetBPCDlg = gtk_window_new (GTK_WINDOW_TOPLEVEL); - gtk_container_set_border_width (GTK_CONTAINER (SetBPCDlg), 5); - gtk_window_set_title (GTK_WINDOW (SetBPCDlg), _("SetBreakPoint Addr")); - - vbox19 = gtk_vbox_new (FALSE, 5); - gtk_widget_show (vbox19); - gtk_container_add (GTK_CONTAINER (SetBPCDlg), vbox19); - gtk_container_set_border_width (GTK_CONTAINER (vbox19), 5); - - label13 = gtk_label_new (_("Set New BP Count (in Hex):")); - gtk_widget_show (label13); - gtk_box_pack_start (GTK_BOX (vbox19), label13, FALSE, FALSE, 0); - gtk_label_set_justify (GTK_LABEL (label13), GTK_JUSTIFY_CENTER); - gtk_misc_set_alignment (GTK_MISC (label13), 0.1, 0.5); - - hbox10 = gtk_hbox_new (FALSE, 2); - gtk_widget_show (hbox10); - gtk_box_pack_start (GTK_BOX (vbox19), hbox10, FALSE, FALSE, 0); - gtk_container_set_border_width (GTK_CONTAINER (hbox10), 5); - - label14 = gtk_label_new (_("0x")); - gtk_widget_show (label14); - gtk_box_pack_start (GTK_BOX (hbox10), label14, FALSE, FALSE, 0); - gtk_label_set_justify (GTK_LABEL (label14), GTK_JUSTIFY_CENTER); - - GtkEntry_BPC = gtk_entry_new (); - gtk_widget_show (GtkEntry_BPC); - gtk_box_pack_start (GTK_BOX (hbox10), GtkEntry_BPC, TRUE, TRUE, 0); - gtk_entry_set_invisible_char (GTK_ENTRY (GtkEntry_BPC), 8226); - - hbuttonbox16 = gtk_hbutton_box_new (); - gtk_widget_show (hbuttonbox16); - gtk_box_pack_start (GTK_BOX (vbox19), hbuttonbox16, TRUE, TRUE, 0); - gtk_box_set_spacing (GTK_BOX (hbuttonbox16), 30); - - button46 = gtk_button_new_from_stock ("gtk-ok"); - gtk_widget_show (button46); - gtk_container_add (GTK_CONTAINER (hbuttonbox16), button46); - GTK_WIDGET_SET_FLAGS (button46, GTK_CAN_DEFAULT); - - button47 = gtk_button_new_from_stock ("gtk-cancel"); - gtk_widget_show (button47); - gtk_container_add (GTK_CONTAINER (hbuttonbox16), button47); - GTK_WIDGET_SET_FLAGS (button47, GTK_CAN_DEFAULT); - - g_signal_connect ((gpointer) button46, "clicked", - G_CALLBACK (OnSetBPC_Ok), - NULL); - g_signal_connect ((gpointer) button47, "clicked", - G_CALLBACK (On_Dialog_Cancelled), - NULL); - - /* Store pointers to all widgets, for use by lookup_widget(). */ - GLADE_HOOKUP_OBJECT_NO_REF (SetBPCDlg, SetBPCDlg, "SetBPCDlg"); - GLADE_HOOKUP_OBJECT (SetBPCDlg, vbox19, "vbox19"); - GLADE_HOOKUP_OBJECT (SetBPCDlg, label13, "label13"); - GLADE_HOOKUP_OBJECT (SetBPCDlg, hbox10, "hbox10"); - GLADE_HOOKUP_OBJECT (SetBPCDlg, label14, "label14"); - GLADE_HOOKUP_OBJECT (SetBPCDlg, GtkEntry_BPC, "GtkEntry_BPC"); - GLADE_HOOKUP_OBJECT (SetBPCDlg, hbuttonbox16, "hbuttonbox16"); - GLADE_HOOKUP_OBJECT (SetBPCDlg, button46, "button46"); - GLADE_HOOKUP_OBJECT (SetBPCDlg, button47, "button47"); - - return SetBPCDlg; -} - -GtkWidget* -create_SetBPADlg (void) -{ - GtkWidget *SetBPADlg; - GtkWidget *vbox18; - GtkWidget *label11; - GtkWidget *hbox9; - GtkWidget *label12; - GtkWidget *GtkEntry_BPA; - GtkWidget *hbuttonbox15; - GtkWidget *button44; - GtkWidget *button45; - - SetBPADlg = gtk_window_new (GTK_WINDOW_TOPLEVEL); - gtk_container_set_border_width (GTK_CONTAINER (SetBPADlg), 5); - gtk_window_set_title (GTK_WINDOW (SetBPADlg), _("SetBreakPoint Addr")); - - vbox18 = gtk_vbox_new (FALSE, 5); - gtk_widget_show (vbox18); - gtk_container_add (GTK_CONTAINER (SetBPADlg), vbox18); - gtk_container_set_border_width (GTK_CONTAINER (vbox18), 5); - - label11 = gtk_label_new (_("Set New BP Address (in Hex):")); - gtk_widget_show (label11); - gtk_box_pack_start (GTK_BOX (vbox18), label11, FALSE, FALSE, 0); - gtk_label_set_justify (GTK_LABEL (label11), GTK_JUSTIFY_CENTER); - gtk_misc_set_alignment (GTK_MISC (label11), 0.1, 0.5); - - hbox9 = gtk_hbox_new (FALSE, 2); - gtk_widget_show (hbox9); - gtk_box_pack_start (GTK_BOX (vbox18), hbox9, FALSE, FALSE, 0); - gtk_container_set_border_width (GTK_CONTAINER (hbox9), 5); - - label12 = gtk_label_new (_("0x")); - gtk_widget_show (label12); - gtk_box_pack_start (GTK_BOX (hbox9), label12, FALSE, FALSE, 0); - gtk_label_set_justify (GTK_LABEL (label12), GTK_JUSTIFY_CENTER); - - GtkEntry_BPA = gtk_entry_new (); - gtk_widget_show (GtkEntry_BPA); - gtk_box_pack_start (GTK_BOX (hbox9), GtkEntry_BPA, TRUE, TRUE, 0); - gtk_entry_set_invisible_char (GTK_ENTRY (GtkEntry_BPA), 8226); - - hbuttonbox15 = gtk_hbutton_box_new (); - gtk_widget_show (hbuttonbox15); - gtk_box_pack_start (GTK_BOX (vbox18), hbuttonbox15, TRUE, TRUE, 0); - gtk_box_set_spacing (GTK_BOX (hbuttonbox15), 30); - - button44 = gtk_button_new_from_stock ("gtk-ok"); - gtk_widget_show (button44); - gtk_container_add (GTK_CONTAINER (hbuttonbox15), button44); - GTK_WIDGET_SET_FLAGS (button44, GTK_CAN_DEFAULT); - - button45 = gtk_button_new_from_stock ("gtk-cancel"); - gtk_widget_show (button45); - gtk_container_add (GTK_CONTAINER (hbuttonbox15), button45); - GTK_WIDGET_SET_FLAGS (button45, GTK_CAN_DEFAULT); - - g_signal_connect ((gpointer) button44, "clicked", - G_CALLBACK (OnSetBPA_Ok), - NULL); - g_signal_connect ((gpointer) button45, "clicked", - G_CALLBACK (OnSetBPA_Cancel), - NULL); - - /* Store pointers to all widgets, for use by lookup_widget(). */ - GLADE_HOOKUP_OBJECT_NO_REF (SetBPADlg, SetBPADlg, "SetBPADlg"); - GLADE_HOOKUP_OBJECT (SetBPADlg, vbox18, "vbox18"); - GLADE_HOOKUP_OBJECT (SetBPADlg, label11, "label11"); - GLADE_HOOKUP_OBJECT (SetBPADlg, hbox9, "hbox9"); - GLADE_HOOKUP_OBJECT (SetBPADlg, label12, "label12"); - GLADE_HOOKUP_OBJECT (SetBPADlg, GtkEntry_BPA, "GtkEntry_BPA"); - GLADE_HOOKUP_OBJECT (SetBPADlg, hbuttonbox15, "hbuttonbox15"); - GLADE_HOOKUP_OBJECT (SetBPADlg, button44, "button44"); - GLADE_HOOKUP_OBJECT (SetBPADlg, button45, "button45"); - - return SetBPADlg; -} - -GtkWidget* -create_SetPCDlg (void) -{ - GtkWidget *SetPCDlg; - GtkWidget *vbox17; - GtkWidget *label9; - GtkWidget *hbox8; - GtkWidget *label10; - GtkWidget *GtkEntry_dPC; - GtkWidget *hbuttonbox14; - GtkWidget *button42; - GtkWidget *button43; - - SetPCDlg = gtk_window_new (GTK_WINDOW_TOPLEVEL); - gtk_container_set_border_width (GTK_CONTAINER (SetPCDlg), 5); - gtk_window_set_title (GTK_WINDOW (SetPCDlg), _("SetPCDlg")); - - vbox17 = gtk_vbox_new (FALSE, 5); - gtk_widget_show (vbox17); - gtk_container_add (GTK_CONTAINER (SetPCDlg), vbox17); - gtk_container_set_border_width (GTK_CONTAINER (vbox17), 5); - - label9 = gtk_label_new (_("Set New PC Address (in Hex):")); - gtk_widget_show (label9); - gtk_box_pack_start (GTK_BOX (vbox17), label9, FALSE, FALSE, 0); - gtk_label_set_justify (GTK_LABEL (label9), GTK_JUSTIFY_CENTER); - gtk_misc_set_alignment (GTK_MISC (label9), 0.1, 0.5); - - hbox8 = gtk_hbox_new (FALSE, 2); - gtk_widget_show (hbox8); - gtk_box_pack_start (GTK_BOX (vbox17), hbox8, FALSE, FALSE, 0); - gtk_container_set_border_width (GTK_CONTAINER (hbox8), 5); - - label10 = gtk_label_new (_("0x")); - gtk_widget_show (label10); - gtk_box_pack_start (GTK_BOX (hbox8), label10, FALSE, FALSE, 0); - gtk_label_set_justify (GTK_LABEL (label10), GTK_JUSTIFY_CENTER); - - GtkEntry_dPC = gtk_entry_new (); - gtk_widget_show (GtkEntry_dPC); - gtk_box_pack_start (GTK_BOX (hbox8), GtkEntry_dPC, TRUE, TRUE, 0); - gtk_entry_set_invisible_char (GTK_ENTRY (GtkEntry_dPC), 8226); - - hbuttonbox14 = gtk_hbutton_box_new (); - gtk_widget_show (hbuttonbox14); - gtk_box_pack_start (GTK_BOX (vbox17), hbuttonbox14, TRUE, TRUE, 0); - gtk_box_set_spacing (GTK_BOX (hbuttonbox14), 30); - - button42 = gtk_button_new_from_stock ("gtk-ok"); - gtk_widget_show (button42); - gtk_container_add (GTK_CONTAINER (hbuttonbox14), button42); - GTK_WIDGET_SET_FLAGS (button42, GTK_CAN_DEFAULT); - - button43 = gtk_button_new_from_stock ("gtk-cancel"); - gtk_widget_show (button43); - gtk_container_add (GTK_CONTAINER (hbuttonbox14), button43); - GTK_WIDGET_SET_FLAGS (button43, GTK_CAN_DEFAULT); - - g_signal_connect ((gpointer) button42, "clicked", - G_CALLBACK (OnSetPC_Ok), - NULL); - g_signal_connect ((gpointer) button43, "clicked", - G_CALLBACK (On_Dialog_Cancelled), - NULL); - - /* Store pointers to all widgets, for use by lookup_widget(). */ - GLADE_HOOKUP_OBJECT_NO_REF (SetPCDlg, SetPCDlg, "SetPCDlg"); - GLADE_HOOKUP_OBJECT (SetPCDlg, vbox17, "vbox17"); - GLADE_HOOKUP_OBJECT (SetPCDlg, label9, "label9"); - GLADE_HOOKUP_OBJECT (SetPCDlg, hbox8, "hbox8"); - GLADE_HOOKUP_OBJECT (SetPCDlg, label10, "label10"); - GLADE_HOOKUP_OBJECT (SetPCDlg, GtkEntry_dPC, "GtkEntry_dPC"); - GLADE_HOOKUP_OBJECT (SetPCDlg, hbuttonbox14, "hbuttonbox14"); - GLADE_HOOKUP_OBJECT (SetPCDlg, button42, "button42"); - GLADE_HOOKUP_OBJECT (SetPCDlg, button43, "button43"); - - return SetPCDlg; -} - -GtkWidget* -create_DebugWnd (void) -{ - GtkWidget *DebugWnd; - GtkWidget *vbox16; - GtkWidget *hbox16; - GtkWidget *GtkRadioButton_EE; - GSList *GtkRadioButton_EE_group = NULL; - GtkWidget *GtkRadioButton_IOP; - GtkWidget *hbox6; - GtkWidget *hbox7; - GtkWidget *scrolledwindow1; - GtkWidget *viewport1; - GtkWidget *GtkList_DisView; - GtkWidget *GtkVScrollbar_VList; - GtkWidget *vbox22; - GtkWidget *vbuttonbox2; - GtkWidget *button52; - GtkWidget *button53; - GtkWidget *button65; - GtkWidget *button64; - GtkWidget *vbuttonbox3; - GtkWidget *button58; - GtkWidget *button59; - GtkWidget *button60; - GtkWidget *button61; - GtkWidget *vbuttonbox1; - GtkWidget *button39; - GtkWidget *button40; - GtkWidget *button41; - GtkWidget *vbuttonbox4; - GtkWidget *button68; - - DebugWnd = gtk_window_new (GTK_WINDOW_TOPLEVEL); - gtk_container_set_border_width (GTK_CONTAINER (DebugWnd), 5); - gtk_window_set_title (GTK_WINDOW (DebugWnd), _("PCSX2 Debugger")); - - vbox16 = gtk_vbox_new (FALSE, 0); - gtk_widget_show (vbox16); - gtk_container_add (GTK_CONTAINER (DebugWnd), vbox16); - gtk_container_set_border_width (GTK_CONTAINER (vbox16), 5); - - hbox16 = gtk_hbox_new (FALSE, 5); - gtk_widget_show (hbox16); - gtk_box_pack_start (GTK_BOX (vbox16), hbox16, FALSE, TRUE, 0); - - GtkRadioButton_EE = gtk_radio_button_new_with_mnemonic (NULL, _("EE Debug Mode")); - gtk_widget_show (GtkRadioButton_EE); - gtk_box_pack_start (GTK_BOX (hbox16), GtkRadioButton_EE, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (GtkRadioButton_EE), GtkRadioButton_EE_group); - GtkRadioButton_EE_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (GtkRadioButton_EE)); - - GtkRadioButton_IOP = gtk_radio_button_new_with_mnemonic (NULL, _("IOP Debug Mode")); - gtk_widget_show (GtkRadioButton_IOP); - gtk_box_pack_start (GTK_BOX (hbox16), GtkRadioButton_IOP, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (GtkRadioButton_IOP), GtkRadioButton_EE_group); - GtkRadioButton_EE_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (GtkRadioButton_IOP)); - - hbox6 = gtk_hbox_new (FALSE, 0); - gtk_widget_show (hbox6); - gtk_box_pack_start (GTK_BOX (vbox16), hbox6, TRUE, TRUE, 0); - gtk_container_set_border_width (GTK_CONTAINER (hbox6), 5); - - hbox7 = gtk_hbox_new (FALSE, 0); - gtk_widget_show (hbox7); - gtk_box_pack_start (GTK_BOX (hbox6), hbox7, TRUE, TRUE, 0); - - scrolledwindow1 = gtk_scrolled_window_new (NULL, NULL); - gtk_widget_show (scrolledwindow1); - gtk_box_pack_start (GTK_BOX (hbox7), scrolledwindow1, TRUE, TRUE, 0); - GTK_WIDGET_UNSET_FLAGS (scrolledwindow1, GTK_CAN_FOCUS); - gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow1), GTK_POLICY_ALWAYS, GTK_POLICY_NEVER); - - viewport1 = gtk_viewport_new (NULL, NULL); - gtk_widget_show (viewport1); - gtk_container_add (GTK_CONTAINER (scrolledwindow1), viewport1); - - GtkList_DisView = gtk_tree_view_new (); - gtk_widget_show (GtkList_DisView); - gtk_container_add (GTK_CONTAINER (viewport1), GtkList_DisView); - GTK_WIDGET_UNSET_FLAGS (GtkList_DisView, GTK_CAN_FOCUS); - gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (GtkList_DisView), FALSE); - - GtkVScrollbar_VList = gtk_vscrollbar_new (GTK_ADJUSTMENT (gtk_adjustment_new (0, 0, 412, 1, 20, 2))); - gtk_widget_show (GtkVScrollbar_VList); - gtk_box_pack_start (GTK_BOX (hbox7), GtkVScrollbar_VList, FALSE, TRUE, 0); - - vbox22 = gtk_vbox_new (FALSE, 0); - gtk_widget_show (vbox22); - gtk_box_pack_start (GTK_BOX (hbox6), vbox22, FALSE, TRUE, 0); - - vbuttonbox2 = gtk_vbutton_box_new (); - gtk_widget_show (vbuttonbox2); - gtk_box_pack_start (GTK_BOX (vbox22), vbuttonbox2, FALSE, TRUE, 0); - - button52 = gtk_button_new_with_mnemonic (_("Step")); - gtk_widget_show (button52); - gtk_container_add (GTK_CONTAINER (vbuttonbox2), button52); - GTK_WIDGET_SET_FLAGS (button52, GTK_CAN_DEFAULT); - - button53 = gtk_button_new_with_mnemonic (_("Skip")); - gtk_widget_show (button53); - gtk_container_add (GTK_CONTAINER (vbuttonbox2), button53); - GTK_WIDGET_SET_FLAGS (button53, GTK_CAN_DEFAULT); - - button65 = gtk_button_new_with_mnemonic (_("Go")); - gtk_widget_show (button65); - gtk_container_add (GTK_CONTAINER (vbuttonbox2), button65); - GTK_WIDGET_SET_FLAGS (button65, GTK_CAN_DEFAULT); - - button64 = gtk_button_new_with_mnemonic (_("Log On/Off")); - gtk_widget_show (button64); - gtk_container_add (GTK_CONTAINER (vbuttonbox2), button64); - GTK_WIDGET_SET_FLAGS (button64, GTK_CAN_DEFAULT); - - vbuttonbox3 = gtk_vbutton_box_new (); - gtk_widget_show (vbuttonbox3); - gtk_box_pack_start (GTK_BOX (vbox22), vbuttonbox3, FALSE, TRUE, 0); - - button58 = gtk_button_new_with_mnemonic (_("Set PC")); - gtk_widget_show (button58); - gtk_container_add (GTK_CONTAINER (vbuttonbox3), button58); - GTK_WIDGET_SET_FLAGS (button58, GTK_CAN_DEFAULT); - - button59 = gtk_button_new_with_mnemonic (_("Set BP Addr")); - gtk_widget_show (button59); - gtk_container_add (GTK_CONTAINER (vbuttonbox3), button59); - GTK_WIDGET_SET_FLAGS (button59, GTK_CAN_DEFAULT); - - button60 = gtk_button_new_with_mnemonic (_("Set BP Count")); - gtk_widget_show (button60); - gtk_container_add (GTK_CONTAINER (vbuttonbox3), button60); - GTK_WIDGET_SET_FLAGS (button60, GTK_CAN_DEFAULT); - - button61 = gtk_button_new_with_mnemonic (_("Clear BPs")); - gtk_widget_show (button61); - gtk_container_add (GTK_CONTAINER (vbuttonbox3), button61); - GTK_WIDGET_SET_FLAGS (button61, GTK_CAN_DEFAULT); - - vbuttonbox1 = gtk_vbutton_box_new (); - gtk_widget_show (vbuttonbox1); - gtk_box_pack_start (GTK_BOX (vbox22), vbuttonbox1, FALSE, TRUE, 0); - - button39 = gtk_button_new_with_mnemonic (_("Dump code")); - gtk_widget_show (button39); - gtk_container_add (GTK_CONTAINER (vbuttonbox1), button39); - GTK_WIDGET_SET_FLAGS (button39, GTK_CAN_DEFAULT); - - button40 = gtk_button_new_with_mnemonic (_("Raw Dump")); - gtk_widget_show (button40); - gtk_container_add (GTK_CONTAINER (vbuttonbox1), button40); - GTK_WIDGET_SET_FLAGS (button40, GTK_CAN_DEFAULT); - - button41 = gtk_button_new_with_mnemonic (_("Close")); - gtk_widget_show (button41); - gtk_container_add (GTK_CONTAINER (vbuttonbox1), button41); - GTK_WIDGET_SET_FLAGS (button41, GTK_CAN_DEFAULT); - - vbuttonbox4 = gtk_vbutton_box_new (); - gtk_widget_show (vbuttonbox4); - gtk_box_pack_start (GTK_BOX (hbox6), vbuttonbox4, FALSE, TRUE, 0); - gtk_box_set_spacing (GTK_BOX (vbuttonbox4), 10); - - button68 = gtk_button_new_with_mnemonic (_("memWrite32")); - gtk_widget_show (button68); - gtk_container_add (GTK_CONTAINER (vbuttonbox4), button68); - GTK_WIDGET_SET_FLAGS (button68, GTK_CAN_DEFAULT); - - g_signal_connect ((gpointer) GtkRadioButton_EE, "toggled", - G_CALLBACK (OnDebug_EEMode), - NULL); - g_signal_connect ((gpointer) GtkRadioButton_IOP, "toggled", - G_CALLBACK (OnDebug_IOPMode), - NULL); - g_signal_connect ((gpointer) button52, "clicked", - G_CALLBACK (OnDebug_Step), - NULL); - g_signal_connect ((gpointer) button53, "clicked", - G_CALLBACK (OnDebug_Skip), - NULL); - g_signal_connect ((gpointer) button65, "clicked", - G_CALLBACK (OnDebug_Go), - NULL); - g_signal_connect ((gpointer) button64, "clicked", - G_CALLBACK (OnDebug_Log), - NULL); - g_signal_connect ((gpointer) button58, "clicked", - G_CALLBACK (OnDebug_SetPC), - NULL); - g_signal_connect ((gpointer) button59, "clicked", - G_CALLBACK (OnDebug_SetBPA), - NULL); - g_signal_connect ((gpointer) button60, "clicked", - G_CALLBACK (OnDebug_SetBPC), - NULL); - g_signal_connect ((gpointer) button61, "clicked", - G_CALLBACK (OnDebug_ClearBPs), - NULL); - g_signal_connect ((gpointer) button39, "clicked", - G_CALLBACK (OnDebug_DumpCode), - NULL); - g_signal_connect ((gpointer) button40, "clicked", - G_CALLBACK (OnDebug_RawDump), - NULL); - g_signal_connect ((gpointer) button41, "clicked", - G_CALLBACK (OnDebug_Close), - NULL); - g_signal_connect ((gpointer) button68, "clicked", - G_CALLBACK (OnDebug_memWrite32), - NULL); - - /* Store pointers to all widgets, for use by lookup_widget(). */ - GLADE_HOOKUP_OBJECT_NO_REF (DebugWnd, DebugWnd, "DebugWnd"); - GLADE_HOOKUP_OBJECT (DebugWnd, vbox16, "vbox16"); - GLADE_HOOKUP_OBJECT (DebugWnd, hbox16, "hbox16"); - GLADE_HOOKUP_OBJECT (DebugWnd, GtkRadioButton_EE, "GtkRadioButton_EE"); - GLADE_HOOKUP_OBJECT (DebugWnd, GtkRadioButton_IOP, "GtkRadioButton_IOP"); - GLADE_HOOKUP_OBJECT (DebugWnd, hbox6, "hbox6"); - GLADE_HOOKUP_OBJECT (DebugWnd, hbox7, "hbox7"); - GLADE_HOOKUP_OBJECT (DebugWnd, scrolledwindow1, "scrolledwindow1"); - GLADE_HOOKUP_OBJECT (DebugWnd, viewport1, "viewport1"); - GLADE_HOOKUP_OBJECT (DebugWnd, GtkList_DisView, "GtkList_DisView"); - GLADE_HOOKUP_OBJECT (DebugWnd, GtkVScrollbar_VList, "GtkVScrollbar_VList"); - GLADE_HOOKUP_OBJECT (DebugWnd, vbox22, "vbox22"); - GLADE_HOOKUP_OBJECT (DebugWnd, vbuttonbox2, "vbuttonbox2"); - GLADE_HOOKUP_OBJECT (DebugWnd, button52, "button52"); - GLADE_HOOKUP_OBJECT (DebugWnd, button53, "button53"); - GLADE_HOOKUP_OBJECT (DebugWnd, button65, "button65"); - GLADE_HOOKUP_OBJECT (DebugWnd, button64, "button64"); - GLADE_HOOKUP_OBJECT (DebugWnd, vbuttonbox3, "vbuttonbox3"); - GLADE_HOOKUP_OBJECT (DebugWnd, button58, "button58"); - GLADE_HOOKUP_OBJECT (DebugWnd, button59, "button59"); - GLADE_HOOKUP_OBJECT (DebugWnd, button60, "button60"); - GLADE_HOOKUP_OBJECT (DebugWnd, button61, "button61"); - GLADE_HOOKUP_OBJECT (DebugWnd, vbuttonbox1, "vbuttonbox1"); - GLADE_HOOKUP_OBJECT (DebugWnd, button39, "button39"); - GLADE_HOOKUP_OBJECT (DebugWnd, button40, "button40"); - GLADE_HOOKUP_OBJECT (DebugWnd, button41, "button41"); - GLADE_HOOKUP_OBJECT (DebugWnd, vbuttonbox4, "vbuttonbox4"); - GLADE_HOOKUP_OBJECT (DebugWnd, button68, "button68"); - - return DebugWnd; -} - -GtkWidget* -create_ConfDlg (void) -{ - GtkWidget *ConfDlg; - GtkWidget *vbox12; - GtkWidget *table2; - GtkWidget *GtkLabel_Bios; - GtkWidget *label30; - GtkWidget *hbuttonbox24; - GtkWidget *GtkButton_FWconfigure; - GtkWidget *GtkButton_FWtest; - GtkWidget *GtkButton_FireWireabout; - GtkWidget *hbuttonbox23; - GtkWidget *GtkButton_USBconfigure; - GtkWidget *GtkButton_USBtest; - GtkWidget *GtkButton_USBabout; - GtkWidget *label29; - GtkWidget *hbuttonbox13; - GtkWidget *GtkButton_CDVDconfigure; - GtkWidget *GtkButton_CDVDtest; - GtkWidget *GtkButton_CDVDabout; - GtkWidget *GtkLabel_Cdvdrom; - GtkWidget *label23; - GtkWidget *hbuttonbox21; - GtkWidget *GtkButton_DEV9configure; - GtkWidget *GtkButton_DEV9test; - GtkWidget *GtkButton_DEV9about; - GtkWidget *hbuttonbox12; - GtkWidget *GtkButton_SPU2configure; - GtkWidget *GtkButton_SPU2test; - GtkWidget *GtkButton_SPU2about; - GtkWidget *GtkLabel_Sound; - GtkWidget *GtkLabel_SecondController; - GtkWidget *GtkLabel_FirstController; - GtkWidget *GtkLabel_Graphics; - GtkWidget *hbuttonbox8; - GtkWidget *GtkButton_GSconfigure; - GtkWidget *GtkButton_GStest; - GtkWidget *GtkButton_GSabout; - GtkWidget *hbuttonbox7; - GtkWidget *GtkButton_PAD1configure; - GtkWidget *GtkButton_PAD1test; - GtkWidget *GtkButton_PAD1about; - GtkWidget *hbuttonbox6; - GtkWidget *GtkButton_PAD2configure; - GtkWidget *GtkButton_PAD2test; - GtkWidget *GtkButton_PAD2about; - GtkWidget *GtkCombo_FW; - GtkWidget *GtkCombo_Usb; - GtkWidget *GtkCombo_Cdvd; - GtkWidget *GtkCombo_Dev9; - GtkWidget *GtkCombo_Pad2; - GtkWidget *GtkCombo_Pad1; - GtkWidget *GtkCombo_Spu2; - GtkWidget *GtkCombo_Gs; - GtkWidget *GtkCombo_Bios; - GtkWidget *hbox5; - GtkWidget *hbuttonbox11; - GtkWidget *GtkButton_SelectPluginsDir; - GtkWidget *GtkButton_SelectBiosDir; - GtkWidget *hbuttonbox10; - GtkWidget *GtkButton_Ok1; - GtkWidget *GtkButton_Cancel; - - ConfDlg = gtk_window_new (GTK_WINDOW_TOPLEVEL); - gtk_container_set_border_width (GTK_CONTAINER (ConfDlg), 10); - gtk_window_set_title (GTK_WINDOW (ConfDlg), _("Conf")); - gtk_window_set_resizable (GTK_WINDOW (ConfDlg), FALSE); - - vbox12 = gtk_vbox_new (FALSE, 0); - gtk_widget_show (vbox12); - gtk_container_add (GTK_CONTAINER (ConfDlg), vbox12); - - table2 = gtk_table_new (14, 2, FALSE); - gtk_widget_show (table2); - gtk_box_pack_start (GTK_BOX (vbox12), table2, TRUE, TRUE, 0); - gtk_container_set_border_width (GTK_CONTAINER (table2), 2); - gtk_table_set_col_spacings (GTK_TABLE (table2), 15); - - GtkLabel_Bios = gtk_label_new (_("Bios")); - gtk_widget_show (GtkLabel_Bios); - gtk_table_attach (GTK_TABLE (table2), GtkLabel_Bios, 1, 2, 12, 13, - (GtkAttachOptions) (0), - (GtkAttachOptions) (0), 0, 0); - gtk_label_set_justify (GTK_LABEL (GtkLabel_Bios), GTK_JUSTIFY_CENTER); - gtk_misc_set_alignment (GTK_MISC (GtkLabel_Bios), 0, 0.5); - - label30 = gtk_label_new (_("FireWire")); - gtk_widget_show (label30); - gtk_table_attach (GTK_TABLE (table2), label30, 1, 2, 9, 10, - (GtkAttachOptions) (0), - (GtkAttachOptions) (0), 0, 0); - gtk_label_set_justify (GTK_LABEL (label30), GTK_JUSTIFY_CENTER); - gtk_misc_set_alignment (GTK_MISC (label30), 0, 0.5); - - hbuttonbox24 = gtk_hbutton_box_new (); - gtk_widget_show (hbuttonbox24); - gtk_table_attach (GTK_TABLE (table2), hbuttonbox24, 1, 2, 11, 12, - (GtkAttachOptions) (0), - (GtkAttachOptions) (0), 0, 0); - - GtkButton_FWconfigure = gtk_button_new_with_mnemonic (_("Configure")); - gtk_widget_show (GtkButton_FWconfigure); - gtk_container_add (GTK_CONTAINER (hbuttonbox24), GtkButton_FWconfigure); - GTK_WIDGET_SET_FLAGS (GtkButton_FWconfigure, GTK_CAN_DEFAULT); - - GtkButton_FWtest = gtk_button_new_with_mnemonic (_("Test")); - gtk_widget_show (GtkButton_FWtest); - gtk_container_add (GTK_CONTAINER (hbuttonbox24), GtkButton_FWtest); - GTK_WIDGET_SET_FLAGS (GtkButton_FWtest, GTK_CAN_DEFAULT); - - GtkButton_FireWireabout = gtk_button_new_with_mnemonic (_("About")); - gtk_widget_show (GtkButton_FireWireabout); - gtk_container_add (GTK_CONTAINER (hbuttonbox24), GtkButton_FireWireabout); - GTK_WIDGET_SET_FLAGS (GtkButton_FireWireabout, GTK_CAN_DEFAULT); - - hbuttonbox23 = gtk_hbutton_box_new (); - gtk_widget_show (hbuttonbox23); - gtk_table_attach (GTK_TABLE (table2), hbuttonbox23, 0, 1, 11, 12, - (GtkAttachOptions) (0), - (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0); - - GtkButton_USBconfigure = gtk_button_new_with_mnemonic (_("Configure")); - gtk_widget_show (GtkButton_USBconfigure); - gtk_container_add (GTK_CONTAINER (hbuttonbox23), GtkButton_USBconfigure); - GTK_WIDGET_SET_FLAGS (GtkButton_USBconfigure, GTK_CAN_DEFAULT); - - GtkButton_USBtest = gtk_button_new_with_mnemonic (_("Test")); - gtk_widget_show (GtkButton_USBtest); - gtk_container_add (GTK_CONTAINER (hbuttonbox23), GtkButton_USBtest); - GTK_WIDGET_SET_FLAGS (GtkButton_USBtest, GTK_CAN_DEFAULT); - - GtkButton_USBabout = gtk_button_new_with_mnemonic (_("About")); - gtk_widget_show (GtkButton_USBabout); - gtk_container_add (GTK_CONTAINER (hbuttonbox23), GtkButton_USBabout); - GTK_WIDGET_SET_FLAGS (GtkButton_USBabout, GTK_CAN_DEFAULT); - - label29 = gtk_label_new (_("Usb")); - gtk_widget_show (label29); - gtk_table_attach (GTK_TABLE (table2), label29, 0, 1, 9, 10, - (GtkAttachOptions) (0), - (GtkAttachOptions) (0), 0, 0); - gtk_label_set_justify (GTK_LABEL (label29), GTK_JUSTIFY_CENTER); - gtk_misc_set_alignment (GTK_MISC (label29), 0, 0.5); - - hbuttonbox13 = gtk_hbutton_box_new (); - gtk_widget_show (hbuttonbox13); - gtk_table_attach (GTK_TABLE (table2), hbuttonbox13, 1, 2, 8, 9, - (GtkAttachOptions) (0), - (GtkAttachOptions) (0), 0, 0); - - GtkButton_CDVDconfigure = gtk_button_new_with_mnemonic (_("Configure")); - gtk_widget_show (GtkButton_CDVDconfigure); - gtk_container_add (GTK_CONTAINER (hbuttonbox13), GtkButton_CDVDconfigure); - GTK_WIDGET_SET_FLAGS (GtkButton_CDVDconfigure, GTK_CAN_DEFAULT); - - GtkButton_CDVDtest = gtk_button_new_with_mnemonic (_("Test")); - gtk_widget_show (GtkButton_CDVDtest); - gtk_container_add (GTK_CONTAINER (hbuttonbox13), GtkButton_CDVDtest); - GTK_WIDGET_SET_FLAGS (GtkButton_CDVDtest, GTK_CAN_DEFAULT); - - GtkButton_CDVDabout = gtk_button_new_with_mnemonic (_("About")); - gtk_widget_show (GtkButton_CDVDabout); - gtk_container_add (GTK_CONTAINER (hbuttonbox13), GtkButton_CDVDabout); - GTK_WIDGET_SET_FLAGS (GtkButton_CDVDabout, GTK_CAN_DEFAULT); - - GtkLabel_Cdvdrom = gtk_label_new (_("Cdvdrom")); - gtk_widget_show (GtkLabel_Cdvdrom); - gtk_table_attach (GTK_TABLE (table2), GtkLabel_Cdvdrom, 1, 2, 6, 7, - (GtkAttachOptions) (0), - (GtkAttachOptions) (0), 0, 0); - gtk_label_set_justify (GTK_LABEL (GtkLabel_Cdvdrom), GTK_JUSTIFY_CENTER); - gtk_misc_set_alignment (GTK_MISC (GtkLabel_Cdvdrom), 0, 0.5); - - label23 = gtk_label_new (_("Dev9")); - gtk_widget_show (label23); - gtk_table_attach (GTK_TABLE (table2), label23, 0, 1, 6, 7, - (GtkAttachOptions) (0), - (GtkAttachOptions) (0), 0, 0); - gtk_label_set_justify (GTK_LABEL (label23), GTK_JUSTIFY_CENTER); - gtk_misc_set_alignment (GTK_MISC (label23), 0, 0.5); - - hbuttonbox21 = gtk_hbutton_box_new (); - gtk_widget_show (hbuttonbox21); - gtk_table_attach (GTK_TABLE (table2), hbuttonbox21, 0, 1, 8, 9, - (GtkAttachOptions) (0), - (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0); - - GtkButton_DEV9configure = gtk_button_new_with_mnemonic (_("Configure")); - gtk_widget_show (GtkButton_DEV9configure); - gtk_container_add (GTK_CONTAINER (hbuttonbox21), GtkButton_DEV9configure); - GTK_WIDGET_SET_FLAGS (GtkButton_DEV9configure, GTK_CAN_DEFAULT); - - GtkButton_DEV9test = gtk_button_new_with_mnemonic (_("Test")); - gtk_widget_show (GtkButton_DEV9test); - gtk_container_add (GTK_CONTAINER (hbuttonbox21), GtkButton_DEV9test); - GTK_WIDGET_SET_FLAGS (GtkButton_DEV9test, GTK_CAN_DEFAULT); - - GtkButton_DEV9about = gtk_button_new_with_mnemonic (_("About")); - gtk_widget_show (GtkButton_DEV9about); - gtk_container_add (GTK_CONTAINER (hbuttonbox21), GtkButton_DEV9about); - GTK_WIDGET_SET_FLAGS (GtkButton_DEV9about, GTK_CAN_DEFAULT); - - hbuttonbox12 = gtk_hbutton_box_new (); - gtk_widget_show (hbuttonbox12); - gtk_table_attach (GTK_TABLE (table2), hbuttonbox12, 1, 2, 2, 3, - (GtkAttachOptions) (0), - (GtkAttachOptions) (0), 0, 0); - - GtkButton_SPU2configure = gtk_button_new_with_mnemonic (_("Configure")); - gtk_widget_show (GtkButton_SPU2configure); - gtk_container_add (GTK_CONTAINER (hbuttonbox12), GtkButton_SPU2configure); - GTK_WIDGET_SET_FLAGS (GtkButton_SPU2configure, GTK_CAN_DEFAULT); - - GtkButton_SPU2test = gtk_button_new_with_mnemonic (_("Test")); - gtk_widget_show (GtkButton_SPU2test); - gtk_container_add (GTK_CONTAINER (hbuttonbox12), GtkButton_SPU2test); - GTK_WIDGET_SET_FLAGS (GtkButton_SPU2test, GTK_CAN_DEFAULT); - - GtkButton_SPU2about = gtk_button_new_with_mnemonic (_("About")); - gtk_widget_show (GtkButton_SPU2about); - gtk_container_add (GTK_CONTAINER (hbuttonbox12), GtkButton_SPU2about); - GTK_WIDGET_SET_FLAGS (GtkButton_SPU2about, GTK_CAN_DEFAULT); - - GtkLabel_Sound = gtk_label_new (_("Sound")); - gtk_widget_show (GtkLabel_Sound); - gtk_table_attach (GTK_TABLE (table2), GtkLabel_Sound, 1, 2, 0, 1, - (GtkAttachOptions) (0), - (GtkAttachOptions) (0), 0, 0); - gtk_label_set_justify (GTK_LABEL (GtkLabel_Sound), GTK_JUSTIFY_CENTER); - gtk_misc_set_alignment (GTK_MISC (GtkLabel_Sound), 0, 0.5); - - GtkLabel_SecondController = gtk_label_new (_("Second Controller")); - gtk_widget_show (GtkLabel_SecondController); - gtk_table_attach (GTK_TABLE (table2), GtkLabel_SecondController, 1, 2, 3, 4, - (GtkAttachOptions) (0), - (GtkAttachOptions) (0), 0, 0); - gtk_label_set_justify (GTK_LABEL (GtkLabel_SecondController), GTK_JUSTIFY_CENTER); - gtk_misc_set_alignment (GTK_MISC (GtkLabel_SecondController), 0, 0.5); - - GtkLabel_FirstController = gtk_label_new (_("First Controller")); - gtk_widget_show (GtkLabel_FirstController); - gtk_table_attach (GTK_TABLE (table2), GtkLabel_FirstController, 0, 1, 3, 4, - (GtkAttachOptions) (0), - (GtkAttachOptions) (0), 0, 0); - gtk_label_set_justify (GTK_LABEL (GtkLabel_FirstController), GTK_JUSTIFY_CENTER); - gtk_misc_set_alignment (GTK_MISC (GtkLabel_FirstController), 0, 0.5); - - GtkLabel_Graphics = gtk_label_new (_("Graphics")); - gtk_widget_show (GtkLabel_Graphics); - gtk_table_attach (GTK_TABLE (table2), GtkLabel_Graphics, 0, 1, 0, 1, - (GtkAttachOptions) (0), - (GtkAttachOptions) (0), 0, 0); - gtk_label_set_justify (GTK_LABEL (GtkLabel_Graphics), GTK_JUSTIFY_CENTER); - gtk_misc_set_alignment (GTK_MISC (GtkLabel_Graphics), 0, 0.5); - - hbuttonbox8 = gtk_hbutton_box_new (); - gtk_widget_show (hbuttonbox8); - gtk_table_attach (GTK_TABLE (table2), hbuttonbox8, 0, 1, 2, 3, - (GtkAttachOptions) (0), - (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0); - - GtkButton_GSconfigure = gtk_button_new_with_mnemonic (_("Configure")); - gtk_widget_show (GtkButton_GSconfigure); - gtk_container_add (GTK_CONTAINER (hbuttonbox8), GtkButton_GSconfigure); - GTK_WIDGET_SET_FLAGS (GtkButton_GSconfigure, GTK_CAN_DEFAULT); - - GtkButton_GStest = gtk_button_new_with_mnemonic (_("Test")); - gtk_widget_show (GtkButton_GStest); - gtk_container_add (GTK_CONTAINER (hbuttonbox8), GtkButton_GStest); - GTK_WIDGET_SET_FLAGS (GtkButton_GStest, GTK_CAN_DEFAULT); - - GtkButton_GSabout = gtk_button_new_with_mnemonic (_("About")); - gtk_widget_show (GtkButton_GSabout); - gtk_container_add (GTK_CONTAINER (hbuttonbox8), GtkButton_GSabout); - GTK_WIDGET_SET_FLAGS (GtkButton_GSabout, GTK_CAN_DEFAULT); - - hbuttonbox7 = gtk_hbutton_box_new (); - gtk_widget_show (hbuttonbox7); - gtk_table_attach (GTK_TABLE (table2), hbuttonbox7, 0, 1, 5, 6, - (GtkAttachOptions) (0), - (GtkAttachOptions) (0), 0, 0); - - GtkButton_PAD1configure = gtk_button_new_with_mnemonic (_("Configure")); - gtk_widget_show (GtkButton_PAD1configure); - gtk_container_add (GTK_CONTAINER (hbuttonbox7), GtkButton_PAD1configure); - GTK_WIDGET_SET_FLAGS (GtkButton_PAD1configure, GTK_CAN_DEFAULT); - - GtkButton_PAD1test = gtk_button_new_with_mnemonic (_("Test")); - gtk_widget_show (GtkButton_PAD1test); - gtk_container_add (GTK_CONTAINER (hbuttonbox7), GtkButton_PAD1test); - GTK_WIDGET_SET_FLAGS (GtkButton_PAD1test, GTK_CAN_DEFAULT); - - GtkButton_PAD1about = gtk_button_new_with_mnemonic (_("About")); - gtk_widget_show (GtkButton_PAD1about); - gtk_container_add (GTK_CONTAINER (hbuttonbox7), GtkButton_PAD1about); - GTK_WIDGET_SET_FLAGS (GtkButton_PAD1about, GTK_CAN_DEFAULT); - - hbuttonbox6 = gtk_hbutton_box_new (); - gtk_widget_show (hbuttonbox6); - gtk_table_attach (GTK_TABLE (table2), hbuttonbox6, 1, 2, 5, 6, - (GtkAttachOptions) (0), - (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0); - - GtkButton_PAD2configure = gtk_button_new_with_mnemonic (_("Configure")); - gtk_widget_show (GtkButton_PAD2configure); - gtk_container_add (GTK_CONTAINER (hbuttonbox6), GtkButton_PAD2configure); - GTK_WIDGET_SET_FLAGS (GtkButton_PAD2configure, GTK_CAN_DEFAULT); - - GtkButton_PAD2test = gtk_button_new_with_mnemonic (_("Test")); - gtk_widget_show (GtkButton_PAD2test); - gtk_container_add (GTK_CONTAINER (hbuttonbox6), GtkButton_PAD2test); - GTK_WIDGET_SET_FLAGS (GtkButton_PAD2test, GTK_CAN_DEFAULT); - - GtkButton_PAD2about = gtk_button_new_with_mnemonic (_("About")); - gtk_widget_show (GtkButton_PAD2about); - gtk_container_add (GTK_CONTAINER (hbuttonbox6), GtkButton_PAD2about); - GTK_WIDGET_SET_FLAGS (GtkButton_PAD2about, GTK_CAN_DEFAULT); - - GtkCombo_FW = gtk_combo_box_new_text (); - gtk_widget_show (GtkCombo_FW); - gtk_table_attach (GTK_TABLE (table2), GtkCombo_FW, 1, 2, 10, 11, - (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), - (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0); - - GtkCombo_Usb = gtk_combo_box_new_text (); - gtk_widget_show (GtkCombo_Usb); - gtk_table_attach (GTK_TABLE (table2), GtkCombo_Usb, 0, 1, 10, 11, - (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), - (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0); - - GtkCombo_Cdvd = gtk_combo_box_new_text (); - gtk_widget_show (GtkCombo_Cdvd); - gtk_table_attach (GTK_TABLE (table2), GtkCombo_Cdvd, 1, 2, 7, 8, - (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), - (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0); - - GtkCombo_Dev9 = gtk_combo_box_new_text (); - gtk_widget_show (GtkCombo_Dev9); - gtk_table_attach (GTK_TABLE (table2), GtkCombo_Dev9, 0, 1, 7, 8, - (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), - (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0); - - GtkCombo_Pad2 = gtk_combo_box_new_text (); - gtk_widget_show (GtkCombo_Pad2); - gtk_table_attach (GTK_TABLE (table2), GtkCombo_Pad2, 1, 2, 4, 5, - (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), - (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0); - - GtkCombo_Pad1 = gtk_combo_box_new_text (); - gtk_widget_show (GtkCombo_Pad1); - gtk_table_attach (GTK_TABLE (table2), GtkCombo_Pad1, 0, 1, 4, 5, - (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), - (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0); - - GtkCombo_Spu2 = gtk_combo_box_new_text (); - gtk_widget_show (GtkCombo_Spu2); - gtk_table_attach (GTK_TABLE (table2), GtkCombo_Spu2, 1, 2, 1, 2, - (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), - (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0); - - GtkCombo_Gs = gtk_combo_box_new_text (); - gtk_widget_show (GtkCombo_Gs); - gtk_table_attach (GTK_TABLE (table2), GtkCombo_Gs, 0, 1, 1, 2, - (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), - (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0); - - GtkCombo_Bios = gtk_combo_box_new_text (); - gtk_widget_show (GtkCombo_Bios); - gtk_table_attach (GTK_TABLE (table2), GtkCombo_Bios, 1, 2, 13, 14, - (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), - (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0); - - hbox5 = gtk_hbox_new (FALSE, 14); - gtk_widget_show (hbox5); - gtk_box_pack_start (GTK_BOX (vbox12), hbox5, TRUE, TRUE, 0); - - hbuttonbox11 = gtk_hbutton_box_new (); - gtk_widget_show (hbuttonbox11); - gtk_box_pack_start (GTK_BOX (hbox5), hbuttonbox11, FALSE, TRUE, 0); - gtk_button_box_set_layout (GTK_BUTTON_BOX (hbuttonbox11), GTK_BUTTONBOX_START); - - GtkButton_SelectPluginsDir = gtk_button_new_with_mnemonic (_("Select Plugins Dir")); - gtk_widget_show (GtkButton_SelectPluginsDir); - gtk_container_add (GTK_CONTAINER (hbuttonbox11), GtkButton_SelectPluginsDir); - GTK_WIDGET_SET_FLAGS (GtkButton_SelectPluginsDir, GTK_CAN_DEFAULT); - - GtkButton_SelectBiosDir = gtk_button_new_with_mnemonic (_("Select Bios Dir")); - gtk_widget_show (GtkButton_SelectBiosDir); - gtk_container_add (GTK_CONTAINER (hbuttonbox11), GtkButton_SelectBiosDir); - GTK_WIDGET_SET_FLAGS (GtkButton_SelectBiosDir, GTK_CAN_DEFAULT); - - hbuttonbox10 = gtk_hbutton_box_new (); - gtk_widget_show (hbuttonbox10); - gtk_box_pack_start (GTK_BOX (hbox5), hbuttonbox10, TRUE, TRUE, 0); - - GtkButton_Ok1 = gtk_button_new_from_stock ("gtk-ok"); - gtk_widget_show (GtkButton_Ok1); - gtk_container_add (GTK_CONTAINER (hbuttonbox10), GtkButton_Ok1); - GTK_WIDGET_SET_FLAGS (GtkButton_Ok1, GTK_CAN_DEFAULT); - - GtkButton_Cancel = gtk_button_new_from_stock ("gtk-cancel"); - gtk_widget_show (GtkButton_Cancel); - gtk_container_add (GTK_CONTAINER (hbuttonbox10), GtkButton_Cancel); - GTK_WIDGET_SET_FLAGS (GtkButton_Cancel, GTK_CAN_DEFAULT); - - g_signal_connect ((gpointer) GtkButton_FWconfigure, "clicked", - G_CALLBACK (OnConfConf_FWConf), - NULL); - g_signal_connect ((gpointer) GtkButton_FWtest, "clicked", - G_CALLBACK (OnConfConf_FWTest), - NULL); - g_signal_connect ((gpointer) GtkButton_FireWireabout, "clicked", - G_CALLBACK (OnConfConf_FWAbout), - NULL); - g_signal_connect ((gpointer) GtkButton_USBconfigure, "clicked", - G_CALLBACK (OnConfConf_UsbConf), - NULL); - g_signal_connect ((gpointer) GtkButton_USBtest, "clicked", - G_CALLBACK (OnConfConf_UsbTest), - NULL); - g_signal_connect ((gpointer) GtkButton_USBabout, "clicked", - G_CALLBACK (OnConfConf_UsbAbout), - NULL); - g_signal_connect ((gpointer) GtkButton_CDVDconfigure, "clicked", - G_CALLBACK (OnConfConf_CdvdConf), - NULL); - g_signal_connect ((gpointer) GtkButton_CDVDtest, "clicked", - G_CALLBACK (OnConfConf_CdvdTest), - NULL); - g_signal_connect ((gpointer) GtkButton_CDVDabout, "clicked", - G_CALLBACK (OnConfConf_CdvdAbout), - NULL); - g_signal_connect ((gpointer) GtkButton_DEV9configure, "clicked", - G_CALLBACK (OnConfConf_Dev9Conf), - NULL); - g_signal_connect ((gpointer) GtkButton_DEV9test, "clicked", - G_CALLBACK (OnConfConf_Dev9Test), - NULL); - g_signal_connect ((gpointer) GtkButton_DEV9about, "clicked", - G_CALLBACK (OnConfConf_Dev9About), - NULL); - g_signal_connect ((gpointer) GtkButton_SPU2configure, "clicked", - G_CALLBACK (OnConfConf_Spu2Conf), - NULL); - g_signal_connect ((gpointer) GtkButton_SPU2test, "clicked", - G_CALLBACK (OnConfConf_Spu2Test), - NULL); - g_signal_connect ((gpointer) GtkButton_SPU2about, "clicked", - G_CALLBACK (OnConfConf_Spu2About), - NULL); - g_signal_connect ((gpointer) GtkButton_GSconfigure, "clicked", - G_CALLBACK (OnConfConf_GsConf), - NULL); - g_signal_connect ((gpointer) GtkButton_GStest, "clicked", - G_CALLBACK (OnConfConf_GsTest), - NULL); - g_signal_connect ((gpointer) GtkButton_GSabout, "clicked", - G_CALLBACK (OnConfConf_GsAbout), - NULL); - g_signal_connect ((gpointer) GtkButton_PAD1configure, "clicked", - G_CALLBACK (OnConfConf_Pad1Conf), - NULL); - g_signal_connect ((gpointer) GtkButton_PAD1test, "clicked", - G_CALLBACK (OnConfConf_Pad1Test), - NULL); - g_signal_connect ((gpointer) GtkButton_PAD1about, "clicked", - G_CALLBACK (OnConfConf_Pad1About), - NULL); - g_signal_connect ((gpointer) GtkButton_PAD2configure, "clicked", - G_CALLBACK (OnConfConf_Pad2Conf), - NULL); - g_signal_connect ((gpointer) GtkButton_PAD2test, "clicked", - G_CALLBACK (OnConfConf_Pad2Test), - NULL); - g_signal_connect ((gpointer) GtkButton_PAD2about, "clicked", - G_CALLBACK (OnConfConf_Pad2About), - NULL); - g_signal_connect ((gpointer) GtkButton_SelectPluginsDir, "clicked", - G_CALLBACK (OnConfConf_PluginsPath), - NULL); - g_signal_connect ((gpointer) GtkButton_SelectBiosDir, "clicked", - G_CALLBACK (OnConfConf_BiosPath), - NULL); - g_signal_connect ((gpointer) GtkButton_Ok1, "clicked", - G_CALLBACK (OnConfConf_Ok), - NULL); - g_signal_connect ((gpointer) GtkButton_Cancel, "clicked", - G_CALLBACK (On_Dialog_Cancelled), - NULL); - - /* Store pointers to all widgets, for use by lookup_widget(). */ - GLADE_HOOKUP_OBJECT_NO_REF (ConfDlg, ConfDlg, "ConfDlg"); - GLADE_HOOKUP_OBJECT (ConfDlg, vbox12, "vbox12"); - GLADE_HOOKUP_OBJECT (ConfDlg, table2, "table2"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkLabel_Bios, "GtkLabel_Bios"); - GLADE_HOOKUP_OBJECT (ConfDlg, label30, "label30"); - GLADE_HOOKUP_OBJECT (ConfDlg, hbuttonbox24, "hbuttonbox24"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_FWconfigure, "GtkButton_FWconfigure"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_FWtest, "GtkButton_FWtest"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_FireWireabout, "GtkButton_FireWireabout"); - GLADE_HOOKUP_OBJECT (ConfDlg, hbuttonbox23, "hbuttonbox23"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_USBconfigure, "GtkButton_USBconfigure"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_USBtest, "GtkButton_USBtest"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_USBabout, "GtkButton_USBabout"); - GLADE_HOOKUP_OBJECT (ConfDlg, label29, "label29"); - GLADE_HOOKUP_OBJECT (ConfDlg, hbuttonbox13, "hbuttonbox13"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_CDVDconfigure, "GtkButton_CDVDconfigure"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_CDVDtest, "GtkButton_CDVDtest"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_CDVDabout, "GtkButton_CDVDabout"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkLabel_Cdvdrom, "GtkLabel_Cdvdrom"); - GLADE_HOOKUP_OBJECT (ConfDlg, label23, "label23"); - GLADE_HOOKUP_OBJECT (ConfDlg, hbuttonbox21, "hbuttonbox21"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_DEV9configure, "GtkButton_DEV9configure"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_DEV9test, "GtkButton_DEV9test"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_DEV9about, "GtkButton_DEV9about"); - GLADE_HOOKUP_OBJECT (ConfDlg, hbuttonbox12, "hbuttonbox12"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_SPU2configure, "GtkButton_SPU2configure"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_SPU2test, "GtkButton_SPU2test"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_SPU2about, "GtkButton_SPU2about"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkLabel_Sound, "GtkLabel_Sound"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkLabel_SecondController, "GtkLabel_SecondController"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkLabel_FirstController, "GtkLabel_FirstController"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkLabel_Graphics, "GtkLabel_Graphics"); - GLADE_HOOKUP_OBJECT (ConfDlg, hbuttonbox8, "hbuttonbox8"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_GSconfigure, "GtkButton_GSconfigure"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_GStest, "GtkButton_GStest"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_GSabout, "GtkButton_GSabout"); - GLADE_HOOKUP_OBJECT (ConfDlg, hbuttonbox7, "hbuttonbox7"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_PAD1configure, "GtkButton_PAD1configure"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_PAD1test, "GtkButton_PAD1test"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_PAD1about, "GtkButton_PAD1about"); - GLADE_HOOKUP_OBJECT (ConfDlg, hbuttonbox6, "hbuttonbox6"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_PAD2configure, "GtkButton_PAD2configure"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_PAD2test, "GtkButton_PAD2test"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_PAD2about, "GtkButton_PAD2about"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkCombo_FW, "GtkCombo_FW"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkCombo_Usb, "GtkCombo_Usb"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkCombo_Cdvd, "GtkCombo_Cdvd"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkCombo_Dev9, "GtkCombo_Dev9"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkCombo_Pad2, "GtkCombo_Pad2"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkCombo_Pad1, "GtkCombo_Pad1"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkCombo_Spu2, "GtkCombo_Spu2"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkCombo_Gs, "GtkCombo_Gs"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkCombo_Bios, "GtkCombo_Bios"); - GLADE_HOOKUP_OBJECT (ConfDlg, hbox5, "hbox5"); - GLADE_HOOKUP_OBJECT (ConfDlg, hbuttonbox11, "hbuttonbox11"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_SelectPluginsDir, "GtkButton_SelectPluginsDir"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_SelectBiosDir, "GtkButton_SelectBiosDir"); - GLADE_HOOKUP_OBJECT (ConfDlg, hbuttonbox10, "hbuttonbox10"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_Ok1, "GtkButton_Ok1"); - GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_Cancel, "GtkButton_Cancel"); - - return ConfDlg; -} - -GtkWidget* -create_AboutDlg (void) -{ - GtkWidget *AboutDlg; - GtkWidget *vbox2; - GtkWidget *vbox4; - GtkWidget *GtkAbout_LabelVersion; - GtkWidget *frame1; - GtkWidget *vbox6; - GtkWidget *GtkAbout_LabelAuthors; - GtkWidget *frame2; - GtkWidget *vbox5; - GtkWidget *GtkAbout_LabelGreets; - GtkWidget *hbuttonbox1; - GtkWidget *GtkButton_Ok; - - AboutDlg = gtk_window_new (GTK_WINDOW_TOPLEVEL); - gtk_container_set_border_width (GTK_CONTAINER (AboutDlg), 10); - gtk_window_set_title (GTK_WINDOW (AboutDlg), _("Pcsx About")); - - vbox2 = gtk_vbox_new (FALSE, 0); - gtk_widget_show (vbox2); - gtk_container_add (GTK_CONTAINER (AboutDlg), vbox2); - - vbox4 = gtk_vbox_new (FALSE, 0); - gtk_widget_show (vbox4); - gtk_box_pack_start (GTK_BOX (vbox2), vbox4, TRUE, TRUE, 0); - - GtkAbout_LabelVersion = gtk_label_new (_("PCSX2\n\nVersion x.x")); - gtk_widget_show (GtkAbout_LabelVersion); - gtk_box_pack_start (GTK_BOX (vbox4), GtkAbout_LabelVersion, FALSE, FALSE, 0); - gtk_label_set_justify (GTK_LABEL (GtkAbout_LabelVersion), GTK_JUSTIFY_CENTER); - - frame1 = gtk_frame_new (NULL); - gtk_widget_show (frame1); - gtk_box_pack_start (GTK_BOX (vbox4), frame1, FALSE, FALSE, 0); - gtk_container_set_border_width (GTK_CONTAINER (frame1), 5); - - vbox6 = gtk_vbox_new (FALSE, 0); - gtk_widget_show (vbox6); - gtk_container_add (GTK_CONTAINER (frame1), vbox6); - gtk_container_set_border_width (GTK_CONTAINER (vbox6), 5); - - GtkAbout_LabelAuthors = gtk_label_new (_("written by...")); - gtk_widget_show (GtkAbout_LabelAuthors); - gtk_box_pack_start (GTK_BOX (vbox6), GtkAbout_LabelAuthors, FALSE, FALSE, 0); - gtk_label_set_justify (GTK_LABEL (GtkAbout_LabelAuthors), GTK_JUSTIFY_CENTER); - gtk_label_set_line_wrap (GTK_LABEL (GtkAbout_LabelAuthors), TRUE); - - frame2 = gtk_frame_new (NULL); - gtk_widget_show (frame2); - gtk_box_pack_start (GTK_BOX (vbox2), frame2, FALSE, FALSE, 0); - gtk_container_set_border_width (GTK_CONTAINER (frame2), 5); - - vbox5 = gtk_vbox_new (FALSE, 0); - gtk_widget_show (vbox5); - gtk_container_add (GTK_CONTAINER (frame2), vbox5); - gtk_container_set_border_width (GTK_CONTAINER (vbox5), 5); - - GtkAbout_LabelGreets = gtk_label_new (_("greets to...")); - gtk_widget_show (GtkAbout_LabelGreets); - gtk_box_pack_start (GTK_BOX (vbox5), GtkAbout_LabelGreets, FALSE, FALSE, 0); - gtk_label_set_justify (GTK_LABEL (GtkAbout_LabelGreets), GTK_JUSTIFY_CENTER); - gtk_label_set_line_wrap (GTK_LABEL (GtkAbout_LabelGreets), TRUE); - - hbuttonbox1 = gtk_hbutton_box_new (); - gtk_widget_show (hbuttonbox1); - gtk_box_pack_start (GTK_BOX (vbox2), hbuttonbox1, FALSE, FALSE, 0); - gtk_button_box_set_layout (GTK_BUTTON_BOX (hbuttonbox1), GTK_BUTTONBOX_EDGE); - - GtkButton_Ok = gtk_button_new_from_stock ("gtk-ok"); - gtk_widget_show (GtkButton_Ok); - gtk_container_add (GTK_CONTAINER (hbuttonbox1), GtkButton_Ok); - GTK_WIDGET_SET_FLAGS (GtkButton_Ok, GTK_CAN_DEFAULT); - - g_signal_connect ((gpointer) GtkButton_Ok, "clicked", - G_CALLBACK (OnHelpAbout_Ok), - NULL); - - /* Store pointers to all widgets, for use by lookup_widget(). */ - GLADE_HOOKUP_OBJECT_NO_REF (AboutDlg, AboutDlg, "AboutDlg"); - GLADE_HOOKUP_OBJECT (AboutDlg, vbox2, "vbox2"); - GLADE_HOOKUP_OBJECT (AboutDlg, vbox4, "vbox4"); - GLADE_HOOKUP_OBJECT (AboutDlg, GtkAbout_LabelVersion, "GtkAbout_LabelVersion"); - GLADE_HOOKUP_OBJECT (AboutDlg, frame1, "frame1"); - GLADE_HOOKUP_OBJECT (AboutDlg, vbox6, "vbox6"); - GLADE_HOOKUP_OBJECT (AboutDlg, GtkAbout_LabelAuthors, "GtkAbout_LabelAuthors"); - GLADE_HOOKUP_OBJECT (AboutDlg, frame2, "frame2"); - GLADE_HOOKUP_OBJECT (AboutDlg, vbox5, "vbox5"); - GLADE_HOOKUP_OBJECT (AboutDlg, GtkAbout_LabelGreets, "GtkAbout_LabelGreets"); - GLADE_HOOKUP_OBJECT (AboutDlg, hbuttonbox1, "hbuttonbox1"); - GLADE_HOOKUP_OBJECT (AboutDlg, GtkButton_Ok, "GtkButton_Ok"); - - return AboutDlg; -} - -GtkWidget* -create_MainWindow (void) -{ - GtkWidget *MainWindow; - GtkWidget *vbox1; - GtkWidget *GtkMenuBar_Menu; - GtkWidget *GtkMenuItem_File; - GtkWidget *GtkMenuItem_File_menu; - GtkWidget *run_cd1; - GtkWidget *GtkMenuItem_LoadElf; - GtkWidget *separator2; - GtkWidget *states1; - GtkWidget *states1_menu; - GtkWidget *load1; - GtkWidget *load1_menu; - GtkWidget *slot_1; - GtkWidget *slot_2; - GtkWidget *slot_3_; - GtkWidget *slot_4; - GtkWidget *slot_5; - GtkWidget *other1; - GtkWidget *save1; - GtkWidget *save1_menu; - GtkWidget *slot_6; - GtkWidget *slot_7; - GtkWidget *slot_8; - GtkWidget *slot_9; - GtkWidget *slot_10; - GtkWidget *other2; - GtkWidget *GtkMenuItem_Exit; - GtkWidget *GtkMenuItem_Emulator; - GtkWidget *GtkMenuItem_Emulator_menu; - GtkWidget *GtkMenuItem_Run; - GtkWidget *GtkMenuItem_Reset; - GtkWidget *GtkMenuItem_Arguments; - GtkWidget *GtkMenuItem_Configuration; - GtkWidget *GtkMenuItem_Configuration_menu; - GtkWidget *GtkMenuItem_PluginsBios; - GtkWidget *separator3; - GtkWidget *GtkMenuItem_Graphics; - GtkWidget *GtkMenuItem_Controllers; - GtkWidget *GtkMenuItem_Sound; - GtkWidget *GtkMenuItem_Cdvdrom; - GtkWidget *GtkMenuItem_Dev9; - GtkWidget *GtkMenuItem_USB; - GtkWidget *GtkMenuItem_FW; - GtkWidget *separator4; - GtkWidget *GtkMenuItem_Cpu; - GtkWidget *GtkMenuItem_Game_Fixes; - GtkWidget *GtkMenuItem_Speed_Hacks; - GtkWidget *GtkMenuItem_Advanced; - GtkWidget *GtkMenuItem_Language; - GtkWidget *misc1; - GtkWidget *misc1_menu; - GtkWidget *patch_browser1; - GtkWidget *patch_finder2; - GtkWidget *separator7; - GtkWidget *enable_console1; - GtkWidget *enable_patches1; - GtkWidget *GtkMenuItem_Debug; - GtkWidget *GtkMenuItem_Debug_menu; - GtkWidget *GtkMenuItem_EnterDebugger; - GtkWidget *GtkMenuItem_Logging; - GtkWidget *GtkMenuItem_Help; - GtkWidget *GtkMenuItem_Help_menu; - GtkWidget *GtkMenuItem_About; - GtkWidget *image1; - GtkWidget *status_box; - - MainWindow = gtk_window_new (GTK_WINDOW_TOPLEVEL); - gtk_window_set_title (GTK_WINDOW (MainWindow), _("PCSX")); - gtk_window_set_position (GTK_WINDOW (MainWindow), GTK_WIN_POS_CENTER); - - vbox1 = gtk_vbox_new (FALSE, 0); - gtk_widget_show (vbox1); - gtk_container_add (GTK_CONTAINER (MainWindow), vbox1); - - GtkMenuBar_Menu = gtk_menu_bar_new (); - gtk_widget_show (GtkMenuBar_Menu); - gtk_box_pack_start (GTK_BOX (vbox1), GtkMenuBar_Menu, FALSE, FALSE, 0); - - GtkMenuItem_File = gtk_menu_item_new_with_mnemonic (_("_File")); - gtk_widget_show (GtkMenuItem_File); - gtk_container_add (GTK_CONTAINER (GtkMenuBar_Menu), GtkMenuItem_File); - - GtkMenuItem_File_menu = gtk_menu_new (); - gtk_menu_item_set_submenu (GTK_MENU_ITEM (GtkMenuItem_File), GtkMenuItem_File_menu); - - run_cd1 = gtk_menu_item_new_with_mnemonic (_("_Run CD")); - gtk_widget_show (run_cd1); - gtk_container_add (GTK_CONTAINER (GtkMenuItem_File_menu), run_cd1); - - GtkMenuItem_LoadElf = gtk_menu_item_new_with_mnemonic (_("_Load Elf")); - gtk_widget_show (GtkMenuItem_LoadElf); - gtk_container_add (GTK_CONTAINER (GtkMenuItem_File_menu), GtkMenuItem_LoadElf); - - separator2 = gtk_separator_menu_item_new (); - gtk_widget_show (separator2); - gtk_container_add (GTK_CONTAINER (GtkMenuItem_File_menu), separator2); - gtk_widget_set_sensitive (separator2, FALSE); - - states1 = gtk_menu_item_new_with_mnemonic (_("States")); - gtk_widget_show (states1); - gtk_container_add (GTK_CONTAINER (GtkMenuItem_File_menu), states1); - - states1_menu = gtk_menu_new (); - gtk_menu_item_set_submenu (GTK_MENU_ITEM (states1), states1_menu); - - load1 = gtk_menu_item_new_with_mnemonic (_("Load")); - gtk_widget_show (load1); - gtk_container_add (GTK_CONTAINER (states1_menu), load1); - - load1_menu = gtk_menu_new (); - gtk_menu_item_set_submenu (GTK_MENU_ITEM (load1), load1_menu); - - slot_1 = gtk_menu_item_new_with_mnemonic (_("Slot 1")); - gtk_widget_show (slot_1); - gtk_container_add (GTK_CONTAINER (load1_menu), slot_1); - - slot_2 = gtk_menu_item_new_with_mnemonic (_("Slot 2")); - gtk_widget_show (slot_2); - gtk_container_add (GTK_CONTAINER (load1_menu), slot_2); - - slot_3_ = gtk_menu_item_new_with_mnemonic (_("Slot 3")); - gtk_widget_show (slot_3_); - gtk_container_add (GTK_CONTAINER (load1_menu), slot_3_); - - slot_4 = gtk_menu_item_new_with_mnemonic (_("Slot 4")); - gtk_widget_show (slot_4); - gtk_container_add (GTK_CONTAINER (load1_menu), slot_4); - - slot_5 = gtk_menu_item_new_with_mnemonic (_("Slot 5")); - gtk_widget_show (slot_5); - gtk_container_add (GTK_CONTAINER (load1_menu), slot_5); - - other1 = gtk_menu_item_new_with_mnemonic (_("Other...")); - gtk_widget_show (other1); - gtk_container_add (GTK_CONTAINER (load1_menu), other1); - - save1 = gtk_menu_item_new_with_mnemonic (_("Save")); - gtk_widget_show (save1); - gtk_container_add (GTK_CONTAINER (states1_menu), save1); - - save1_menu = gtk_menu_new (); - gtk_menu_item_set_submenu (GTK_MENU_ITEM (save1), save1_menu); - - slot_6 = gtk_menu_item_new_with_mnemonic (_("Slot 1")); - gtk_widget_show (slot_6); - gtk_container_add (GTK_CONTAINER (save1_menu), slot_6); - - slot_7 = gtk_menu_item_new_with_mnemonic (_("Slot 2")); - gtk_widget_show (slot_7); - gtk_container_add (GTK_CONTAINER (save1_menu), slot_7); - - slot_8 = gtk_menu_item_new_with_mnemonic (_("Slot 3")); - gtk_widget_show (slot_8); - gtk_container_add (GTK_CONTAINER (save1_menu), slot_8); - - slot_9 = gtk_menu_item_new_with_mnemonic (_("Slot 4")); - gtk_widget_show (slot_9); - gtk_container_add (GTK_CONTAINER (save1_menu), slot_9); - - slot_10 = gtk_menu_item_new_with_mnemonic (_("Slot 5")); - gtk_widget_show (slot_10); - gtk_container_add (GTK_CONTAINER (save1_menu), slot_10); - - other2 = gtk_menu_item_new_with_mnemonic (_("Other...")); - gtk_widget_show (other2); - gtk_container_add (GTK_CONTAINER (save1_menu), other2); - - GtkMenuItem_Exit = gtk_menu_item_new_with_mnemonic (_("E_xit")); - gtk_widget_show (GtkMenuItem_Exit); - gtk_container_add (GTK_CONTAINER (GtkMenuItem_File_menu), GtkMenuItem_Exit); - - GtkMenuItem_Emulator = gtk_menu_item_new_with_mnemonic (_("_Run")); - gtk_widget_show (GtkMenuItem_Emulator); - gtk_container_add (GTK_CONTAINER (GtkMenuBar_Menu), GtkMenuItem_Emulator); - - GtkMenuItem_Emulator_menu = gtk_menu_new (); - gtk_menu_item_set_submenu (GTK_MENU_ITEM (GtkMenuItem_Emulator), GtkMenuItem_Emulator_menu); - - GtkMenuItem_Run = gtk_menu_item_new_with_mnemonic (_("E_xecute")); - gtk_widget_show (GtkMenuItem_Run); - gtk_container_add (GTK_CONTAINER (GtkMenuItem_Emulator_menu), GtkMenuItem_Run); - - GtkMenuItem_Reset = gtk_menu_item_new_with_mnemonic (_("Re_set")); - gtk_widget_show (GtkMenuItem_Reset); - gtk_container_add (GTK_CONTAINER (GtkMenuItem_Emulator_menu), GtkMenuItem_Reset); - - GtkMenuItem_Arguments = gtk_menu_item_new_with_mnemonic (_("_Arguments")); - gtk_widget_show (GtkMenuItem_Arguments); - gtk_container_add (GTK_CONTAINER (GtkMenuItem_Emulator_menu), GtkMenuItem_Arguments); - - GtkMenuItem_Configuration = gtk_menu_item_new_with_mnemonic (_("_Config")); - gtk_widget_show (GtkMenuItem_Configuration); - gtk_container_add (GTK_CONTAINER (GtkMenuBar_Menu), GtkMenuItem_Configuration); - - GtkMenuItem_Configuration_menu = gtk_menu_new (); - gtk_menu_item_set_submenu (GTK_MENU_ITEM (GtkMenuItem_Configuration), GtkMenuItem_Configuration_menu); - - GtkMenuItem_PluginsBios = gtk_menu_item_new_with_mnemonic (_("_Configure")); - gtk_widget_show (GtkMenuItem_PluginsBios); - gtk_container_add (GTK_CONTAINER (GtkMenuItem_Configuration_menu), GtkMenuItem_PluginsBios); - - separator3 = gtk_separator_menu_item_new (); - gtk_widget_show (separator3); - gtk_container_add (GTK_CONTAINER (GtkMenuItem_Configuration_menu), separator3); - gtk_widget_set_sensitive (separator3, FALSE); - - GtkMenuItem_Graphics = gtk_menu_item_new_with_mnemonic (_("_Graphics")); - gtk_widget_show (GtkMenuItem_Graphics); - gtk_container_add (GTK_CONTAINER (GtkMenuItem_Configuration_menu), GtkMenuItem_Graphics); - - GtkMenuItem_Controllers = gtk_menu_item_new_with_mnemonic (_("C_ontrollers")); - gtk_widget_show (GtkMenuItem_Controllers); - gtk_container_add (GTK_CONTAINER (GtkMenuItem_Configuration_menu), GtkMenuItem_Controllers); - - GtkMenuItem_Sound = gtk_menu_item_new_with_mnemonic (_("_Sound")); - gtk_widget_show (GtkMenuItem_Sound); - gtk_container_add (GTK_CONTAINER (GtkMenuItem_Configuration_menu), GtkMenuItem_Sound); - - GtkMenuItem_Cdvdrom = gtk_menu_item_new_with_mnemonic (_("_Cdvdrom")); - gtk_widget_show (GtkMenuItem_Cdvdrom); - gtk_container_add (GTK_CONTAINER (GtkMenuItem_Configuration_menu), GtkMenuItem_Cdvdrom); - - GtkMenuItem_Dev9 = gtk_menu_item_new_with_mnemonic (_("D_ev9")); - gtk_widget_show (GtkMenuItem_Dev9); - gtk_container_add (GTK_CONTAINER (GtkMenuItem_Configuration_menu), GtkMenuItem_Dev9); - - GtkMenuItem_USB = gtk_menu_item_new_with_mnemonic (_("U_SB")); - gtk_widget_show (GtkMenuItem_USB); - gtk_container_add (GTK_CONTAINER (GtkMenuItem_Configuration_menu), GtkMenuItem_USB); - - GtkMenuItem_FW = gtk_menu_item_new_with_mnemonic (_("Fire_Wire")); - gtk_widget_show (GtkMenuItem_FW); - gtk_container_add (GTK_CONTAINER (GtkMenuItem_Configuration_menu), GtkMenuItem_FW); - - separator4 = gtk_separator_menu_item_new (); - gtk_widget_show (separator4); - gtk_container_add (GTK_CONTAINER (GtkMenuItem_Configuration_menu), separator4); - gtk_widget_set_sensitive (separator4, FALSE); - - GtkMenuItem_Cpu = gtk_menu_item_new_with_mnemonic (_("C_pu")); - gtk_widget_show (GtkMenuItem_Cpu); - gtk_container_add (GTK_CONTAINER (GtkMenuItem_Configuration_menu), GtkMenuItem_Cpu); - - GtkMenuItem_Game_Fixes = gtk_menu_item_new_with_mnemonic (_("Game Fixes")); - gtk_widget_show (GtkMenuItem_Game_Fixes); - gtk_container_add (GTK_CONTAINER (GtkMenuItem_Configuration_menu), GtkMenuItem_Game_Fixes); - - GtkMenuItem_Speed_Hacks = gtk_menu_item_new_with_mnemonic (_("Speed Hacks")); - gtk_widget_show (GtkMenuItem_Speed_Hacks); - gtk_container_add (GTK_CONTAINER (GtkMenuItem_Configuration_menu), GtkMenuItem_Speed_Hacks); - - GtkMenuItem_Advanced = gtk_menu_item_new_with_mnemonic (_("Advanced")); - gtk_widget_show (GtkMenuItem_Advanced); - gtk_container_add (GTK_CONTAINER (GtkMenuItem_Configuration_menu), GtkMenuItem_Advanced); - - GtkMenuItem_Language = gtk_menu_item_new_with_mnemonic (_("_Language")); - gtk_widget_show (GtkMenuItem_Language); - gtk_container_add (GTK_CONTAINER (GtkMenuBar_Menu), GtkMenuItem_Language); - - misc1 = gtk_menu_item_new_with_mnemonic (_("_Misc")); - gtk_widget_show (misc1); - gtk_container_add (GTK_CONTAINER (GtkMenuBar_Menu), misc1); - - misc1_menu = gtk_menu_new (); - gtk_menu_item_set_submenu (GTK_MENU_ITEM (misc1), misc1_menu); - - patch_browser1 = gtk_menu_item_new_with_mnemonic (_("Patch _Browser")); - gtk_widget_show (patch_browser1); - gtk_container_add (GTK_CONTAINER (misc1_menu), patch_browser1); - - patch_finder2 = gtk_menu_item_new_with_mnemonic (_("Patch _Finder")); - gtk_widget_show (patch_finder2); - gtk_container_add (GTK_CONTAINER (misc1_menu), patch_finder2); - - separator7 = gtk_separator_menu_item_new (); - gtk_widget_show (separator7); - gtk_container_add (GTK_CONTAINER (misc1_menu), separator7); - gtk_widget_set_sensitive (separator7, FALSE); - - enable_console1 = gtk_check_menu_item_new_with_mnemonic (_("Enable _Console")); - gtk_widget_show (enable_console1); - gtk_container_add (GTK_CONTAINER (misc1_menu), enable_console1); - - enable_patches1 = gtk_check_menu_item_new_with_mnemonic (_("Enable _Patches")); - gtk_widget_show (enable_patches1); - gtk_container_add (GTK_CONTAINER (misc1_menu), enable_patches1); - - GtkMenuItem_Debug = gtk_menu_item_new_with_mnemonic (_("_Debug")); - gtk_widget_show (GtkMenuItem_Debug); - gtk_container_add (GTK_CONTAINER (GtkMenuBar_Menu), GtkMenuItem_Debug); - - GtkMenuItem_Debug_menu = gtk_menu_new (); - gtk_menu_item_set_submenu (GTK_MENU_ITEM (GtkMenuItem_Debug), GtkMenuItem_Debug_menu); - - GtkMenuItem_EnterDebugger = gtk_menu_item_new_with_mnemonic (_("Enter Debugger ...")); - gtk_widget_show (GtkMenuItem_EnterDebugger); - gtk_container_add (GTK_CONTAINER (GtkMenuItem_Debug_menu), GtkMenuItem_EnterDebugger); - - GtkMenuItem_Logging = gtk_menu_item_new_with_mnemonic (_("Logging")); - gtk_widget_show (GtkMenuItem_Logging); - gtk_container_add (GTK_CONTAINER (GtkMenuItem_Debug_menu), GtkMenuItem_Logging); - - GtkMenuItem_Help = gtk_menu_item_new_with_mnemonic (_("_Help")); - gtk_widget_show (GtkMenuItem_Help); - gtk_container_add (GTK_CONTAINER (GtkMenuBar_Menu), GtkMenuItem_Help); - - GtkMenuItem_Help_menu = gtk_menu_new (); - gtk_menu_item_set_submenu (GTK_MENU_ITEM (GtkMenuItem_Help), GtkMenuItem_Help_menu); - - GtkMenuItem_About = gtk_menu_item_new_with_mnemonic (_("About PCSX2 - Playground...")); - gtk_widget_show (GtkMenuItem_About); - gtk_container_add (GTK_CONTAINER (GtkMenuItem_Help_menu), GtkMenuItem_About); - - image1 = create_pixmap (MainWindow, "pcsxAbout.bmp"); - gtk_widget_show (image1); - gtk_box_pack_start (GTK_BOX (vbox1), image1, TRUE, TRUE, 1); - - status_box = gtk_vbox_new (FALSE, 0); - gtk_widget_show (status_box); - gtk_box_pack_start (GTK_BOX (vbox1), status_box, TRUE, TRUE, 0); - - g_signal_connect ((gpointer) MainWindow, "destroy", - G_CALLBACK (OnDestroy), - NULL); - g_signal_connect ((gpointer) MainWindow, "delete_event", - G_CALLBACK (OnDelete), - NULL); - g_signal_connect ((gpointer) run_cd1, "activate", - G_CALLBACK (OnFile_RunCD), - NULL); - g_signal_connect ((gpointer) GtkMenuItem_LoadElf, "activate", - G_CALLBACK (OnFile_LoadElf), - NULL); - g_signal_connect ((gpointer) slot_1, "activate", - G_CALLBACK (OnStates_Load1), - NULL); - g_signal_connect ((gpointer) slot_2, "activate", - G_CALLBACK (OnStates_Load2), - NULL); - g_signal_connect ((gpointer) slot_3_, "activate", - G_CALLBACK (OnStates_Load3), - NULL); - g_signal_connect ((gpointer) slot_4, "activate", - G_CALLBACK (OnStates_Load4), - NULL); - g_signal_connect ((gpointer) slot_5, "activate", - G_CALLBACK (OnStates_Load5), - NULL); - g_signal_connect ((gpointer) other1, "activate", - G_CALLBACK (OnStates_LoadOther), - NULL); - g_signal_connect ((gpointer) slot_6, "activate", - G_CALLBACK (OnStates_Save1), - NULL); - g_signal_connect ((gpointer) slot_7, "activate", - G_CALLBACK (OnStates_Save2), - NULL); - g_signal_connect ((gpointer) slot_8, "activate", - G_CALLBACK (OnStates_Save3), - NULL); - g_signal_connect ((gpointer) slot_9, "activate", - G_CALLBACK (OnStates_Save4), - NULL); - g_signal_connect ((gpointer) slot_10, "activate", - G_CALLBACK (OnStates_Save5), - NULL); - g_signal_connect ((gpointer) other2, "activate", - G_CALLBACK (OnStates_SaveOther), - NULL); - g_signal_connect ((gpointer) GtkMenuItem_Exit, "activate", - G_CALLBACK (OnFile_Exit), - NULL); - g_signal_connect ((gpointer) GtkMenuItem_Run, "activate", - G_CALLBACK (OnEmu_Run), - NULL); - g_signal_connect ((gpointer) GtkMenuItem_Reset, "activate", - G_CALLBACK (OnEmu_Reset), - NULL); - g_signal_connect ((gpointer) GtkMenuItem_Arguments, "activate", - G_CALLBACK (OnEmu_Arguments), - NULL); - g_signal_connect ((gpointer) GtkMenuItem_PluginsBios, "activate", - G_CALLBACK (OnConf_Conf), - NULL); - g_signal_connect ((gpointer) GtkMenuItem_Graphics, "activate", - G_CALLBACK (OnConf_Gs), - NULL); - g_signal_connect ((gpointer) GtkMenuItem_Controllers, "activate", - G_CALLBACK (OnConf_Pads), - NULL); - g_signal_connect ((gpointer) GtkMenuItem_Sound, "activate", - G_CALLBACK (OnConf_Spu2), - NULL); - g_signal_connect ((gpointer) GtkMenuItem_Cdvdrom, "activate", - G_CALLBACK (OnConf_Cdvd), - NULL); - g_signal_connect ((gpointer) GtkMenuItem_Dev9, "activate", - G_CALLBACK (OnConf_Dev9), - NULL); - g_signal_connect ((gpointer) GtkMenuItem_USB, "activate", - G_CALLBACK (OnConf_Usb), - NULL); - g_signal_connect ((gpointer) GtkMenuItem_FW, "activate", - G_CALLBACK (OnConf_Fw), - NULL); - g_signal_connect ((gpointer) GtkMenuItem_Cpu, "activate", - G_CALLBACK (OnConf_Cpu), - NULL); - g_signal_connect ((gpointer) GtkMenuItem_Game_Fixes, "activate", - G_CALLBACK (on_Game_Fixes), - NULL); - g_signal_connect ((gpointer) GtkMenuItem_Speed_Hacks, "activate", - G_CALLBACK (on_Speed_Hacks), - NULL); - g_signal_connect ((gpointer) GtkMenuItem_Advanced, "activate", - G_CALLBACK (on_Advanced), - NULL); - g_signal_connect ((gpointer) patch_browser1, "activate", - G_CALLBACK (on_patch_browser1_activate), - NULL); - g_signal_connect ((gpointer) patch_finder2, "activate", - G_CALLBACK (on_patch_finder2_activate), - NULL); - g_signal_connect ((gpointer) enable_console1, "activate", - G_CALLBACK (on_enable_console1_activate), - NULL); - g_signal_connect ((gpointer) enable_patches1, "activate", - G_CALLBACK (on_enable_patches1_activate), - NULL); - g_signal_connect ((gpointer) GtkMenuItem_EnterDebugger, "activate", - G_CALLBACK (OnDebug_Debugger), - NULL); - g_signal_connect ((gpointer) GtkMenuItem_Logging, "activate", - G_CALLBACK (OnDebug_Logging), - NULL); - g_signal_connect ((gpointer) GtkMenuItem_About, "activate", - G_CALLBACK (OnHelp_About), - NULL); - - /* Store pointers to all widgets, for use by lookup_widget(). */ - GLADE_HOOKUP_OBJECT_NO_REF (MainWindow, MainWindow, "MainWindow"); - GLADE_HOOKUP_OBJECT (MainWindow, vbox1, "vbox1"); - GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuBar_Menu, "GtkMenuBar_Menu"); - GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_File, "GtkMenuItem_File"); - GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_File_menu, "GtkMenuItem_File_menu"); - GLADE_HOOKUP_OBJECT (MainWindow, run_cd1, "run_cd1"); - GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_LoadElf, "GtkMenuItem_LoadElf"); - GLADE_HOOKUP_OBJECT (MainWindow, separator2, "separator2"); - GLADE_HOOKUP_OBJECT (MainWindow, states1, "states1"); - GLADE_HOOKUP_OBJECT (MainWindow, states1_menu, "states1_menu"); - GLADE_HOOKUP_OBJECT (MainWindow, load1, "load1"); - GLADE_HOOKUP_OBJECT (MainWindow, load1_menu, "load1_menu"); - GLADE_HOOKUP_OBJECT (MainWindow, slot_1, "slot_1"); - GLADE_HOOKUP_OBJECT (MainWindow, slot_2, "slot_2"); - GLADE_HOOKUP_OBJECT (MainWindow, slot_3_, "slot_3_"); - GLADE_HOOKUP_OBJECT (MainWindow, slot_4, "slot_4"); - GLADE_HOOKUP_OBJECT (MainWindow, slot_5, "slot_5"); - GLADE_HOOKUP_OBJECT (MainWindow, other1, "other1"); - GLADE_HOOKUP_OBJECT (MainWindow, save1, "save1"); - GLADE_HOOKUP_OBJECT (MainWindow, save1_menu, "save1_menu"); - GLADE_HOOKUP_OBJECT (MainWindow, slot_6, "slot_6"); - GLADE_HOOKUP_OBJECT (MainWindow, slot_7, "slot_7"); - GLADE_HOOKUP_OBJECT (MainWindow, slot_8, "slot_8"); - GLADE_HOOKUP_OBJECT (MainWindow, slot_9, "slot_9"); - GLADE_HOOKUP_OBJECT (MainWindow, slot_10, "slot_10"); - GLADE_HOOKUP_OBJECT (MainWindow, other2, "other2"); - GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Exit, "GtkMenuItem_Exit"); - GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Emulator, "GtkMenuItem_Emulator"); - GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Emulator_menu, "GtkMenuItem_Emulator_menu"); - GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Run, "GtkMenuItem_Run"); - GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Reset, "GtkMenuItem_Reset"); - GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Arguments, "GtkMenuItem_Arguments"); - GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Configuration, "GtkMenuItem_Configuration"); - GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Configuration_menu, "GtkMenuItem_Configuration_menu"); - GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_PluginsBios, "GtkMenuItem_PluginsBios"); - GLADE_HOOKUP_OBJECT (MainWindow, separator3, "separator3"); - GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Graphics, "GtkMenuItem_Graphics"); - GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Controllers, "GtkMenuItem_Controllers"); - GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Sound, "GtkMenuItem_Sound"); - GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Cdvdrom, "GtkMenuItem_Cdvdrom"); - GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Dev9, "GtkMenuItem_Dev9"); - GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_USB, "GtkMenuItem_USB"); - GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_FW, "GtkMenuItem_FW"); - GLADE_HOOKUP_OBJECT (MainWindow, separator4, "separator4"); - GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Cpu, "GtkMenuItem_Cpu"); - GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Game_Fixes, "GtkMenuItem_Game_Fixes"); - GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Speed_Hacks, "GtkMenuItem_Speed_Hacks"); - GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Advanced, "GtkMenuItem_Advanced"); - GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Language, "GtkMenuItem_Language"); - GLADE_HOOKUP_OBJECT (MainWindow, misc1, "misc1"); - GLADE_HOOKUP_OBJECT (MainWindow, misc1_menu, "misc1_menu"); - GLADE_HOOKUP_OBJECT (MainWindow, patch_browser1, "patch_browser1"); - GLADE_HOOKUP_OBJECT (MainWindow, patch_finder2, "patch_finder2"); - GLADE_HOOKUP_OBJECT (MainWindow, separator7, "separator7"); - GLADE_HOOKUP_OBJECT (MainWindow, enable_console1, "enable_console1"); - GLADE_HOOKUP_OBJECT (MainWindow, enable_patches1, "enable_patches1"); - GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Debug, "GtkMenuItem_Debug"); - GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Debug_menu, "GtkMenuItem_Debug_menu"); - GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_EnterDebugger, "GtkMenuItem_EnterDebugger"); - GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Logging, "GtkMenuItem_Logging"); - GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Help, "GtkMenuItem_Help"); - GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Help_menu, "GtkMenuItem_Help_menu"); - GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_About, "GtkMenuItem_About"); - GLADE_HOOKUP_OBJECT (MainWindow, image1, "image1"); - GLADE_HOOKUP_OBJECT (MainWindow, status_box, "status_box"); - - return MainWindow; -} - -GtkWidget* -create_PatchBrowserWindow (void) -{ - GtkWidget *PatchBrowserWindow; - GtkWidget *hbox24; - GtkWidget *scrolledwindow2; - GtkWidget *treeview1; - GtkWidget *vbox40; - GtkWidget *button84; - GtkWidget *button85; - GtkWidget *button86; - GtkWidget *button87; - GtkWidget *button88; - GtkWidget *button89; - GtkWidget *button90; - GtkWidget *button91; - - PatchBrowserWindow = gtk_window_new (GTK_WINDOW_TOPLEVEL); - gtk_window_set_title (GTK_WINDOW (PatchBrowserWindow), _("Patch List")); - gtk_window_set_modal (GTK_WINDOW (PatchBrowserWindow), TRUE); - gtk_window_set_decorated (GTK_WINDOW (PatchBrowserWindow), FALSE); - gtk_window_set_type_hint (GTK_WINDOW (PatchBrowserWindow), GDK_WINDOW_TYPE_HINT_DIALOG); - - hbox24 = gtk_hbox_new (FALSE, 0); - gtk_widget_show (hbox24); - gtk_container_add (GTK_CONTAINER (PatchBrowserWindow), hbox24); - - scrolledwindow2 = gtk_scrolled_window_new (NULL, NULL); - gtk_widget_show (scrolledwindow2); - gtk_box_pack_start (GTK_BOX (hbox24), scrolledwindow2, TRUE, TRUE, 0); - gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow2), GTK_SHADOW_IN); - - treeview1 = gtk_tree_view_new (); - gtk_widget_show (treeview1); - gtk_container_add (GTK_CONTAINER (scrolledwindow2), treeview1); - - vbox40 = gtk_vbox_new (FALSE, 0); - gtk_widget_show (vbox40); - gtk_box_pack_start (GTK_BOX (hbox24), vbox40, TRUE, TRUE, 0); - - button84 = gtk_button_new_with_mnemonic (_("Enable / Diable")); - gtk_widget_show (button84); - gtk_box_pack_start (GTK_BOX (vbox40), button84, FALSE, FALSE, 0); - - button85 = gtk_button_new_with_mnemonic (_("Add Patch")); - gtk_widget_show (button85); - gtk_box_pack_start (GTK_BOX (vbox40), button85, FALSE, FALSE, 0); - - button86 = gtk_button_new_with_mnemonic (_("Edit Patch")); - gtk_widget_show (button86); - gtk_box_pack_start (GTK_BOX (vbox40), button86, FALSE, FALSE, 0); - - button87 = gtk_button_new_with_mnemonic (_("Add GS2v3-4")); - gtk_widget_show (button87); - gtk_box_pack_start (GTK_BOX (vbox40), button87, FALSE, FALSE, 0); - - button88 = gtk_button_new_with_mnemonic (_("Add Raw")); - gtk_widget_show (button88); - gtk_box_pack_start (GTK_BOX (vbox40), button88, FALSE, FALSE, 0); - - button89 = gtk_button_new_with_mnemonic (_("Pnach Writer")); - gtk_widget_show (button89); - gtk_box_pack_start (GTK_BOX (vbox40), button89, FALSE, FALSE, 0); - - button90 = gtk_button_new_with_mnemonic (_("Skip Mpeg")); - gtk_widget_show (button90); - gtk_box_pack_start (GTK_BOX (vbox40), button90, FALSE, FALSE, 0); - - button91 = gtk_button_new_from_stock ("gtk-close"); - gtk_widget_show (button91); - gtk_box_pack_start (GTK_BOX (vbox40), button91, FALSE, FALSE, 0); - - /* Store pointers to all widgets, for use by lookup_widget(). */ - GLADE_HOOKUP_OBJECT_NO_REF (PatchBrowserWindow, PatchBrowserWindow, "PatchBrowserWindow"); - GLADE_HOOKUP_OBJECT (PatchBrowserWindow, hbox24, "hbox24"); - GLADE_HOOKUP_OBJECT (PatchBrowserWindow, scrolledwindow2, "scrolledwindow2"); - GLADE_HOOKUP_OBJECT (PatchBrowserWindow, treeview1, "treeview1"); - GLADE_HOOKUP_OBJECT (PatchBrowserWindow, vbox40, "vbox40"); - GLADE_HOOKUP_OBJECT (PatchBrowserWindow, button84, "button84"); - GLADE_HOOKUP_OBJECT (PatchBrowserWindow, button85, "button85"); - GLADE_HOOKUP_OBJECT (PatchBrowserWindow, button86, "button86"); - GLADE_HOOKUP_OBJECT (PatchBrowserWindow, button87, "button87"); - GLADE_HOOKUP_OBJECT (PatchBrowserWindow, button88, "button88"); - GLADE_HOOKUP_OBJECT (PatchBrowserWindow, button89, "button89"); - GLADE_HOOKUP_OBJECT (PatchBrowserWindow, button90, "button90"); - GLADE_HOOKUP_OBJECT (PatchBrowserWindow, button91, "button91"); - - return PatchBrowserWindow; -} - -GtkWidget* -create_PatchFinderWindow (void) -{ - GtkWidget *PatchFinderWindow; - GtkWidget *hbox25; - GtkWidget *vbox43; - GtkWidget *frame19; - GtkWidget *alignment14; - GtkWidget *vbox44; - GtkWidget *radiobutton1; - GSList *radiobutton1_group = NULL; - GtkWidget *radiobutton2; - GtkWidget *label55; - GtkWidget *frame20; - GtkWidget *alignment15; - GtkWidget *table6; - GtkWidget *radiobutton3; - GSList *radiobutton3_group = NULL; - GtkWidget *radiobutton4; - GtkWidget *radiobutton5; - GtkWidget *radiobutton6; - GtkWidget *checkbutton1; - GtkWidget *label56; - GtkWidget *frame21; - GtkWidget *alignment16; - GtkWidget *vbox45; - GtkWidget *radiobutton7; - GSList *radiobutton7_group = NULL; - GtkWidget *radiobutton8; - GtkWidget *radiobutton9; - GtkWidget *radiobutton10; - GtkWidget *radiobutton11; - GtkWidget *radiobutton12; - GtkWidget *label57; - GtkWidget *frame22; - GtkWidget *alignment17; - GtkWidget *vbox46; - GtkWidget *radiobutton13; - GSList *radiobutton13_group = NULL; - GtkWidget *radiobutton14; - GtkWidget *entry1; - GtkWidget *label58; - GtkWidget *vbox41; - GtkWidget *vbox42; - GtkWidget *hbox26; - GtkWidget *label59; - GtkWidget *label60; - GtkWidget *label61; - GtkWidget *scrolledwindow3; - GtkWidget *treeview2; - GtkWidget *table5; - GtkWidget *button92; - GtkWidget *button93; - GtkWidget *button94; - GtkWidget *button95; - - PatchFinderWindow = gtk_window_new (GTK_WINDOW_TOPLEVEL); - gtk_window_set_title (GTK_WINDOW (PatchFinderWindow), _("Patch Finder")); - gtk_window_set_modal (GTK_WINDOW (PatchFinderWindow), TRUE); - gtk_window_set_type_hint (GTK_WINDOW (PatchFinderWindow), GDK_WINDOW_TYPE_HINT_DIALOG); - - hbox25 = gtk_hbox_new (FALSE, 0); - gtk_widget_show (hbox25); - gtk_container_add (GTK_CONTAINER (PatchFinderWindow), hbox25); - - vbox43 = gtk_vbox_new (FALSE, 0); - gtk_widget_show (vbox43); - gtk_box_pack_start (GTK_BOX (hbox25), vbox43, TRUE, TRUE, 0); - - frame19 = gtk_frame_new (NULL); - gtk_widget_show (frame19); - gtk_box_pack_start (GTK_BOX (vbox43), frame19, TRUE, TRUE, 0); - gtk_frame_set_shadow_type (GTK_FRAME (frame19), GTK_SHADOW_NONE); - - alignment14 = gtk_alignment_new (0.5, 0.5, 1, 1); - gtk_widget_show (alignment14); - gtk_container_add (GTK_CONTAINER (frame19), alignment14); - gtk_alignment_set_padding (GTK_ALIGNMENT (alignment14), 0, 0, 12, 0); - - vbox44 = gtk_vbox_new (FALSE, 0); - gtk_widget_show (vbox44); - gtk_container_add (GTK_CONTAINER (alignment14), vbox44); - - radiobutton1 = gtk_radio_button_new_with_mnemonic (NULL, _("EE RAM")); - gtk_widget_show (radiobutton1); - gtk_box_pack_start (GTK_BOX (vbox44), radiobutton1, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton1), radiobutton1_group); - radiobutton1_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton1)); - - radiobutton2 = gtk_radio_button_new_with_mnemonic (NULL, _("IOP RAM")); - gtk_widget_show (radiobutton2); - gtk_box_pack_start (GTK_BOX (vbox44), radiobutton2, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton2), radiobutton1_group); - radiobutton1_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton2)); - - label55 = gtk_label_new (_("Search In")); - gtk_widget_show (label55); - gtk_frame_set_label_widget (GTK_FRAME (frame19), label55); - gtk_label_set_use_markup (GTK_LABEL (label55), TRUE); - - frame20 = gtk_frame_new (NULL); - gtk_widget_show (frame20); - gtk_box_pack_start (GTK_BOX (vbox43), frame20, TRUE, TRUE, 0); - gtk_frame_set_shadow_type (GTK_FRAME (frame20), GTK_SHADOW_NONE); - - alignment15 = gtk_alignment_new (0.5, 0.5, 1, 1); - gtk_widget_show (alignment15); - gtk_container_add (GTK_CONTAINER (frame20), alignment15); - gtk_alignment_set_padding (GTK_ALIGNMENT (alignment15), 0, 0, 12, 0); - - table6 = gtk_table_new (3, 2, FALSE); - gtk_widget_show (table6); - gtk_container_add (GTK_CONTAINER (alignment15), table6); - - radiobutton3 = gtk_radio_button_new_with_mnemonic (NULL, _("8 bits")); - gtk_widget_show (radiobutton3); - gtk_table_attach (GTK_TABLE (table6), radiobutton3, 0, 1, 0, 1, - (GtkAttachOptions) (GTK_FILL), - (GtkAttachOptions) (0), 0, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton3), radiobutton3_group); - radiobutton3_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton3)); - - radiobutton4 = gtk_radio_button_new_with_mnemonic (NULL, _("16 bits")); - gtk_widget_show (radiobutton4); - gtk_table_attach (GTK_TABLE (table6), radiobutton4, 1, 2, 0, 1, - (GtkAttachOptions) (GTK_FILL), - (GtkAttachOptions) (0), 0, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton4), radiobutton3_group); - radiobutton3_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton4)); - - radiobutton5 = gtk_radio_button_new_with_mnemonic (NULL, _("32 bits")); - gtk_widget_show (radiobutton5); - gtk_table_attach (GTK_TABLE (table6), radiobutton5, 0, 1, 1, 2, - (GtkAttachOptions) (GTK_FILL), - (GtkAttachOptions) (0), 0, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton5), radiobutton3_group); - radiobutton3_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton5)); - - radiobutton6 = gtk_radio_button_new_with_mnemonic (NULL, _("64 bits")); - gtk_widget_show (radiobutton6); - gtk_table_attach (GTK_TABLE (table6), radiobutton6, 1, 2, 1, 2, - (GtkAttachOptions) (GTK_FILL), - (GtkAttachOptions) (0), 0, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton6), radiobutton3_group); - radiobutton3_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton6)); - - checkbutton1 = gtk_check_button_new_with_mnemonic (_("Unsigned")); - gtk_widget_show (checkbutton1); - gtk_table_attach (GTK_TABLE (table6), checkbutton1, 0, 1, 2, 3, - (GtkAttachOptions) (GTK_FILL), - (GtkAttachOptions) (0), 0, 0); - - label56 = gtk_label_new (_("Values of Size")); - gtk_widget_show (label56); - gtk_frame_set_label_widget (GTK_FRAME (frame20), label56); - gtk_label_set_use_markup (GTK_LABEL (label56), TRUE); - - frame21 = gtk_frame_new (NULL); - gtk_widget_show (frame21); - gtk_box_pack_start (GTK_BOX (vbox43), frame21, TRUE, TRUE, 0); - gtk_frame_set_shadow_type (GTK_FRAME (frame21), GTK_SHADOW_NONE); - - alignment16 = gtk_alignment_new (0.5, 0.5, 1, 1); - gtk_widget_show (alignment16); - gtk_container_add (GTK_CONTAINER (frame21), alignment16); - gtk_alignment_set_padding (GTK_ALIGNMENT (alignment16), 0, 0, 12, 0); - - vbox45 = gtk_vbox_new (FALSE, 0); - gtk_widget_show (vbox45); - gtk_container_add (GTK_CONTAINER (alignment16), vbox45); - - radiobutton7 = gtk_radio_button_new_with_mnemonic (NULL, _("Equal")); - gtk_widget_show (radiobutton7); - gtk_box_pack_start (GTK_BOX (vbox45), radiobutton7, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton7), radiobutton7_group); - radiobutton7_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton7)); - - radiobutton8 = gtk_radio_button_new_with_mnemonic (NULL, _("Greater Then")); - gtk_widget_show (radiobutton8); - gtk_box_pack_start (GTK_BOX (vbox45), radiobutton8, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton8), radiobutton7_group); - radiobutton7_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton8)); - - radiobutton9 = gtk_radio_button_new_with_mnemonic (NULL, _("Less Then")); - gtk_widget_show (radiobutton9); - gtk_box_pack_start (GTK_BOX (vbox45), radiobutton9, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton9), radiobutton7_group); - radiobutton7_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton9)); - - radiobutton10 = gtk_radio_button_new_with_mnemonic (NULL, _("Greater Then or Equal")); - gtk_widget_show (radiobutton10); - gtk_box_pack_start (GTK_BOX (vbox45), radiobutton10, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton10), radiobutton7_group); - radiobutton7_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton10)); - - radiobutton11 = gtk_radio_button_new_with_mnemonic (NULL, _("Less Then or Equal")); - gtk_widget_show (radiobutton11); - gtk_box_pack_start (GTK_BOX (vbox45), radiobutton11, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton11), radiobutton7_group); - radiobutton7_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton11)); - - radiobutton12 = gtk_radio_button_new_with_mnemonic (NULL, _("Not Equal")); - gtk_widget_show (radiobutton12); - gtk_box_pack_start (GTK_BOX (vbox45), radiobutton12, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton12), radiobutton7_group); - radiobutton7_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton12)); - - label57 = gtk_label_new (_("Being")); - gtk_widget_show (label57); - gtk_frame_set_label_widget (GTK_FRAME (frame21), label57); - gtk_label_set_use_markup (GTK_LABEL (label57), TRUE); - - frame22 = gtk_frame_new (NULL); - gtk_widget_show (frame22); - gtk_box_pack_start (GTK_BOX (vbox43), frame22, TRUE, TRUE, 0); - gtk_frame_set_shadow_type (GTK_FRAME (frame22), GTK_SHADOW_NONE); - - alignment17 = gtk_alignment_new (0.5, 0.5, 1, 1); - gtk_widget_show (alignment17); - gtk_container_add (GTK_CONTAINER (frame22), alignment17); - gtk_alignment_set_padding (GTK_ALIGNMENT (alignment17), 0, 0, 12, 0); - - vbox46 = gtk_vbox_new (FALSE, 0); - gtk_widget_show (vbox46); - gtk_container_add (GTK_CONTAINER (alignment17), vbox46); - - radiobutton13 = gtk_radio_button_new_with_mnemonic (NULL, _("Old Value")); - gtk_widget_show (radiobutton13); - gtk_box_pack_start (GTK_BOX (vbox46), radiobutton13, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton13), radiobutton13_group); - radiobutton13_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton13)); - - radiobutton14 = gtk_radio_button_new_with_mnemonic (NULL, _("Specific Value")); - gtk_widget_show (radiobutton14); - gtk_box_pack_start (GTK_BOX (vbox46), radiobutton14, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton14), radiobutton13_group); - radiobutton13_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton14)); - - entry1 = gtk_entry_new (); - gtk_widget_show (entry1); - gtk_box_pack_start (GTK_BOX (vbox46), entry1, FALSE, FALSE, 0); - - label58 = gtk_label_new (_("Compared To")); - gtk_widget_show (label58); - gtk_frame_set_label_widget (GTK_FRAME (frame22), label58); - gtk_label_set_use_markup (GTK_LABEL (label58), TRUE); - - vbox41 = gtk_vbox_new (FALSE, 0); - gtk_widget_show (vbox41); - gtk_box_pack_start (GTK_BOX (hbox25), vbox41, TRUE, TRUE, 0); - - vbox42 = gtk_vbox_new (FALSE, 0); - gtk_widget_show (vbox42); - gtk_box_pack_start (GTK_BOX (vbox41), vbox42, TRUE, TRUE, 0); - - hbox26 = gtk_hbox_new (FALSE, 0); - gtk_widget_show (hbox26); - gtk_box_pack_start (GTK_BOX (vbox42), hbox26, FALSE, FALSE, 0); - - label59 = gtk_label_new (_("Results:")); - gtk_widget_show (label59); - gtk_box_pack_start (GTK_BOX (hbox26), label59, FALSE, FALSE, 0); - - label60 = gtk_label_new (_("%s")); - gtk_widget_show (label60); - gtk_box_pack_start (GTK_BOX (hbox26), label60, TRUE, TRUE, 0); - gtk_label_set_justify (GTK_LABEL (label60), GTK_JUSTIFY_CENTER); - - label61 = gtk_label_new (_("Ready to Search")); - gtk_widget_show (label61); - gtk_box_pack_start (GTK_BOX (hbox26), label61, TRUE, FALSE, 0); - gtk_label_set_justify (GTK_LABEL (label61), GTK_JUSTIFY_RIGHT); - - scrolledwindow3 = gtk_scrolled_window_new (NULL, NULL); - gtk_widget_show (scrolledwindow3); - gtk_box_pack_start (GTK_BOX (vbox42), scrolledwindow3, TRUE, TRUE, 0); - gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow3), GTK_SHADOW_IN); - - treeview2 = gtk_tree_view_new (); - gtk_widget_show (treeview2); - gtk_container_add (GTK_CONTAINER (scrolledwindow3), treeview2); - - table5 = gtk_table_new (2, 2, FALSE); - gtk_widget_show (table5); - gtk_box_pack_start (GTK_BOX (vbox41), table5, FALSE, TRUE, 0); - - button92 = gtk_button_new_from_stock ("gtk-clear"); - gtk_widget_show (button92); - gtk_table_attach (GTK_TABLE (table5), button92, 0, 1, 0, 1, - (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), - (GtkAttachOptions) (0), 0, 0); - - button93 = gtk_button_new_from_stock ("gtk-find"); - gtk_widget_show (button93); - gtk_table_attach (GTK_TABLE (table5), button93, 1, 2, 0, 1, - (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), - (GtkAttachOptions) (0), 0, 0); - - button94 = gtk_button_new_from_stock ("gtk-add"); - gtk_widget_show (button94); - gtk_table_attach (GTK_TABLE (table5), button94, 0, 1, 1, 2, - (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), - (GtkAttachOptions) (0), 0, 0); - - button95 = gtk_button_new_from_stock ("gtk-close"); - gtk_widget_show (button95); - gtk_table_attach (GTK_TABLE (table5), button95, 1, 2, 1, 2, - (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), - (GtkAttachOptions) (0), 0, 0); - - /* Store pointers to all widgets, for use by lookup_widget(). */ - GLADE_HOOKUP_OBJECT_NO_REF (PatchFinderWindow, PatchFinderWindow, "PatchFinderWindow"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, hbox25, "hbox25"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, vbox43, "vbox43"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, frame19, "frame19"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, alignment14, "alignment14"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, vbox44, "vbox44"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, radiobutton1, "radiobutton1"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, radiobutton2, "radiobutton2"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, label55, "label55"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, frame20, "frame20"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, alignment15, "alignment15"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, table6, "table6"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, radiobutton3, "radiobutton3"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, radiobutton4, "radiobutton4"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, radiobutton5, "radiobutton5"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, radiobutton6, "radiobutton6"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, checkbutton1, "checkbutton1"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, label56, "label56"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, frame21, "frame21"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, alignment16, "alignment16"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, vbox45, "vbox45"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, radiobutton7, "radiobutton7"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, radiobutton8, "radiobutton8"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, radiobutton9, "radiobutton9"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, radiobutton10, "radiobutton10"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, radiobutton11, "radiobutton11"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, radiobutton12, "radiobutton12"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, label57, "label57"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, frame22, "frame22"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, alignment17, "alignment17"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, vbox46, "vbox46"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, radiobutton13, "radiobutton13"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, radiobutton14, "radiobutton14"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, entry1, "entry1"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, label58, "label58"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, vbox41, "vbox41"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, vbox42, "vbox42"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, hbox26, "hbox26"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, label59, "label59"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, label60, "label60"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, label61, "label61"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, scrolledwindow3, "scrolledwindow3"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, treeview2, "treeview2"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, table5, "table5"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, button92, "button92"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, button93, "button93"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, button94, "button94"); - GLADE_HOOKUP_OBJECT (PatchFinderWindow, button95, "button95"); - - return PatchFinderWindow; -} - -GtkWidget* -create_CpuDlg (void) -{ - GtkWidget *CpuDlg; - GtkWidget *dialog_vbox5; - GtkWidget *hbox27; - GtkWidget *vbox47; - GtkWidget *frame8; - GtkWidget *alignment2; - GtkWidget *vbox28; - GtkWidget *GtkLabel_CpuVendor; - GtkWidget *GtkLabel_Family; - GtkWidget *GtkLabel_CpuSpeed; - GtkWidget *GtkLabel_Features; - GtkWidget *label35; - GtkWidget *GtkCheckButton_EERec; - GtkWidget *frame6; - GtkWidget *vbox26; - GtkWidget *GtkCheckButton_VU0rec; - GtkWidget *GtkCheckButton_VU1rec; - GtkWidget *label32; - GtkWidget *GtkCheckButton_MTGS; - GtkWidget *vbox48; - GtkWidget *frame9; - GtkWidget *alignment4; - GtkWidget *vbox29; - GtkWidget *GtkRadioButton_LimitNormal; - GSList *GtkRadioButton_LimitNormal_group = NULL; - GtkWidget *GtkRadioButton_LimitLimit; - GtkWidget *GtkRadioButton_LimitFS; - GtkWidget *GtkRadioButton_VUSkip; - GtkWidget *label41; - GtkWidget *frame23; - GtkWidget *alignment18; - GtkWidget *vbox49; - GtkWidget *hbox29; - GtkWidget *label66; - GtkObject *CustomFPSLimit_adj; - GtkWidget *CustomFPSLimit; - GtkWidget *hbox30; - GtkWidget *label67; - GtkObject *FrameThreshold_adj; - GtkWidget *FrameThreshold; - GtkWidget *hbox31; - GtkWidget *label68; - GtkObject *FramesBeforeSkipping_adj; - GtkWidget *FramesBeforeSkipping; - GtkWidget *hbox32; - GtkWidget *label69; - GtkObject *FramesToSkip_adj; - GtkWidget *FramesToSkip; - GtkWidget *label63; - GtkWidget *label64; - GtkWidget *label65; - GtkWidget *label62; - GtkWidget *dialog_action_area5; - GtkWidget *button96; - GtkWidget *button97; - - CpuDlg = gtk_dialog_new (); - gtk_window_set_title (GTK_WINDOW (CpuDlg), _("dialog1")); - gtk_window_set_type_hint (GTK_WINDOW (CpuDlg), GDK_WINDOW_TYPE_HINT_DIALOG); - - dialog_vbox5 = GTK_DIALOG (CpuDlg)->vbox; - gtk_widget_show (dialog_vbox5); - - hbox27 = gtk_hbox_new (FALSE, 0); - gtk_widget_show (hbox27); - gtk_box_pack_start (GTK_BOX (dialog_vbox5), hbox27, TRUE, TRUE, 0); - - vbox47 = gtk_vbox_new (FALSE, 0); - gtk_widget_show (vbox47); - gtk_box_pack_start (GTK_BOX (hbox27), vbox47, TRUE, TRUE, 0); - - frame8 = gtk_frame_new (NULL); - gtk_widget_show (frame8); - gtk_box_pack_start (GTK_BOX (vbox47), frame8, TRUE, TRUE, 0); - - alignment2 = gtk_alignment_new (0.5, 0.5, 1, 1); - gtk_widget_show (alignment2); - gtk_container_add (GTK_CONTAINER (frame8), alignment2); - gtk_alignment_set_padding (GTK_ALIGNMENT (alignment2), 0, 0, 12, 0); - - vbox28 = gtk_vbox_new (FALSE, 0); - gtk_widget_show (vbox28); - gtk_container_add (GTK_CONTAINER (alignment2), vbox28); - - GtkLabel_CpuVendor = gtk_label_new (_("CPU vendor")); - gtk_widget_show (GtkLabel_CpuVendor); - gtk_box_pack_start (GTK_BOX (vbox28), GtkLabel_CpuVendor, FALSE, FALSE, 0); - - GtkLabel_Family = gtk_label_new (_("Family")); - gtk_widget_show (GtkLabel_Family); - gtk_box_pack_start (GTK_BOX (vbox28), GtkLabel_Family, FALSE, FALSE, 0); - - GtkLabel_CpuSpeed = gtk_label_new (_("Cpu Speed")); - gtk_widget_show (GtkLabel_CpuSpeed); - gtk_box_pack_start (GTK_BOX (vbox28), GtkLabel_CpuSpeed, FALSE, FALSE, 0); - - GtkLabel_Features = gtk_label_new (_("Features")); - gtk_widget_show (GtkLabel_Features); - gtk_box_pack_start (GTK_BOX (vbox28), GtkLabel_Features, FALSE, FALSE, 0); - - label35 = gtk_label_new (""); - gtk_widget_show (label35); - gtk_frame_set_label_widget (GTK_FRAME (frame8), label35); - gtk_label_set_use_markup (GTK_LABEL (label35), TRUE); - - GtkCheckButton_EERec = gtk_check_button_new_with_mnemonic (_("EERec - EE/IOP recompiler (Need MMX/SSE/SSE2)")); - gtk_widget_show (GtkCheckButton_EERec); - gtk_box_pack_start (GTK_BOX (vbox47), GtkCheckButton_EERec, FALSE, FALSE, 0); - - frame6 = gtk_frame_new (NULL); - gtk_widget_show (frame6); - gtk_box_pack_start (GTK_BOX (vbox47), frame6, TRUE, TRUE, 0); - gtk_container_set_border_width (GTK_CONTAINER (frame6), 5); - - vbox26 = gtk_vbox_new (FALSE, 0); - gtk_widget_show (vbox26); - gtk_container_add (GTK_CONTAINER (frame6), vbox26); - gtk_container_set_border_width (GTK_CONTAINER (vbox26), 5); - - GtkCheckButton_VU0rec = gtk_check_button_new_with_mnemonic (_("VU0rec - enable recompiler for VU0 unit")); - gtk_widget_show (GtkCheckButton_VU0rec); - gtk_box_pack_start (GTK_BOX (vbox26), GtkCheckButton_VU0rec, FALSE, FALSE, 0); - - GtkCheckButton_VU1rec = gtk_check_button_new_with_mnemonic (_("VU1rec - enable recompiler for VU1 unit")); - gtk_widget_show (GtkCheckButton_VU1rec); - gtk_box_pack_start (GTK_BOX (vbox26), GtkCheckButton_VU1rec, FALSE, FALSE, 0); - - label32 = gtk_label_new (_("VU Recompilers - All options are set by default")); - gtk_widget_show (label32); - gtk_frame_set_label_widget (GTK_FRAME (frame6), label32); - - GtkCheckButton_MTGS = gtk_check_button_new_with_mnemonic (_("Multi threaded GS mode (MTGS)\n (faster on dual core/HT CPUs, requires pcsx2 restart)")); - gtk_widget_show (GtkCheckButton_MTGS); - gtk_box_pack_start (GTK_BOX (vbox47), GtkCheckButton_MTGS, FALSE, FALSE, 0); - - vbox48 = gtk_vbox_new (FALSE, 0); - gtk_widget_show (vbox48); - gtk_box_pack_start (GTK_BOX (hbox27), vbox48, TRUE, TRUE, 0); - - frame9 = gtk_frame_new (NULL); - gtk_widget_show (frame9); - gtk_box_pack_start (GTK_BOX (vbox48), frame9, TRUE, TRUE, 0); - - alignment4 = gtk_alignment_new (0.5, 0.5, 1, 1); - gtk_widget_show (alignment4); - gtk_container_add (GTK_CONTAINER (frame9), alignment4); - gtk_alignment_set_padding (GTK_ALIGNMENT (alignment4), 0, 0, 12, 0); - - vbox29 = gtk_vbox_new (FALSE, 0); - gtk_widget_show (vbox29); - gtk_container_add (GTK_CONTAINER (alignment4), vbox29); - - GtkRadioButton_LimitNormal = gtk_radio_button_new_with_mnemonic (NULL, _("Normal - All frames are rendered as fast as possible")); - gtk_widget_show (GtkRadioButton_LimitNormal); - gtk_box_pack_start (GTK_BOX (vbox29), GtkRadioButton_LimitNormal, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (GtkRadioButton_LimitNormal), GtkRadioButton_LimitNormal_group); - GtkRadioButton_LimitNormal_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (GtkRadioButton_LimitNormal)); - - GtkRadioButton_LimitLimit = gtk_radio_button_new_with_mnemonic (NULL, _("Limit - Force frames to normal speeds if too fast")); - gtk_widget_show (GtkRadioButton_LimitLimit); - gtk_box_pack_start (GTK_BOX (vbox29), GtkRadioButton_LimitLimit, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (GtkRadioButton_LimitLimit), GtkRadioButton_LimitNormal_group); - GtkRadioButton_LimitNormal_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (GtkRadioButton_LimitLimit)); - - GtkRadioButton_LimitFS = gtk_radio_button_new_with_mnemonic (NULL, _("Frame Skip - In order to achieve normal speeds, \n some frames are skipped (faster).\n Fps displayed counts skipped frames too")); - gtk_widget_show (GtkRadioButton_LimitFS); - gtk_box_pack_start (GTK_BOX (vbox29), GtkRadioButton_LimitFS, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (GtkRadioButton_LimitFS), GtkRadioButton_LimitNormal_group); - GtkRadioButton_LimitNormal_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (GtkRadioButton_LimitFS)); - - GtkRadioButton_VUSkip = gtk_radio_button_new_with_mnemonic (NULL, _("VU Skip - Same as Frame Skip, but tried to skip more. \n Artifacts might be present, but will be faster")); - gtk_widget_show (GtkRadioButton_VUSkip); - gtk_box_pack_start (GTK_BOX (vbox29), GtkRadioButton_VUSkip, FALSE, FALSE, 0); - gtk_radio_button_set_group (GTK_RADIO_BUTTON (GtkRadioButton_VUSkip), GtkRadioButton_LimitNormal_group); - GtkRadioButton_LimitNormal_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (GtkRadioButton_VUSkip)); - - label41 = gtk_label_new (_("Frame Limiting (F4 switches in-game)")); - gtk_widget_show (label41); - gtk_frame_set_label_widget (GTK_FRAME (frame9), label41); - gtk_label_set_use_markup (GTK_LABEL (label41), TRUE); - - frame23 = gtk_frame_new (NULL); - gtk_widget_show (frame23); - gtk_box_pack_start (GTK_BOX (vbox48), frame23, TRUE, TRUE, 0); - gtk_frame_set_shadow_type (GTK_FRAME (frame23), GTK_SHADOW_NONE); - - alignment18 = gtk_alignment_new (0.5, 0.5, 1, 1); - gtk_widget_show (alignment18); - gtk_container_add (GTK_CONTAINER (frame23), alignment18); - gtk_alignment_set_padding (GTK_ALIGNMENT (alignment18), 0, 0, 12, 0); - - vbox49 = gtk_vbox_new (FALSE, 0); - gtk_widget_show (vbox49); - gtk_container_add (GTK_CONTAINER (alignment18), vbox49); - - hbox29 = gtk_hbox_new (FALSE, 0); - gtk_widget_show (hbox29); - gtk_box_pack_start (GTK_BOX (vbox49), hbox29, TRUE, TRUE, 0); - - label66 = gtk_label_new (_("Custom FPS Limit (0=auto):")); - gtk_widget_show (label66); - gtk_box_pack_start (GTK_BOX (hbox29), label66, TRUE, TRUE, 0); - - CustomFPSLimit_adj = gtk_adjustment_new (0, 0, 9999, 1, 0, 0); - CustomFPSLimit = gtk_spin_button_new (GTK_ADJUSTMENT (CustomFPSLimit_adj), 1, 0); - gtk_widget_show (CustomFPSLimit); - gtk_box_pack_end (GTK_BOX (hbox29), CustomFPSLimit, FALSE, TRUE, 0); - gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (CustomFPSLimit), TRUE); - - hbox30 = gtk_hbox_new (FALSE, 0); - gtk_widget_show (hbox30); - gtk_box_pack_start (GTK_BOX (vbox49), hbox30, TRUE, TRUE, 0); - - label67 = gtk_label_new (_("Skip Frames when slower than[1]:")); - gtk_widget_show (label67); - gtk_box_pack_start (GTK_BOX (hbox30), label67, TRUE, TRUE, 0); - - FrameThreshold_adj = gtk_adjustment_new (0, 0, 9999, 1, 0, 0); - FrameThreshold = gtk_spin_button_new (GTK_ADJUSTMENT (FrameThreshold_adj), 1, 0); - gtk_widget_show (FrameThreshold); - gtk_box_pack_end (GTK_BOX (hbox30), FrameThreshold, FALSE, TRUE, 0); - - hbox31 = gtk_hbox_new (FALSE, 0); - gtk_widget_show (hbox31); - gtk_box_pack_start (GTK_BOX (vbox49), hbox31, TRUE, TRUE, 0); - - label68 = gtk_label_new (_("Consecutive Frames before skipping[2]:")); - gtk_widget_show (label68); - gtk_box_pack_start (GTK_BOX (hbox31), label68, TRUE, TRUE, 0); - - FramesBeforeSkipping_adj = gtk_adjustment_new (0, 0, 9999, 1, 0, 0); - FramesBeforeSkipping = gtk_spin_button_new (GTK_ADJUSTMENT (FramesBeforeSkipping_adj), 1, 0); - gtk_widget_show (FramesBeforeSkipping); - gtk_box_pack_end (GTK_BOX (hbox31), FramesBeforeSkipping, FALSE, TRUE, 0); - - hbox32 = gtk_hbox_new (FALSE, 0); - gtk_widget_show (hbox32); - gtk_box_pack_start (GTK_BOX (vbox49), hbox32, TRUE, TRUE, 0); - - label69 = gtk_label_new (_("Consecutive Frames to skip[3]:")); - gtk_widget_show (label69); - gtk_box_pack_start (GTK_BOX (hbox32), label69, TRUE, TRUE, 0); - - FramesToSkip_adj = gtk_adjustment_new (0, 0, 9999, 1, 0, 0); - FramesToSkip = gtk_spin_button_new (GTK_ADJUSTMENT (FramesToSkip_adj), 1, 0); - gtk_widget_show (FramesToSkip); - gtk_box_pack_end (GTK_BOX (hbox32), FramesToSkip, FALSE, TRUE, 0); - - label63 = gtk_label_new (_("[1] Only skips when slower then this number(0 is auto; 9999 always skips).")); - gtk_widget_show (label63); - gtk_box_pack_start (GTK_BOX (vbox49), label63, FALSE, FALSE, 0); - gtk_label_set_line_wrap (GTK_LABEL (label63), TRUE); - - label64 = gtk_label_new (_("[2] Renders this many frames before skipping (0 is default).")); - gtk_widget_show (label64); - gtk_box_pack_start (GTK_BOX (vbox49), label64, FALSE, FALSE, 0); - gtk_label_set_line_wrap (GTK_LABEL (label64), TRUE); - - label65 = gtk_label_new (_("[3] Skips this many frames before continuing (0 is default).")); - gtk_widget_show (label65); - gtk_box_pack_start (GTK_BOX (vbox49), label65, FALSE, FALSE, 0); - gtk_label_set_line_wrap (GTK_LABEL (label65), TRUE); - - label62 = gtk_label_new (_("Detailed Settings")); - gtk_widget_show (label62); - gtk_frame_set_label_widget (GTK_FRAME (frame23), label62); - gtk_label_set_use_markup (GTK_LABEL (label62), TRUE); - - dialog_action_area5 = GTK_DIALOG (CpuDlg)->action_area; - gtk_widget_show (dialog_action_area5); - gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area5), GTK_BUTTONBOX_END); - - button96 = gtk_button_new_from_stock ("gtk-ok"); - gtk_widget_show (button96); - gtk_dialog_add_action_widget (GTK_DIALOG (CpuDlg), button96, 0); - GTK_WIDGET_SET_FLAGS (button96, GTK_CAN_DEFAULT); - - button97 = gtk_button_new_from_stock ("gtk-cancel"); - gtk_widget_show (button97); - gtk_dialog_add_action_widget (GTK_DIALOG (CpuDlg), button97, 0); - GTK_WIDGET_SET_FLAGS (button97, GTK_CAN_DEFAULT); - - g_signal_connect ((gpointer) button96, "clicked", - G_CALLBACK (OnCpu_Ok), - NULL); - g_signal_connect ((gpointer) button97, "clicked", - G_CALLBACK (On_Dialog_Cancelled), - NULL); - - /* Store pointers to all widgets, for use by lookup_widget(). */ - GLADE_HOOKUP_OBJECT_NO_REF (CpuDlg, CpuDlg, "CpuDlg"); - GLADE_HOOKUP_OBJECT_NO_REF (CpuDlg, dialog_vbox5, "dialog_vbox5"); - GLADE_HOOKUP_OBJECT (CpuDlg, hbox27, "hbox27"); - GLADE_HOOKUP_OBJECT (CpuDlg, vbox47, "vbox47"); - GLADE_HOOKUP_OBJECT (CpuDlg, frame8, "frame8"); - GLADE_HOOKUP_OBJECT (CpuDlg, alignment2, "alignment2"); - GLADE_HOOKUP_OBJECT (CpuDlg, vbox28, "vbox28"); - GLADE_HOOKUP_OBJECT (CpuDlg, GtkLabel_CpuVendor, "GtkLabel_CpuVendor"); - GLADE_HOOKUP_OBJECT (CpuDlg, GtkLabel_Family, "GtkLabel_Family"); - GLADE_HOOKUP_OBJECT (CpuDlg, GtkLabel_CpuSpeed, "GtkLabel_CpuSpeed"); - GLADE_HOOKUP_OBJECT (CpuDlg, GtkLabel_Features, "GtkLabel_Features"); - GLADE_HOOKUP_OBJECT (CpuDlg, label35, "label35"); - GLADE_HOOKUP_OBJECT (CpuDlg, GtkCheckButton_EERec, "GtkCheckButton_EERec"); - GLADE_HOOKUP_OBJECT (CpuDlg, frame6, "frame6"); - GLADE_HOOKUP_OBJECT (CpuDlg, vbox26, "vbox26"); - GLADE_HOOKUP_OBJECT (CpuDlg, GtkCheckButton_VU0rec, "GtkCheckButton_VU0rec"); - GLADE_HOOKUP_OBJECT (CpuDlg, GtkCheckButton_VU1rec, "GtkCheckButton_VU1rec"); - GLADE_HOOKUP_OBJECT (CpuDlg, label32, "label32"); - GLADE_HOOKUP_OBJECT (CpuDlg, GtkCheckButton_MTGS, "GtkCheckButton_MTGS"); - GLADE_HOOKUP_OBJECT (CpuDlg, vbox48, "vbox48"); - GLADE_HOOKUP_OBJECT (CpuDlg, frame9, "frame9"); - GLADE_HOOKUP_OBJECT (CpuDlg, alignment4, "alignment4"); - GLADE_HOOKUP_OBJECT (CpuDlg, vbox29, "vbox29"); - GLADE_HOOKUP_OBJECT (CpuDlg, GtkRadioButton_LimitNormal, "GtkRadioButton_LimitNormal"); - GLADE_HOOKUP_OBJECT (CpuDlg, GtkRadioButton_LimitLimit, "GtkRadioButton_LimitLimit"); - GLADE_HOOKUP_OBJECT (CpuDlg, GtkRadioButton_LimitFS, "GtkRadioButton_LimitFS"); - GLADE_HOOKUP_OBJECT (CpuDlg, GtkRadioButton_VUSkip, "GtkRadioButton_VUSkip"); - GLADE_HOOKUP_OBJECT (CpuDlg, label41, "label41"); - GLADE_HOOKUP_OBJECT (CpuDlg, frame23, "frame23"); - GLADE_HOOKUP_OBJECT (CpuDlg, alignment18, "alignment18"); - GLADE_HOOKUP_OBJECT (CpuDlg, vbox49, "vbox49"); - GLADE_HOOKUP_OBJECT (CpuDlg, hbox29, "hbox29"); - GLADE_HOOKUP_OBJECT (CpuDlg, label66, "label66"); - GLADE_HOOKUP_OBJECT (CpuDlg, CustomFPSLimit, "CustomFPSLimit"); - GLADE_HOOKUP_OBJECT (CpuDlg, hbox30, "hbox30"); - GLADE_HOOKUP_OBJECT (CpuDlg, label67, "label67"); - GLADE_HOOKUP_OBJECT (CpuDlg, FrameThreshold, "FrameThreshold"); - GLADE_HOOKUP_OBJECT (CpuDlg, hbox31, "hbox31"); - GLADE_HOOKUP_OBJECT (CpuDlg, label68, "label68"); - GLADE_HOOKUP_OBJECT (CpuDlg, FramesBeforeSkipping, "FramesBeforeSkipping"); - GLADE_HOOKUP_OBJECT (CpuDlg, hbox32, "hbox32"); - GLADE_HOOKUP_OBJECT (CpuDlg, label69, "label69"); - GLADE_HOOKUP_OBJECT (CpuDlg, FramesToSkip, "FramesToSkip"); - GLADE_HOOKUP_OBJECT (CpuDlg, label63, "label63"); - GLADE_HOOKUP_OBJECT (CpuDlg, label64, "label64"); - GLADE_HOOKUP_OBJECT (CpuDlg, label65, "label65"); - GLADE_HOOKUP_OBJECT (CpuDlg, label62, "label62"); - GLADE_HOOKUP_OBJECT_NO_REF (CpuDlg, dialog_action_area5, "dialog_action_area5"); - GLADE_HOOKUP_OBJECT (CpuDlg, button96, "button96"); - GLADE_HOOKUP_OBJECT (CpuDlg, button97, "button97"); - - return CpuDlg; -} - -GtkWidget* -create_Logging (void) -{ - GtkWidget *Logging; - GtkWidget *dialog_vbox6; - GtkWidget *scrolledwindow4; - GtkWidget *viewport2; - GtkWidget *vbox55; - GtkWidget *frame33; - GtkWidget *alignment28; - GtkWidget *vbox56; - GtkWidget *Log0; - GtkWidget *Log1; - GtkWidget *Log2; - GtkWidget *Log3; - GtkWidget *Log4; - GtkWidget *Log5; - GtkWidget *Log6; - GtkWidget *Log7; - GtkWidget *Log8; - GtkWidget *Log9; - GtkWidget *Log10; - GtkWidget *Log11; - GtkWidget *Log12; - GtkWidget *Log13; - GtkWidget *Log14; - GtkWidget *Log15; - GtkWidget *Log16; - GtkWidget *label85; - GtkWidget *frame34; - GtkWidget *alignment29; - GtkWidget *vbox57; - GtkWidget *Log20; - GtkWidget *Log21; - GtkWidget *Log22; - GtkWidget *Log23; - GtkWidget *Log24; - GtkWidget *Log25; - GtkWidget *Log26; - GtkWidget *Log27; - GtkWidget *Log28; - GtkWidget *label86; - GtkWidget *frame35; - GtkWidget *alignment30; - GtkWidget *vbox58; - GtkWidget *Log31; - GtkWidget *Log30; - GtkWidget *label87; - GtkWidget *dialog_action_area6; - GtkWidget *Logging_Ok; - GtkWidget *Logging2Cancel; - - Logging = gtk_dialog_new (); - gtk_window_set_title (GTK_WINDOW (Logging), _("Logging")); - gtk_window_set_default_size (GTK_WINDOW (Logging), 200, 450); - gtk_window_set_type_hint (GTK_WINDOW (Logging), GDK_WINDOW_TYPE_HINT_DIALOG); - - dialog_vbox6 = GTK_DIALOG (Logging)->vbox; - gtk_widget_show (dialog_vbox6); - - scrolledwindow4 = gtk_scrolled_window_new (NULL, NULL); - gtk_widget_show (scrolledwindow4); - gtk_box_pack_start (GTK_BOX (dialog_vbox6), scrolledwindow4, TRUE, TRUE, 0); - gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow4), GTK_SHADOW_IN); - - viewport2 = gtk_viewport_new (NULL, NULL); - gtk_widget_show (viewport2); - gtk_container_add (GTK_CONTAINER (scrolledwindow4), viewport2); - - vbox55 = gtk_vbox_new (FALSE, 0); - gtk_widget_show (vbox55); - gtk_container_add (GTK_CONTAINER (viewport2), vbox55); - - frame33 = gtk_frame_new (NULL); - gtk_widget_show (frame33); - gtk_box_pack_start (GTK_BOX (vbox55), frame33, TRUE, TRUE, 0); - gtk_frame_set_shadow_type (GTK_FRAME (frame33), GTK_SHADOW_NONE); - - alignment28 = gtk_alignment_new (0.5, 0.5, 1, 1); - gtk_widget_show (alignment28); - gtk_container_add (GTK_CONTAINER (frame33), alignment28); - gtk_alignment_set_padding (GTK_ALIGNMENT (alignment28), 0, 0, 12, 0); - - vbox56 = gtk_vbox_new (FALSE, 0); - gtk_widget_show (vbox56); - gtk_container_add (GTK_CONTAINER (alignment28), vbox56); - - Log0 = gtk_check_button_new_with_mnemonic (_("Cpu Log")); - gtk_widget_show (Log0); - gtk_box_pack_start (GTK_BOX (vbox56), Log0, FALSE, FALSE, 0); - - Log1 = gtk_check_button_new_with_mnemonic (_("Mem Log")); - gtk_widget_show (Log1); - gtk_box_pack_start (GTK_BOX (vbox56), Log1, FALSE, FALSE, 0); - - Log2 = gtk_check_button_new_with_mnemonic (_("Hw Log")); - gtk_widget_show (Log2); - gtk_box_pack_start (GTK_BOX (vbox56), Log2, FALSE, FALSE, 0); - - Log3 = gtk_check_button_new_with_mnemonic (_("Dma Log")); - gtk_widget_show (Log3); - gtk_box_pack_start (GTK_BOX (vbox56), Log3, FALSE, FALSE, 0); - - Log4 = gtk_check_button_new_with_mnemonic (_("Bios Log")); - gtk_widget_show (Log4); - gtk_box_pack_start (GTK_BOX (vbox56), Log4, FALSE, FALSE, 0); - - Log5 = gtk_check_button_new_with_mnemonic (_("Elf Log")); - gtk_widget_show (Log5); - gtk_box_pack_start (GTK_BOX (vbox56), Log5, FALSE, FALSE, 0); - - Log6 = gtk_check_button_new_with_mnemonic (_("Fpu Log")); - gtk_widget_show (Log6); - gtk_box_pack_start (GTK_BOX (vbox56), Log6, FALSE, FALSE, 0); - - Log7 = gtk_check_button_new_with_mnemonic (_("MMI Log")); - gtk_widget_show (Log7); - gtk_box_pack_start (GTK_BOX (vbox56), Log7, FALSE, FALSE, 0); - - Log8 = gtk_check_button_new_with_mnemonic (_("VU0 Log")); - gtk_widget_show (Log8); - gtk_box_pack_start (GTK_BOX (vbox56), Log8, FALSE, FALSE, 0); - - Log9 = gtk_check_button_new_with_mnemonic (_("Cop0 Log")); - gtk_widget_show (Log9); - gtk_box_pack_start (GTK_BOX (vbox56), Log9, FALSE, FALSE, 0); - - Log10 = gtk_check_button_new_with_mnemonic (_("Vif Log")); - gtk_widget_show (Log10); - gtk_box_pack_start (GTK_BOX (vbox56), Log10, FALSE, FALSE, 0); - - Log11 = gtk_check_button_new_with_mnemonic (_("SPR Log")); - gtk_widget_show (Log11); - gtk_box_pack_start (GTK_BOX (vbox56), Log11, FALSE, FALSE, 0); - - Log12 = gtk_check_button_new_with_mnemonic (_("GIF Log")); - gtk_widget_show (Log12); - gtk_box_pack_start (GTK_BOX (vbox56), Log12, FALSE, FALSE, 0); - - Log13 = gtk_check_button_new_with_mnemonic (_("Sif Log")); - gtk_widget_show (Log13); - gtk_box_pack_start (GTK_BOX (vbox56), Log13, FALSE, FALSE, 0); - - Log14 = gtk_check_button_new_with_mnemonic (_("IPU Log")); - gtk_widget_show (Log14); - gtk_box_pack_start (GTK_BOX (vbox56), Log14, FALSE, FALSE, 0); - - Log15 = gtk_check_button_new_with_mnemonic (_("VU Micro Log")); - gtk_widget_show (Log15); - gtk_box_pack_start (GTK_BOX (vbox56), Log15, FALSE, FALSE, 0); - - Log16 = gtk_check_button_new_with_mnemonic (_("RPC Log")); - gtk_widget_show (Log16); - gtk_box_pack_start (GTK_BOX (vbox56), Log16, FALSE, FALSE, 0); - - label85 = gtk_label_new (_("EE Logs")); - gtk_widget_show (label85); - gtk_frame_set_label_widget (GTK_FRAME (frame33), label85); - gtk_label_set_use_markup (GTK_LABEL (label85), TRUE); - - frame34 = gtk_frame_new (NULL); - gtk_widget_show (frame34); - gtk_box_pack_start (GTK_BOX (vbox55), frame34, TRUE, TRUE, 0); - gtk_frame_set_shadow_type (GTK_FRAME (frame34), GTK_SHADOW_NONE); - - alignment29 = gtk_alignment_new (0.5, 0.5, 1, 1); - gtk_widget_show (alignment29); - gtk_container_add (GTK_CONTAINER (frame34), alignment29); - gtk_alignment_set_padding (GTK_ALIGNMENT (alignment29), 0, 0, 12, 0); - - vbox57 = gtk_vbox_new (FALSE, 0); - gtk_widget_show (vbox57); - gtk_container_add (GTK_CONTAINER (alignment29), vbox57); - - Log20 = gtk_check_button_new_with_mnemonic (_("IOP Log")); - gtk_widget_show (Log20); - gtk_box_pack_start (GTK_BOX (vbox57), Log20, FALSE, FALSE, 0); - - Log21 = gtk_check_button_new_with_mnemonic (_("Mem Log")); - gtk_widget_show (Log21); - gtk_box_pack_start (GTK_BOX (vbox57), Log21, FALSE, FALSE, 0); - - Log22 = gtk_check_button_new_with_mnemonic (_("Hw Log")); - gtk_widget_show (Log22); - gtk_box_pack_start (GTK_BOX (vbox57), Log22, FALSE, FALSE, 0); - - Log23 = gtk_check_button_new_with_mnemonic (_("Bios Log")); - gtk_widget_show (Log23); - gtk_box_pack_start (GTK_BOX (vbox57), Log23, FALSE, FALSE, 0); - - Log24 = gtk_check_button_new_with_mnemonic (_("Dma Log")); - gtk_widget_show (Log24); - gtk_box_pack_start (GTK_BOX (vbox57), Log24, FALSE, FALSE, 0); - - Log25 = gtk_check_button_new_with_mnemonic (_("Pad Log")); - gtk_widget_show (Log25); - gtk_box_pack_start (GTK_BOX (vbox57), Log25, FALSE, FALSE, 0); - - Log26 = gtk_check_button_new_with_mnemonic (_("Gte Log")); - gtk_widget_show (Log26); - gtk_box_pack_start (GTK_BOX (vbox57), Log26, FALSE, FALSE, 0); - - Log27 = gtk_check_button_new_with_mnemonic (_("Cdr Log")); - gtk_widget_show (Log27); - gtk_box_pack_start (GTK_BOX (vbox57), Log27, FALSE, FALSE, 0); - - Log28 = gtk_check_button_new_with_mnemonic (_("GPU Log")); - gtk_widget_show (Log28); - gtk_box_pack_start (GTK_BOX (vbox57), Log28, FALSE, FALSE, 0); - - label86 = gtk_label_new (_("IOP Logs")); - gtk_widget_show (label86); - gtk_frame_set_label_widget (GTK_FRAME (frame34), label86); - gtk_label_set_use_markup (GTK_LABEL (label86), TRUE); - - frame35 = gtk_frame_new (NULL); - gtk_widget_show (frame35); - gtk_box_pack_start (GTK_BOX (vbox55), frame35, TRUE, TRUE, 0); - gtk_frame_set_shadow_type (GTK_FRAME (frame35), GTK_SHADOW_NONE); - - alignment30 = gtk_alignment_new (0.5, 0.5, 1, 1); - gtk_widget_show (alignment30); - gtk_container_add (GTK_CONTAINER (frame35), alignment30); - gtk_alignment_set_padding (GTK_ALIGNMENT (alignment30), 0, 0, 12, 0); - - vbox58 = gtk_vbox_new (FALSE, 0); - gtk_widget_show (vbox58); - gtk_container_add (GTK_CONTAINER (alignment30), vbox58); - - Log31 = gtk_check_button_new_with_mnemonic (_("Log to STDOUT")); - gtk_widget_show (Log31); - gtk_box_pack_start (GTK_BOX (vbox58), Log31, FALSE, FALSE, 0); - - Log30 = gtk_check_button_new_with_mnemonic (_("SYMs Log")); - gtk_widget_show (Log30); - gtk_box_pack_start (GTK_BOX (vbox58), Log30, FALSE, FALSE, 0); - - label87 = gtk_label_new (_("Misc")); - gtk_widget_show (label87); - gtk_frame_set_label_widget (GTK_FRAME (frame35), label87); - gtk_label_set_use_markup (GTK_LABEL (label87), TRUE); - - dialog_action_area6 = GTK_DIALOG (Logging)->action_area; - gtk_widget_show (dialog_action_area6); - gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area6), GTK_BUTTONBOX_END); - - Logging_Ok = gtk_button_new_from_stock ("gtk-ok"); - gtk_widget_show (Logging_Ok); - gtk_dialog_add_action_widget (GTK_DIALOG (Logging), Logging_Ok, GTK_RESPONSE_OK); - GTK_WIDGET_SET_FLAGS (Logging_Ok, GTK_CAN_DEFAULT); - - Logging2Cancel = gtk_button_new_from_stock ("gtk-cancel"); - gtk_widget_show (Logging2Cancel); - gtk_dialog_add_action_widget (GTK_DIALOG (Logging), Logging2Cancel, GTK_RESPONSE_CANCEL); - GTK_WIDGET_SET_FLAGS (Logging2Cancel, GTK_CAN_DEFAULT); - - g_signal_connect ((gpointer) Logging_Ok, "clicked", - G_CALLBACK (OnLogging_Ok), - NULL); - g_signal_connect ((gpointer) Logging2Cancel, "clicked", - G_CALLBACK (On_Dialog_Cancelled), - NULL); - - /* Store pointers to all widgets, for use by lookup_widget(). */ - GLADE_HOOKUP_OBJECT_NO_REF (Logging, Logging, "Logging"); - GLADE_HOOKUP_OBJECT_NO_REF (Logging, dialog_vbox6, "dialog_vbox6"); - GLADE_HOOKUP_OBJECT (Logging, scrolledwindow4, "scrolledwindow4"); - GLADE_HOOKUP_OBJECT (Logging, viewport2, "viewport2"); - GLADE_HOOKUP_OBJECT (Logging, vbox55, "vbox55"); - GLADE_HOOKUP_OBJECT (Logging, frame33, "frame33"); - GLADE_HOOKUP_OBJECT (Logging, alignment28, "alignment28"); - GLADE_HOOKUP_OBJECT (Logging, vbox56, "vbox56"); - GLADE_HOOKUP_OBJECT (Logging, Log0, "Log0"); - GLADE_HOOKUP_OBJECT (Logging, Log1, "Log1"); - GLADE_HOOKUP_OBJECT (Logging, Log2, "Log2"); - GLADE_HOOKUP_OBJECT (Logging, Log3, "Log3"); - GLADE_HOOKUP_OBJECT (Logging, Log4, "Log4"); - GLADE_HOOKUP_OBJECT (Logging, Log5, "Log5"); - GLADE_HOOKUP_OBJECT (Logging, Log6, "Log6"); - GLADE_HOOKUP_OBJECT (Logging, Log7, "Log7"); - GLADE_HOOKUP_OBJECT (Logging, Log8, "Log8"); - GLADE_HOOKUP_OBJECT (Logging, Log9, "Log9"); - GLADE_HOOKUP_OBJECT (Logging, Log10, "Log10"); - GLADE_HOOKUP_OBJECT (Logging, Log11, "Log11"); - GLADE_HOOKUP_OBJECT (Logging, Log12, "Log12"); - GLADE_HOOKUP_OBJECT (Logging, Log13, "Log13"); - GLADE_HOOKUP_OBJECT (Logging, Log14, "Log14"); - GLADE_HOOKUP_OBJECT (Logging, Log15, "Log15"); - GLADE_HOOKUP_OBJECT (Logging, Log16, "Log16"); - GLADE_HOOKUP_OBJECT (Logging, label85, "label85"); - GLADE_HOOKUP_OBJECT (Logging, frame34, "frame34"); - GLADE_HOOKUP_OBJECT (Logging, alignment29, "alignment29"); - GLADE_HOOKUP_OBJECT (Logging, vbox57, "vbox57"); - GLADE_HOOKUP_OBJECT (Logging, Log20, "Log20"); - GLADE_HOOKUP_OBJECT (Logging, Log21, "Log21"); - GLADE_HOOKUP_OBJECT (Logging, Log22, "Log22"); - GLADE_HOOKUP_OBJECT (Logging, Log23, "Log23"); - GLADE_HOOKUP_OBJECT (Logging, Log24, "Log24"); - GLADE_HOOKUP_OBJECT (Logging, Log25, "Log25"); - GLADE_HOOKUP_OBJECT (Logging, Log26, "Log26"); - GLADE_HOOKUP_OBJECT (Logging, Log27, "Log27"); - GLADE_HOOKUP_OBJECT (Logging, Log28, "Log28"); - GLADE_HOOKUP_OBJECT (Logging, label86, "label86"); - GLADE_HOOKUP_OBJECT (Logging, frame35, "frame35"); - GLADE_HOOKUP_OBJECT (Logging, alignment30, "alignment30"); - GLADE_HOOKUP_OBJECT (Logging, vbox58, "vbox58"); - GLADE_HOOKUP_OBJECT (Logging, Log31, "Log31"); - GLADE_HOOKUP_OBJECT (Logging, Log30, "Log30"); - GLADE_HOOKUP_OBJECT (Logging, label87, "label87"); - GLADE_HOOKUP_OBJECT_NO_REF (Logging, dialog_action_area6, "dialog_action_area6"); - GLADE_HOOKUP_OBJECT (Logging, Logging_Ok, "Logging_Ok"); - GLADE_HOOKUP_OBJECT (Logging, Logging2Cancel, "Logging2Cancel"); - - return Logging; -} - +/* + * DO NOT EDIT THIS FILE - it is generated by Glade. + */ + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include +#include +#include +#include +#include + +#include +#include + +#include "callbacks.h" +#include "interface.h" +#include "support.h" + +#define GLADE_HOOKUP_OBJECT(component,widget,name) \ + g_object_set_data_full (G_OBJECT (component), name, \ + gtk_widget_ref (widget), (GDestroyNotify) gtk_widget_unref) + +#define GLADE_HOOKUP_OBJECT_NO_REF(component,widget,name) \ + g_object_set_data (G_OBJECT (component), name, widget) + +GtkWidget* +create_AdvDlg (void) +{ + GtkWidget *AdvDlg; + GtkWidget *dialog_vbox4; + GtkWidget *hbox33; + GtkWidget *vbox52; + GtkWidget *frame24; + GtkWidget *alignment19; + GtkWidget *vbox53; + GtkWidget *frame26; + GtkWidget *alignment21; + GtkWidget *hbox35; + GtkWidget *radio_EE_Round_Near; + GSList *radio_EE_Round_Near_group = NULL; + GtkWidget *radio_EE_Round_Negative; + GtkWidget *radio_EE_Round_Positive; + GtkWidget *radio_EE_Round_Zero; + GtkWidget *label72; + GtkWidget *frame27; + GtkWidget *alignment22; + GtkWidget *hbox37; + GtkWidget *radio_EE_Clamp_None; + GSList *radio_EE_Clamp_None_group = NULL; + GtkWidget *radio_EE_Clamp_Normal; + GtkWidget *radio_EE_Clamp_Extra_Preserve; + GtkWidget *label73; + GtkWidget *hbox34; + GtkWidget *check_EE_Flush_Zero; + GtkWidget *check_EE_Denormal_Zero; + GtkWidget *label70; + GtkWidget *frame25; + GtkWidget *alignment20; + GtkWidget *vbox54; + GtkWidget *frame28; + GtkWidget *alignment23; + GtkWidget *hbox36; + GtkWidget *radio_VU_Round_Near; + GSList *radio_VU_Round_Near_group = NULL; + GtkWidget *radio_VU_Round_Negative; + GtkWidget *radio_VU_Round_Positive; + GtkWidget *radio_VU_Round_Zero; + GtkWidget *label74; + GtkWidget *frame29; + GtkWidget *alignment24; + GtkWidget *hbox38; + GtkWidget *radio_VU_Clamp_None; + GSList *radio_VU_Clamp_None_group = NULL; + GtkWidget *radio_VU_Clamp_Normal; + GtkWidget *radio_VU_Clamp_Extra; + GtkWidget *radio_VU_Clamp_Extra_Preserve; + GtkWidget *label75; + GtkWidget *table7; + GtkWidget *check_VU_Flush_Zero; + GtkWidget *check_VU_Denormal_Zero; + GtkWidget *Check_Set_OU_Flags; + GtkWidget *check_Emulate_DaZ; + GtkWidget *label71; + GtkWidget *vbox51; + GtkWidget *frame30; + GtkWidget *alignment25; + GtkWidget *label81; + GtkWidget *label78; + GtkWidget *frame31; + GtkWidget *alignment26; + GtkWidget *label84; + GtkWidget *label79; + GtkWidget *frame32; + GtkWidget *alignment27; + GtkWidget *label83; + GtkWidget *label80; + GtkWidget *dialog_action_area4; + GtkWidget *AdvDefaultBtn; + GtkWidget *button79; + GtkWidget *button80; + + AdvDlg = gtk_dialog_new (); + gtk_window_set_title (GTK_WINDOW (AdvDlg), _("Advanced Options")); + gtk_window_set_type_hint (GTK_WINDOW (AdvDlg), GDK_WINDOW_TYPE_HINT_DIALOG); + + dialog_vbox4 = GTK_DIALOG (AdvDlg)->vbox; + gtk_widget_show (dialog_vbox4); + + hbox33 = gtk_hbox_new (FALSE, 0); + gtk_widget_show (hbox33); + gtk_box_pack_start (GTK_BOX (dialog_vbox4), hbox33, TRUE, TRUE, 0); + + vbox52 = gtk_vbox_new (FALSE, 0); + gtk_widget_show (vbox52); + gtk_box_pack_start (GTK_BOX (hbox33), vbox52, TRUE, TRUE, 0); + + frame24 = gtk_frame_new (NULL); + gtk_widget_show (frame24); + gtk_box_pack_start (GTK_BOX (vbox52), frame24, TRUE, TRUE, 0); + gtk_frame_set_shadow_type (GTK_FRAME (frame24), GTK_SHADOW_NONE); + + alignment19 = gtk_alignment_new (0.5, 0.5, 1, 1); + gtk_widget_show (alignment19); + gtk_container_add (GTK_CONTAINER (frame24), alignment19); + gtk_alignment_set_padding (GTK_ALIGNMENT (alignment19), 0, 0, 12, 0); + + vbox53 = gtk_vbox_new (FALSE, 0); + gtk_widget_show (vbox53); + gtk_container_add (GTK_CONTAINER (alignment19), vbox53); + + frame26 = gtk_frame_new (NULL); + gtk_widget_show (frame26); + gtk_box_pack_start (GTK_BOX (vbox53), frame26, TRUE, TRUE, 0); + gtk_frame_set_shadow_type (GTK_FRAME (frame26), GTK_SHADOW_NONE); + + alignment21 = gtk_alignment_new (0.5, 0.5, 1, 1); + gtk_widget_show (alignment21); + gtk_container_add (GTK_CONTAINER (frame26), alignment21); + gtk_alignment_set_padding (GTK_ALIGNMENT (alignment21), 0, 0, 12, 0); + + hbox35 = gtk_hbox_new (FALSE, 0); + gtk_widget_show (hbox35); + gtk_container_add (GTK_CONTAINER (alignment21), hbox35); + + radio_EE_Round_Near = gtk_radio_button_new_with_mnemonic (NULL, _("Nearest")); + gtk_widget_show (radio_EE_Round_Near); + gtk_box_pack_start (GTK_BOX (hbox35), radio_EE_Round_Near, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_EE_Round_Near), radio_EE_Round_Near_group); + radio_EE_Round_Near_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_EE_Round_Near)); + + radio_EE_Round_Negative = gtk_radio_button_new_with_mnemonic (NULL, _("Negative")); + gtk_widget_show (radio_EE_Round_Negative); + gtk_box_pack_start (GTK_BOX (hbox35), radio_EE_Round_Negative, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_EE_Round_Negative), radio_EE_Round_Near_group); + radio_EE_Round_Near_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_EE_Round_Negative)); + + radio_EE_Round_Positive = gtk_radio_button_new_with_mnemonic (NULL, _("Positive")); + gtk_widget_show (radio_EE_Round_Positive); + gtk_box_pack_start (GTK_BOX (hbox35), radio_EE_Round_Positive, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_EE_Round_Positive), radio_EE_Round_Near_group); + radio_EE_Round_Near_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_EE_Round_Positive)); + + radio_EE_Round_Zero = gtk_radio_button_new_with_mnemonic (NULL, _("Chop/Zero")); + gtk_widget_show (radio_EE_Round_Zero); + gtk_box_pack_start (GTK_BOX (hbox35), radio_EE_Round_Zero, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_EE_Round_Zero), radio_EE_Round_Near_group); + radio_EE_Round_Near_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_EE_Round_Zero)); + + label72 = gtk_label_new (_("Round Mode")); + gtk_widget_show (label72); + gtk_frame_set_label_widget (GTK_FRAME (frame26), label72); + gtk_label_set_use_markup (GTK_LABEL (label72), TRUE); + + frame27 = gtk_frame_new (NULL); + gtk_widget_show (frame27); + gtk_box_pack_start (GTK_BOX (vbox53), frame27, TRUE, TRUE, 0); + gtk_frame_set_shadow_type (GTK_FRAME (frame27), GTK_SHADOW_NONE); + + alignment22 = gtk_alignment_new (0.5, 0.5, 1, 1); + gtk_widget_show (alignment22); + gtk_container_add (GTK_CONTAINER (frame27), alignment22); + gtk_alignment_set_padding (GTK_ALIGNMENT (alignment22), 0, 0, 12, 0); + + hbox37 = gtk_hbox_new (FALSE, 0); + gtk_widget_show (hbox37); + gtk_container_add (GTK_CONTAINER (alignment22), hbox37); + + radio_EE_Clamp_None = gtk_radio_button_new_with_mnemonic (NULL, _("None")); + gtk_widget_show (radio_EE_Clamp_None); + gtk_box_pack_start (GTK_BOX (hbox37), radio_EE_Clamp_None, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_EE_Clamp_None), radio_EE_Clamp_None_group); + radio_EE_Clamp_None_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_EE_Clamp_None)); + + radio_EE_Clamp_Normal = gtk_radio_button_new_with_mnemonic (NULL, _("Normal")); + gtk_widget_show (radio_EE_Clamp_Normal); + gtk_box_pack_start (GTK_BOX (hbox37), radio_EE_Clamp_Normal, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_EE_Clamp_Normal), radio_EE_Clamp_None_group); + radio_EE_Clamp_None_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_EE_Clamp_Normal)); + + radio_EE_Clamp_Extra_Preserve = gtk_radio_button_new_with_mnemonic (NULL, _("Extra + Preserve Sign")); + gtk_widget_show (radio_EE_Clamp_Extra_Preserve); + gtk_box_pack_start (GTK_BOX (hbox37), radio_EE_Clamp_Extra_Preserve, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_EE_Clamp_Extra_Preserve), radio_EE_Clamp_None_group); + radio_EE_Clamp_None_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_EE_Clamp_Extra_Preserve)); + + label73 = gtk_label_new (_("Clamp Mode")); + gtk_widget_show (label73); + gtk_frame_set_label_widget (GTK_FRAME (frame27), label73); + gtk_label_set_use_markup (GTK_LABEL (label73), TRUE); + + hbox34 = gtk_hbox_new (FALSE, 0); + gtk_widget_show (hbox34); + gtk_box_pack_start (GTK_BOX (vbox53), hbox34, TRUE, TRUE, 0); + + check_EE_Flush_Zero = gtk_check_button_new_with_mnemonic (_("Flush to Zero")); + gtk_widget_show (check_EE_Flush_Zero); + gtk_box_pack_start (GTK_BOX (hbox34), check_EE_Flush_Zero, FALSE, FALSE, 0); + + check_EE_Denormal_Zero = gtk_check_button_new_with_mnemonic (_("Denormals are Zero")); + gtk_widget_show (check_EE_Denormal_Zero); + gtk_box_pack_start (GTK_BOX (hbox34), check_EE_Denormal_Zero, FALSE, FALSE, 0); + + label70 = gtk_label_new (_("EE Recs Options")); + gtk_widget_show (label70); + gtk_frame_set_label_widget (GTK_FRAME (frame24), label70); + gtk_label_set_use_markup (GTK_LABEL (label70), TRUE); + + frame25 = gtk_frame_new (NULL); + gtk_widget_show (frame25); + gtk_box_pack_start (GTK_BOX (vbox52), frame25, TRUE, TRUE, 0); + gtk_frame_set_shadow_type (GTK_FRAME (frame25), GTK_SHADOW_NONE); + + alignment20 = gtk_alignment_new (0.5, 0.5, 1, 1); + gtk_widget_show (alignment20); + gtk_container_add (GTK_CONTAINER (frame25), alignment20); + gtk_alignment_set_padding (GTK_ALIGNMENT (alignment20), 0, 0, 12, 0); + + vbox54 = gtk_vbox_new (FALSE, 0); + gtk_widget_show (vbox54); + gtk_container_add (GTK_CONTAINER (alignment20), vbox54); + + frame28 = gtk_frame_new (NULL); + gtk_widget_show (frame28); + gtk_box_pack_start (GTK_BOX (vbox54), frame28, TRUE, TRUE, 0); + gtk_frame_set_shadow_type (GTK_FRAME (frame28), GTK_SHADOW_NONE); + + alignment23 = gtk_alignment_new (0.5, 0.5, 1, 1); + gtk_widget_show (alignment23); + gtk_container_add (GTK_CONTAINER (frame28), alignment23); + gtk_alignment_set_padding (GTK_ALIGNMENT (alignment23), 0, 0, 12, 0); + + hbox36 = gtk_hbox_new (FALSE, 0); + gtk_widget_show (hbox36); + gtk_container_add (GTK_CONTAINER (alignment23), hbox36); + + radio_VU_Round_Near = gtk_radio_button_new_with_mnemonic (NULL, _("Nearest")); + gtk_widget_show (radio_VU_Round_Near); + gtk_box_pack_start (GTK_BOX (hbox36), radio_VU_Round_Near, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_VU_Round_Near), radio_VU_Round_Near_group); + radio_VU_Round_Near_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_VU_Round_Near)); + + radio_VU_Round_Negative = gtk_radio_button_new_with_mnemonic (NULL, _("Negative")); + gtk_widget_show (radio_VU_Round_Negative); + gtk_box_pack_start (GTK_BOX (hbox36), radio_VU_Round_Negative, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_VU_Round_Negative), radio_VU_Round_Near_group); + radio_VU_Round_Near_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_VU_Round_Negative)); + + radio_VU_Round_Positive = gtk_radio_button_new_with_mnemonic (NULL, _("Positive")); + gtk_widget_show (radio_VU_Round_Positive); + gtk_box_pack_start (GTK_BOX (hbox36), radio_VU_Round_Positive, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_VU_Round_Positive), radio_VU_Round_Near_group); + radio_VU_Round_Near_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_VU_Round_Positive)); + + radio_VU_Round_Zero = gtk_radio_button_new_with_mnemonic (NULL, _("Zero")); + gtk_widget_show (radio_VU_Round_Zero); + gtk_box_pack_start (GTK_BOX (hbox36), radio_VU_Round_Zero, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_VU_Round_Zero), radio_VU_Round_Near_group); + radio_VU_Round_Near_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_VU_Round_Zero)); + + label74 = gtk_label_new (_("Round Mode")); + gtk_widget_show (label74); + gtk_frame_set_label_widget (GTK_FRAME (frame28), label74); + gtk_label_set_use_markup (GTK_LABEL (label74), TRUE); + + frame29 = gtk_frame_new (NULL); + gtk_widget_show (frame29); + gtk_box_pack_start (GTK_BOX (vbox54), frame29, TRUE, TRUE, 0); + gtk_frame_set_shadow_type (GTK_FRAME (frame29), GTK_SHADOW_NONE); + + alignment24 = gtk_alignment_new (0.5, 0.5, 1, 1); + gtk_widget_show (alignment24); + gtk_container_add (GTK_CONTAINER (frame29), alignment24); + gtk_alignment_set_padding (GTK_ALIGNMENT (alignment24), 0, 0, 12, 0); + + hbox38 = gtk_hbox_new (FALSE, 0); + gtk_widget_show (hbox38); + gtk_container_add (GTK_CONTAINER (alignment24), hbox38); + + radio_VU_Clamp_None = gtk_radio_button_new_with_mnemonic (NULL, _("None")); + gtk_widget_show (radio_VU_Clamp_None); + gtk_box_pack_start (GTK_BOX (hbox38), radio_VU_Clamp_None, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_VU_Clamp_None), radio_VU_Clamp_None_group); + radio_VU_Clamp_None_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_VU_Clamp_None)); + + radio_VU_Clamp_Normal = gtk_radio_button_new_with_mnemonic (NULL, _("Normal")); + gtk_widget_show (radio_VU_Clamp_Normal); + gtk_box_pack_start (GTK_BOX (hbox38), radio_VU_Clamp_Normal, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_VU_Clamp_Normal), radio_VU_Clamp_None_group); + radio_VU_Clamp_None_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_VU_Clamp_Normal)); + + radio_VU_Clamp_Extra = gtk_radio_button_new_with_mnemonic (NULL, _("Extra")); + gtk_widget_show (radio_VU_Clamp_Extra); + gtk_box_pack_start (GTK_BOX (hbox38), radio_VU_Clamp_Extra, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_VU_Clamp_Extra), radio_VU_Clamp_None_group); + radio_VU_Clamp_None_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_VU_Clamp_Extra)); + + radio_VU_Clamp_Extra_Preserve = gtk_radio_button_new_with_mnemonic (NULL, _("Extra + Preserve Sign")); + gtk_widget_show (radio_VU_Clamp_Extra_Preserve); + gtk_box_pack_start (GTK_BOX (hbox38), radio_VU_Clamp_Extra_Preserve, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_VU_Clamp_Extra_Preserve), radio_VU_Clamp_None_group); + radio_VU_Clamp_None_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_VU_Clamp_Extra_Preserve)); + + label75 = gtk_label_new (_("Clamp Mode")); + gtk_widget_show (label75); + gtk_frame_set_label_widget (GTK_FRAME (frame29), label75); + gtk_label_set_use_markup (GTK_LABEL (label75), TRUE); + + table7 = gtk_table_new (2, 2, FALSE); + gtk_widget_show (table7); + gtk_box_pack_start (GTK_BOX (vbox54), table7, TRUE, TRUE, 0); + + check_VU_Flush_Zero = gtk_check_button_new_with_mnemonic (_("Flush to Zero")); + gtk_widget_show (check_VU_Flush_Zero); + gtk_table_attach (GTK_TABLE (table7), check_VU_Flush_Zero, 0, 1, 0, 1, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); + + check_VU_Denormal_Zero = gtk_check_button_new_with_mnemonic (_("Denormals are Zero")); + gtk_widget_show (check_VU_Denormal_Zero); + gtk_table_attach (GTK_TABLE (table7), check_VU_Denormal_Zero, 1, 2, 0, 1, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); + + Check_Set_OU_Flags = gtk_check_button_new_with_mnemonic (_("Set O & U Flags")); + gtk_widget_show (Check_Set_OU_Flags); + gtk_table_attach (GTK_TABLE (table7), Check_Set_OU_Flags, 0, 1, 1, 2, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); + gtk_widget_set_sensitive (Check_Set_OU_Flags, FALSE); + + check_Emulate_DaZ = gtk_check_button_new_with_mnemonic (_("Software Emulate DaZ")); + gtk_widget_show (check_Emulate_DaZ); + gtk_table_attach (GTK_TABLE (table7), check_Emulate_DaZ, 1, 2, 1, 2, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); + gtk_widget_set_sensitive (check_Emulate_DaZ, FALSE); + + label71 = gtk_label_new (_("VU Recs Options")); + gtk_widget_show (label71); + gtk_frame_set_label_widget (GTK_FRAME (frame25), label71); + gtk_label_set_use_markup (GTK_LABEL (label71), TRUE); + + vbox51 = gtk_vbox_new (FALSE, 0); + gtk_widget_show (vbox51); + gtk_box_pack_start (GTK_BOX (hbox33), vbox51, TRUE, TRUE, 0); + + frame30 = gtk_frame_new (NULL); + gtk_widget_show (frame30); + gtk_box_pack_start (GTK_BOX (vbox51), frame30, FALSE, FALSE, 0); + gtk_frame_set_shadow_type (GTK_FRAME (frame30), GTK_SHADOW_NONE); + + alignment25 = gtk_alignment_new (0.5, 0.5, 1, 1); + gtk_widget_show (alignment25); + gtk_container_add (GTK_CONTAINER (frame30), alignment25); + gtk_alignment_set_padding (GTK_ALIGNMENT (alignment25), 0, 0, 12, 0); + + label81 = gtk_label_new (_("These options specify how your CPU rounds floating point values.\n\nTry changing the roundmode for EE if your game hangs, it could make it work again.")); + gtk_widget_show (label81); + gtk_container_add (GTK_CONTAINER (alignment25), label81); + gtk_label_set_line_wrap (GTK_LABEL (label81), TRUE); + + label78 = gtk_label_new (_("Round Mode")); + gtk_widget_show (label78); + gtk_frame_set_label_widget (GTK_FRAME (frame30), label78); + gtk_label_set_use_markup (GTK_LABEL (label78), TRUE); + + frame31 = gtk_frame_new (NULL); + gtk_widget_show (frame31); + gtk_box_pack_start (GTK_BOX (vbox51), frame31, FALSE, FALSE, 0); + gtk_frame_set_shadow_type (GTK_FRAME (frame31), GTK_SHADOW_NONE); + + alignment26 = gtk_alignment_new (0.5, 0.5, 1, 1); + gtk_widget_show (alignment26); + gtk_container_add (GTK_CONTAINER (frame31), alignment26); + gtk_alignment_set_padding (GTK_ALIGNMENT (alignment26), 0, 0, 12, 0); + + label84 = gtk_label_new (_("These options specify how PCSX2's recompilers will clamp Infinities and NaN (Not a Number) values in the opcode instructions.\n\nNone - No clamping. (Fastest Mode)\nNormal - Clamps the result.\nExtra - Clamps the operands, the result, and anywhere in between.\nExtra + Preserve Sign - Same as \"\"Extra\"\", except preserves NaN's sign when clamping the operands. (Slowest Mode)")); + gtk_widget_show (label84); + gtk_container_add (GTK_CONTAINER (alignment26), label84); + gtk_label_set_line_wrap (GTK_LABEL (label84), TRUE); + + label79 = gtk_label_new (_("Clamp Mode")); + gtk_widget_show (label79); + gtk_frame_set_label_widget (GTK_FRAME (frame31), label79); + gtk_label_set_use_markup (GTK_LABEL (label79), TRUE); + + frame32 = gtk_frame_new (NULL); + gtk_widget_show (frame32); + gtk_box_pack_start (GTK_BOX (vbox51), frame32, FALSE, FALSE, 0); + gtk_frame_set_shadow_type (GTK_FRAME (frame32), GTK_SHADOW_NONE); + + alignment27 = gtk_alignment_new (0.5, 0.5, 1, 1); + gtk_widget_show (alignment27); + gtk_container_add (GTK_CONTAINER (frame32), alignment27); + gtk_alignment_set_padding (GTK_ALIGNMENT (alignment27), 0, 0, 12, 0); + + label83 = gtk_label_new (_("Flush to Zero - Your CPU makes Floating Point Underflows become Zero, so it does less work. (Speed Up)\n\nDenormals are Zero - Your CPU makes Floating Point Denormals become Zero, so it does less work. (Speed Up)")); + gtk_widget_show (label83); + gtk_container_add (GTK_CONTAINER (alignment27), label83); + gtk_label_set_line_wrap (GTK_LABEL (label83), TRUE); + + label80 = gtk_label_new (_("Other Options")); + gtk_widget_show (label80); + gtk_frame_set_label_widget (GTK_FRAME (frame32), label80); + gtk_label_set_use_markup (GTK_LABEL (label80), TRUE); + + dialog_action_area4 = GTK_DIALOG (AdvDlg)->action_area; + gtk_widget_show (dialog_action_area4); + gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area4), GTK_BUTTONBOX_SPREAD); + + AdvDefaultBtn = gtk_button_new_with_mnemonic (_("Defaults")); + gtk_widget_show (AdvDefaultBtn); + gtk_dialog_add_action_widget (GTK_DIALOG (AdvDlg), AdvDefaultBtn, 0); + GTK_WIDGET_SET_FLAGS (AdvDefaultBtn, GTK_CAN_DEFAULT); + + button79 = gtk_button_new_from_stock ("gtk-ok"); + gtk_widget_show (button79); + gtk_dialog_add_action_widget (GTK_DIALOG (AdvDlg), button79, GTK_RESPONSE_OK); + GTK_WIDGET_SET_FLAGS (button79, GTK_CAN_DEFAULT); + + button80 = gtk_button_new_from_stock ("gtk-cancel"); + gtk_widget_show (button80); + gtk_dialog_add_action_widget (GTK_DIALOG (AdvDlg), button80, GTK_RESPONSE_CANCEL); + GTK_WIDGET_SET_FLAGS (button80, GTK_CAN_DEFAULT); + + g_signal_connect ((gpointer) AdvDefaultBtn, "clicked", + G_CALLBACK (on_Advanced_Defaults), + NULL); + g_signal_connect ((gpointer) button79, "clicked", + G_CALLBACK (on_Advanced_OK), + NULL); + g_signal_connect ((gpointer) button80, "clicked", + G_CALLBACK (On_Dialog_Cancelled), + NULL); + + /* Store pointers to all widgets, for use by lookup_widget(). */ + GLADE_HOOKUP_OBJECT_NO_REF (AdvDlg, AdvDlg, "AdvDlg"); + GLADE_HOOKUP_OBJECT_NO_REF (AdvDlg, dialog_vbox4, "dialog_vbox4"); + GLADE_HOOKUP_OBJECT (AdvDlg, hbox33, "hbox33"); + GLADE_HOOKUP_OBJECT (AdvDlg, vbox52, "vbox52"); + GLADE_HOOKUP_OBJECT (AdvDlg, frame24, "frame24"); + GLADE_HOOKUP_OBJECT (AdvDlg, alignment19, "alignment19"); + GLADE_HOOKUP_OBJECT (AdvDlg, vbox53, "vbox53"); + GLADE_HOOKUP_OBJECT (AdvDlg, frame26, "frame26"); + GLADE_HOOKUP_OBJECT (AdvDlg, alignment21, "alignment21"); + GLADE_HOOKUP_OBJECT (AdvDlg, hbox35, "hbox35"); + GLADE_HOOKUP_OBJECT (AdvDlg, radio_EE_Round_Near, "radio_EE_Round_Near"); + GLADE_HOOKUP_OBJECT (AdvDlg, radio_EE_Round_Negative, "radio_EE_Round_Negative"); + GLADE_HOOKUP_OBJECT (AdvDlg, radio_EE_Round_Positive, "radio_EE_Round_Positive"); + GLADE_HOOKUP_OBJECT (AdvDlg, radio_EE_Round_Zero, "radio_EE_Round_Zero"); + GLADE_HOOKUP_OBJECT (AdvDlg, label72, "label72"); + GLADE_HOOKUP_OBJECT (AdvDlg, frame27, "frame27"); + GLADE_HOOKUP_OBJECT (AdvDlg, alignment22, "alignment22"); + GLADE_HOOKUP_OBJECT (AdvDlg, hbox37, "hbox37"); + GLADE_HOOKUP_OBJECT (AdvDlg, radio_EE_Clamp_None, "radio_EE_Clamp_None"); + GLADE_HOOKUP_OBJECT (AdvDlg, radio_EE_Clamp_Normal, "radio_EE_Clamp_Normal"); + GLADE_HOOKUP_OBJECT (AdvDlg, radio_EE_Clamp_Extra_Preserve, "radio_EE_Clamp_Extra_Preserve"); + GLADE_HOOKUP_OBJECT (AdvDlg, label73, "label73"); + GLADE_HOOKUP_OBJECT (AdvDlg, hbox34, "hbox34"); + GLADE_HOOKUP_OBJECT (AdvDlg, check_EE_Flush_Zero, "check_EE_Flush_Zero"); + GLADE_HOOKUP_OBJECT (AdvDlg, check_EE_Denormal_Zero, "check_EE_Denormal_Zero"); + GLADE_HOOKUP_OBJECT (AdvDlg, label70, "label70"); + GLADE_HOOKUP_OBJECT (AdvDlg, frame25, "frame25"); + GLADE_HOOKUP_OBJECT (AdvDlg, alignment20, "alignment20"); + GLADE_HOOKUP_OBJECT (AdvDlg, vbox54, "vbox54"); + GLADE_HOOKUP_OBJECT (AdvDlg, frame28, "frame28"); + GLADE_HOOKUP_OBJECT (AdvDlg, alignment23, "alignment23"); + GLADE_HOOKUP_OBJECT (AdvDlg, hbox36, "hbox36"); + GLADE_HOOKUP_OBJECT (AdvDlg, radio_VU_Round_Near, "radio_VU_Round_Near"); + GLADE_HOOKUP_OBJECT (AdvDlg, radio_VU_Round_Negative, "radio_VU_Round_Negative"); + GLADE_HOOKUP_OBJECT (AdvDlg, radio_VU_Round_Positive, "radio_VU_Round_Positive"); + GLADE_HOOKUP_OBJECT (AdvDlg, radio_VU_Round_Zero, "radio_VU_Round_Zero"); + GLADE_HOOKUP_OBJECT (AdvDlg, label74, "label74"); + GLADE_HOOKUP_OBJECT (AdvDlg, frame29, "frame29"); + GLADE_HOOKUP_OBJECT (AdvDlg, alignment24, "alignment24"); + GLADE_HOOKUP_OBJECT (AdvDlg, hbox38, "hbox38"); + GLADE_HOOKUP_OBJECT (AdvDlg, radio_VU_Clamp_None, "radio_VU_Clamp_None"); + GLADE_HOOKUP_OBJECT (AdvDlg, radio_VU_Clamp_Normal, "radio_VU_Clamp_Normal"); + GLADE_HOOKUP_OBJECT (AdvDlg, radio_VU_Clamp_Extra, "radio_VU_Clamp_Extra"); + GLADE_HOOKUP_OBJECT (AdvDlg, radio_VU_Clamp_Extra_Preserve, "radio_VU_Clamp_Extra_Preserve"); + GLADE_HOOKUP_OBJECT (AdvDlg, label75, "label75"); + GLADE_HOOKUP_OBJECT (AdvDlg, table7, "table7"); + GLADE_HOOKUP_OBJECT (AdvDlg, check_VU_Flush_Zero, "check_VU_Flush_Zero"); + GLADE_HOOKUP_OBJECT (AdvDlg, check_VU_Denormal_Zero, "check_VU_Denormal_Zero"); + GLADE_HOOKUP_OBJECT (AdvDlg, Check_Set_OU_Flags, "Check_Set_OU_Flags"); + GLADE_HOOKUP_OBJECT (AdvDlg, check_Emulate_DaZ, "check_Emulate_DaZ"); + GLADE_HOOKUP_OBJECT (AdvDlg, label71, "label71"); + GLADE_HOOKUP_OBJECT (AdvDlg, vbox51, "vbox51"); + GLADE_HOOKUP_OBJECT (AdvDlg, frame30, "frame30"); + GLADE_HOOKUP_OBJECT (AdvDlg, alignment25, "alignment25"); + GLADE_HOOKUP_OBJECT (AdvDlg, label81, "label81"); + GLADE_HOOKUP_OBJECT (AdvDlg, label78, "label78"); + GLADE_HOOKUP_OBJECT (AdvDlg, frame31, "frame31"); + GLADE_HOOKUP_OBJECT (AdvDlg, alignment26, "alignment26"); + GLADE_HOOKUP_OBJECT (AdvDlg, label84, "label84"); + GLADE_HOOKUP_OBJECT (AdvDlg, label79, "label79"); + GLADE_HOOKUP_OBJECT (AdvDlg, frame32, "frame32"); + GLADE_HOOKUP_OBJECT (AdvDlg, alignment27, "alignment27"); + GLADE_HOOKUP_OBJECT (AdvDlg, label83, "label83"); + GLADE_HOOKUP_OBJECT (AdvDlg, label80, "label80"); + GLADE_HOOKUP_OBJECT_NO_REF (AdvDlg, dialog_action_area4, "dialog_action_area4"); + GLADE_HOOKUP_OBJECT (AdvDlg, AdvDefaultBtn, "AdvDefaultBtn"); + GLADE_HOOKUP_OBJECT (AdvDlg, button79, "button79"); + GLADE_HOOKUP_OBJECT (AdvDlg, button80, "button80"); + + return AdvDlg; +} + +GtkWidget* +create_SpeedHacksDlg (void) +{ + GtkWidget *SpeedHacksDlg; + GtkWidget *dialog_vbox3; + GtkWidget *vbox59; + GtkWidget *label88; + GtkWidget *hbox39; + GtkWidget *frame37; + GtkWidget *alignment32; + GtkWidget *vbox61; + GtkWidget *check_default_cycle_rate; + GSList *check_default_cycle_rate_group = NULL; + GtkWidget *label98; + GtkWidget *check_1_5_cycle_rate; + GtkWidget *label93; + GtkWidget *check_2_cycle_rate; + GtkWidget *label94; + GtkWidget *check_3_cycle_rate; + GtkWidget *label95; + GtkWidget *hseparator1; + GtkWidget *label91; + GtkWidget *label90; + GtkWidget *vbox60; + GtkWidget *check_iop_cycle_rate; + GtkWidget *label96; + GtkWidget *check_wait_cycles_sync_hack; + GtkWidget *label97; + GtkWidget *frame36; + GtkWidget *alignment31; + GtkWidget *check_ESC_hack; + GtkWidget *label89; + GtkWidget *dialog_action_area3; + GtkWidget *button99; + GtkWidget *button98; + + SpeedHacksDlg = gtk_dialog_new (); + gtk_window_set_title (GTK_WINDOW (SpeedHacksDlg), _("PCSX2 Speed Hacks")); + gtk_window_set_type_hint (GTK_WINDOW (SpeedHacksDlg), GDK_WINDOW_TYPE_HINT_DIALOG); + + dialog_vbox3 = GTK_DIALOG (SpeedHacksDlg)->vbox; + gtk_widget_show (dialog_vbox3); + + vbox59 = gtk_vbox_new (FALSE, 0); + gtk_widget_show (vbox59); + gtk_box_pack_start (GTK_BOX (dialog_vbox3), vbox59, FALSE, FALSE, 0); + + label88 = gtk_label_new (_("These hacks will affect the speed of PCSX2 but possibly compromise compatibility.\nIf you have problems, Disable all of these and try again.")); + gtk_widget_show (label88); + gtk_box_pack_start (GTK_BOX (vbox59), label88, FALSE, FALSE, 0); + + hbox39 = gtk_hbox_new (FALSE, 0); + gtk_widget_show (hbox39); + gtk_box_pack_start (GTK_BOX (vbox59), hbox39, TRUE, TRUE, 0); + + frame37 = gtk_frame_new (NULL); + gtk_widget_show (frame37); + gtk_box_pack_start (GTK_BOX (hbox39), frame37, TRUE, TRUE, 0); + + alignment32 = gtk_alignment_new (0.5, 0.5, 1, 1); + gtk_widget_show (alignment32); + gtk_container_add (GTK_CONTAINER (frame37), alignment32); + gtk_alignment_set_padding (GTK_ALIGNMENT (alignment32), 0, 0, 12, 0); + + vbox61 = gtk_vbox_new (FALSE, 2); + gtk_widget_show (vbox61); + gtk_container_add (GTK_CONTAINER (alignment32), vbox61); + + check_default_cycle_rate = gtk_radio_button_new_with_mnemonic (NULL, _("Default Cycle Rate")); + gtk_widget_show (check_default_cycle_rate); + gtk_box_pack_start (GTK_BOX (vbox61), check_default_cycle_rate, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (check_default_cycle_rate), check_default_cycle_rate_group); + check_default_cycle_rate_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (check_default_cycle_rate)); + + label98 = gtk_label_new (_("Most compatable option - recommended for everyone with high-end machines.")); + gtk_widget_show (label98); + gtk_box_pack_start (GTK_BOX (vbox61), label98, FALSE, FALSE, 0); + gtk_label_set_line_wrap (GTK_LABEL (label98), TRUE); + gtk_misc_set_alignment (GTK_MISC (label98), 0.29, 0.5); + + check_1_5_cycle_rate = gtk_radio_button_new_with_mnemonic (NULL, _("Use x1.5 Cycle Rate")); + gtk_widget_show (check_1_5_cycle_rate); + gtk_box_pack_start (GTK_BOX (vbox61), check_1_5_cycle_rate, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (check_1_5_cycle_rate), check_default_cycle_rate_group); + check_default_cycle_rate_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (check_1_5_cycle_rate)); + + label93 = gtk_label_new (_("Moderate speedup, and works well with most games.")); + gtk_widget_show (label93); + gtk_box_pack_start (GTK_BOX (vbox61), label93, FALSE, FALSE, 0); + gtk_label_set_line_wrap (GTK_LABEL (label93), TRUE); + gtk_misc_set_alignment (GTK_MISC (label93), 0.29, 0.5); + + check_2_cycle_rate = gtk_radio_button_new_with_mnemonic (NULL, _("Use x2 Cycle Rate")); + gtk_widget_show (check_2_cycle_rate); + gtk_box_pack_start (GTK_BOX (vbox61), check_2_cycle_rate, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (check_2_cycle_rate), check_default_cycle_rate_group); + check_default_cycle_rate_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (check_2_cycle_rate)); + + label94 = gtk_label_new (_("Big speedup! Works well with many games.")); + gtk_widget_show (label94); + gtk_box_pack_start (GTK_BOX (vbox61), label94, FALSE, FALSE, 0); + gtk_label_set_line_wrap (GTK_LABEL (label94), TRUE); + gtk_misc_set_alignment (GTK_MISC (label94), 0.36, 0.5); + + check_3_cycle_rate = gtk_radio_button_new_with_mnemonic (NULL, _("Use x3 Cycle Rate")); + gtk_widget_show (check_3_cycle_rate); + gtk_box_pack_start (GTK_BOX (vbox61), check_3_cycle_rate, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (check_3_cycle_rate), check_default_cycle_rate_group); + check_default_cycle_rate_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (check_3_cycle_rate)); + + label95 = gtk_label_new (_("Big speedup, but causes flickering or missing geometry on many games.")); + gtk_widget_show (label95); + gtk_box_pack_start (GTK_BOX (vbox61), label95, FALSE, FALSE, 0); + gtk_label_set_line_wrap (GTK_LABEL (label95), TRUE); + gtk_misc_set_alignment (GTK_MISC (label95), 0.24, 0.5); + + hseparator1 = gtk_hseparator_new (); + gtk_widget_show (hseparator1); + gtk_box_pack_start (GTK_BOX (vbox61), hseparator1, FALSE, FALSE, 0); + + label91 = gtk_label_new (_("Important: X2 & X3 sync hacks *will* cause choppy/skippy audio on many FMV movies.")); + gtk_widget_show (label91); + gtk_box_pack_start (GTK_BOX (vbox61), label91, FALSE, FALSE, 0); + gtk_label_set_line_wrap (GTK_LABEL (label91), TRUE); + + label90 = gtk_label_new (_("frame37")); + gtk_widget_show (label90); + gtk_frame_set_label_widget (GTK_FRAME (frame37), label90); + gtk_label_set_use_markup (GTK_LABEL (label90), TRUE); + + vbox60 = gtk_vbox_new (FALSE, 0); + gtk_widget_show (vbox60); + gtk_box_pack_start (GTK_BOX (hbox39), vbox60, FALSE, FALSE, 0); + + check_iop_cycle_rate = gtk_check_button_new_with_mnemonic (_("Enable IOP x2 Cycle Rate")); + gtk_widget_show (check_iop_cycle_rate); + gtk_box_pack_start (GTK_BOX (vbox60), check_iop_cycle_rate, FALSE, FALSE, 0); + + label96 = gtk_label_new (_("Small speedup, and works well with most games,")); + gtk_widget_show (label96); + gtk_box_pack_start (GTK_BOX (vbox60), label96, FALSE, FALSE, 0); + gtk_label_set_line_wrap (GTK_LABEL (label96), TRUE); + + check_wait_cycles_sync_hack = gtk_check_button_new_with_mnemonic (_("WaitCycles Sync Hack")); + gtk_widget_show (check_wait_cycles_sync_hack); + gtk_box_pack_start (GTK_BOX (vbox60), check_wait_cycles_sync_hack, FALSE, FALSE, 0); + + label97 = gtk_label_new (_("Small speedup. Works well with most games, but it may cause certain games to crash, or freeze up during bootup or stage changes.")); + gtk_widget_show (label97); + gtk_box_pack_start (GTK_BOX (vbox60), label97, FALSE, FALSE, 0); + gtk_label_set_line_wrap (GTK_LABEL (label97), TRUE); + + frame36 = gtk_frame_new (NULL); + gtk_widget_show (frame36); + gtk_box_pack_start (GTK_BOX (vbox59), frame36, FALSE, FALSE, 0); + + alignment31 = gtk_alignment_new (0.5, 0.5, 1, 1); + gtk_widget_show (alignment31); + gtk_container_add (GTK_CONTAINER (frame36), alignment31); + gtk_alignment_set_padding (GTK_ALIGNMENT (alignment31), 0, 0, 12, 0); + + check_ESC_hack = gtk_check_button_new_with_mnemonic (_("Escape Hack - Use Esc key to fully exit PCSX2.")); + gtk_widget_show (check_ESC_hack); + gtk_container_add (GTK_CONTAINER (alignment31), check_ESC_hack); + + label89 = gtk_label_new (_("Miscellaneous")); + gtk_widget_show (label89); + gtk_frame_set_label_widget (GTK_FRAME (frame36), label89); + gtk_label_set_use_markup (GTK_LABEL (label89), TRUE); + + dialog_action_area3 = GTK_DIALOG (SpeedHacksDlg)->action_area; + gtk_widget_show (dialog_action_area3); + gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area3), GTK_BUTTONBOX_END); + + button99 = gtk_button_new_from_stock ("gtk-ok"); + gtk_widget_show (button99); + gtk_dialog_add_action_widget (GTK_DIALOG (SpeedHacksDlg), button99, GTK_RESPONSE_OK); + GTK_WIDGET_SET_FLAGS (button99, GTK_CAN_DEFAULT); + + button98 = gtk_button_new_from_stock ("gtk-cancel"); + gtk_widget_show (button98); + gtk_dialog_add_action_widget (GTK_DIALOG (SpeedHacksDlg), button98, GTK_RESPONSE_CANCEL); + GTK_WIDGET_SET_FLAGS (button98, GTK_CAN_DEFAULT); + + g_signal_connect ((gpointer) button99, "clicked", + G_CALLBACK (on_Speed_Hack_OK), + NULL); + g_signal_connect ((gpointer) button98, "clicked", + G_CALLBACK (On_Dialog_Cancelled), + NULL); + + /* Store pointers to all widgets, for use by lookup_widget(). */ + GLADE_HOOKUP_OBJECT_NO_REF (SpeedHacksDlg, SpeedHacksDlg, "SpeedHacksDlg"); + GLADE_HOOKUP_OBJECT_NO_REF (SpeedHacksDlg, dialog_vbox3, "dialog_vbox3"); + GLADE_HOOKUP_OBJECT (SpeedHacksDlg, vbox59, "vbox59"); + GLADE_HOOKUP_OBJECT (SpeedHacksDlg, label88, "label88"); + GLADE_HOOKUP_OBJECT (SpeedHacksDlg, hbox39, "hbox39"); + GLADE_HOOKUP_OBJECT (SpeedHacksDlg, frame37, "frame37"); + GLADE_HOOKUP_OBJECT (SpeedHacksDlg, alignment32, "alignment32"); + GLADE_HOOKUP_OBJECT (SpeedHacksDlg, vbox61, "vbox61"); + GLADE_HOOKUP_OBJECT (SpeedHacksDlg, check_default_cycle_rate, "check_default_cycle_rate"); + GLADE_HOOKUP_OBJECT (SpeedHacksDlg, label98, "label98"); + GLADE_HOOKUP_OBJECT (SpeedHacksDlg, check_1_5_cycle_rate, "check_1_5_cycle_rate"); + GLADE_HOOKUP_OBJECT (SpeedHacksDlg, label93, "label93"); + GLADE_HOOKUP_OBJECT (SpeedHacksDlg, check_2_cycle_rate, "check_2_cycle_rate"); + GLADE_HOOKUP_OBJECT (SpeedHacksDlg, label94, "label94"); + GLADE_HOOKUP_OBJECT (SpeedHacksDlg, check_3_cycle_rate, "check_3_cycle_rate"); + GLADE_HOOKUP_OBJECT (SpeedHacksDlg, label95, "label95"); + GLADE_HOOKUP_OBJECT (SpeedHacksDlg, hseparator1, "hseparator1"); + GLADE_HOOKUP_OBJECT (SpeedHacksDlg, label91, "label91"); + GLADE_HOOKUP_OBJECT (SpeedHacksDlg, label90, "label90"); + GLADE_HOOKUP_OBJECT (SpeedHacksDlg, vbox60, "vbox60"); + GLADE_HOOKUP_OBJECT (SpeedHacksDlg, check_iop_cycle_rate, "check_iop_cycle_rate"); + GLADE_HOOKUP_OBJECT (SpeedHacksDlg, label96, "label96"); + GLADE_HOOKUP_OBJECT (SpeedHacksDlg, check_wait_cycles_sync_hack, "check_wait_cycles_sync_hack"); + GLADE_HOOKUP_OBJECT (SpeedHacksDlg, label97, "label97"); + GLADE_HOOKUP_OBJECT (SpeedHacksDlg, frame36, "frame36"); + GLADE_HOOKUP_OBJECT (SpeedHacksDlg, alignment31, "alignment31"); + GLADE_HOOKUP_OBJECT (SpeedHacksDlg, check_ESC_hack, "check_ESC_hack"); + GLADE_HOOKUP_OBJECT (SpeedHacksDlg, label89, "label89"); + GLADE_HOOKUP_OBJECT_NO_REF (SpeedHacksDlg, dialog_action_area3, "dialog_action_area3"); + GLADE_HOOKUP_OBJECT (SpeedHacksDlg, button99, "button99"); + GLADE_HOOKUP_OBJECT (SpeedHacksDlg, button98, "button98"); + + return SpeedHacksDlg; +} + +GtkWidget* +create_GameFixDlg (void) +{ + GtkWidget *GameFixDlg; + GtkWidget *dialog_vbox1; + GtkWidget *GameSettings; + GtkWidget *alignment5; + GtkWidget *vbox30; + GtkWidget *check_FPU_Clamp; + GtkWidget *check_VU_Branch; + GtkWidget *check_VU_Add_Sub; + GtkWidget *label42; + GtkWidget *dialog_action_area1; + GtkWidget *cancelbutton1; + GtkWidget *button83; + + GameFixDlg = gtk_dialog_new (); + gtk_window_set_title (GTK_WINDOW (GameFixDlg), _("Game Special Fixes")); + gtk_window_set_type_hint (GTK_WINDOW (GameFixDlg), GDK_WINDOW_TYPE_HINT_DIALOG); + + dialog_vbox1 = GTK_DIALOG (GameFixDlg)->vbox; + gtk_widget_show (dialog_vbox1); + + GameSettings = gtk_frame_new (NULL); + gtk_widget_show (GameSettings); + gtk_box_pack_start (GTK_BOX (dialog_vbox1), GameSettings, TRUE, TRUE, 0); + gtk_frame_set_shadow_type (GTK_FRAME (GameSettings), GTK_SHADOW_NONE); + + alignment5 = gtk_alignment_new (0.5, 0.5, 1, 1); + gtk_widget_show (alignment5); + gtk_container_add (GTK_CONTAINER (GameSettings), alignment5); + gtk_alignment_set_padding (GTK_ALIGNMENT (alignment5), 0, 0, 12, 0); + + vbox30 = gtk_vbox_new (FALSE, 0); + gtk_widget_show (vbox30); + gtk_container_add (GTK_CONTAINER (alignment5), vbox30); + + check_FPU_Clamp = gtk_check_button_new_with_mnemonic (_("FPU Clamp Hack - Special fix for Tekken 5 and maybe other games.")); + gtk_widget_show (check_FPU_Clamp); + gtk_box_pack_start (GTK_BOX (vbox30), check_FPU_Clamp, FALSE, FALSE, 0); + + check_VU_Branch = gtk_check_button_new_with_mnemonic (_("VU Branch Hack - Special fix for Magna Carta; Breaks Crash Bandicoot!")); + gtk_widget_show (check_VU_Branch); + gtk_box_pack_start (GTK_BOX (vbox30), check_VU_Branch, FALSE, FALSE, 0); + + check_VU_Add_Sub = gtk_check_button_new_with_mnemonic (_("VU Add / Sub Hack - Special fix for Tri-Ace games!")); + gtk_widget_show (check_VU_Add_Sub); + gtk_box_pack_start (GTK_BOX (vbox30), check_VU_Add_Sub, FALSE, FALSE, 0); + + label42 = gtk_label_new (_("Some games need special settings.\nConfigure them here.")); + gtk_widget_show (label42); + gtk_frame_set_label_widget (GTK_FRAME (GameSettings), label42); + gtk_label_set_use_markup (GTK_LABEL (label42), TRUE); + + dialog_action_area1 = GTK_DIALOG (GameFixDlg)->action_area; + gtk_widget_show (dialog_action_area1); + gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area1), GTK_BUTTONBOX_END); + + cancelbutton1 = gtk_button_new_from_stock ("gtk-ok"); + gtk_widget_show (cancelbutton1); + gtk_dialog_add_action_widget (GTK_DIALOG (GameFixDlg), cancelbutton1, GTK_RESPONSE_OK); + GTK_WIDGET_SET_FLAGS (cancelbutton1, GTK_CAN_DEFAULT); + + button83 = gtk_button_new_from_stock ("gtk-cancel"); + gtk_widget_show (button83); + gtk_dialog_add_action_widget (GTK_DIALOG (GameFixDlg), button83, GTK_RESPONSE_CANCEL); + GTK_WIDGET_SET_FLAGS (button83, GTK_CAN_DEFAULT); + + g_signal_connect ((gpointer) cancelbutton1, "clicked", + G_CALLBACK (on_Game_Fix_OK), + NULL); + g_signal_connect ((gpointer) button83, "clicked", + G_CALLBACK (On_Dialog_Cancelled), + NULL); + + /* Store pointers to all widgets, for use by lookup_widget(). */ + GLADE_HOOKUP_OBJECT_NO_REF (GameFixDlg, GameFixDlg, "GameFixDlg"); + GLADE_HOOKUP_OBJECT_NO_REF (GameFixDlg, dialog_vbox1, "dialog_vbox1"); + GLADE_HOOKUP_OBJECT (GameFixDlg, GameSettings, "GameSettings"); + GLADE_HOOKUP_OBJECT (GameFixDlg, alignment5, "alignment5"); + GLADE_HOOKUP_OBJECT (GameFixDlg, vbox30, "vbox30"); + GLADE_HOOKUP_OBJECT (GameFixDlg, check_FPU_Clamp, "check_FPU_Clamp"); + GLADE_HOOKUP_OBJECT (GameFixDlg, check_VU_Branch, "check_VU_Branch"); + GLADE_HOOKUP_OBJECT (GameFixDlg, check_VU_Add_Sub, "check_VU_Add_Sub"); + GLADE_HOOKUP_OBJECT (GameFixDlg, label42, "label42"); + GLADE_HOOKUP_OBJECT_NO_REF (GameFixDlg, dialog_action_area1, "dialog_action_area1"); + GLADE_HOOKUP_OBJECT (GameFixDlg, cancelbutton1, "cancelbutton1"); + GLADE_HOOKUP_OBJECT (GameFixDlg, button83, "button83"); + + return GameFixDlg; +} + +GtkWidget* +create_MemWrite32 (void) +{ + GtkWidget *MemWrite32; + GtkWidget *vbox25; + GtkWidget *hbox18; + GtkWidget *label27; + GtkWidget *label25; + GtkWidget *GtkEntry_Mem; + GtkWidget *hbox19; + GtkWidget *label28; + GtkWidget *label26; + GtkWidget *GtkEntry_Data; + GtkWidget *hbuttonbox22; + GtkWidget *button71; + GtkWidget *button72; + + MemWrite32 = gtk_window_new (GTK_WINDOW_TOPLEVEL); + gtk_container_set_border_width (GTK_CONTAINER (MemWrite32), 5); + gtk_window_set_title (GTK_WINDOW (MemWrite32), _("memWrite32")); + + vbox25 = gtk_vbox_new (FALSE, 5); + gtk_widget_show (vbox25); + gtk_container_add (GTK_CONTAINER (MemWrite32), vbox25); + gtk_container_set_border_width (GTK_CONTAINER (vbox25), 5); + + hbox18 = gtk_hbox_new (FALSE, 2); + gtk_widget_show (hbox18); + gtk_box_pack_start (GTK_BOX (vbox25), hbox18, FALSE, FALSE, 0); + gtk_container_set_border_width (GTK_CONTAINER (hbox18), 5); + + label27 = gtk_label_new (_("Address ")); + gtk_widget_show (label27); + gtk_box_pack_start (GTK_BOX (hbox18), label27, FALSE, FALSE, 0); + gtk_label_set_justify (GTK_LABEL (label27), GTK_JUSTIFY_CENTER); + + label25 = gtk_label_new (_("0x")); + gtk_widget_show (label25); + gtk_box_pack_start (GTK_BOX (hbox18), label25, FALSE, FALSE, 0); + gtk_label_set_justify (GTK_LABEL (label25), GTK_JUSTIFY_CENTER); + + GtkEntry_Mem = gtk_entry_new (); + gtk_widget_show (GtkEntry_Mem); + gtk_box_pack_start (GTK_BOX (hbox18), GtkEntry_Mem, TRUE, TRUE, 0); + gtk_entry_set_invisible_char (GTK_ENTRY (GtkEntry_Mem), 8226); + + hbox19 = gtk_hbox_new (FALSE, 2); + gtk_widget_show (hbox19); + gtk_box_pack_start (GTK_BOX (vbox25), hbox19, TRUE, TRUE, 0); + gtk_container_set_border_width (GTK_CONTAINER (hbox19), 5); + + label28 = gtk_label_new (_("Data ")); + gtk_widget_show (label28); + gtk_box_pack_start (GTK_BOX (hbox19), label28, FALSE, FALSE, 0); + gtk_label_set_justify (GTK_LABEL (label28), GTK_JUSTIFY_CENTER); + + label26 = gtk_label_new (_("0x")); + gtk_widget_show (label26); + gtk_box_pack_start (GTK_BOX (hbox19), label26, FALSE, FALSE, 0); + gtk_label_set_justify (GTK_LABEL (label26), GTK_JUSTIFY_CENTER); + + GtkEntry_Data = gtk_entry_new (); + gtk_widget_show (GtkEntry_Data); + gtk_box_pack_start (GTK_BOX (hbox19), GtkEntry_Data, TRUE, TRUE, 0); + gtk_entry_set_invisible_char (GTK_ENTRY (GtkEntry_Data), 8226); + + hbuttonbox22 = gtk_hbutton_box_new (); + gtk_widget_show (hbuttonbox22); + gtk_box_pack_start (GTK_BOX (vbox25), hbuttonbox22, TRUE, TRUE, 0); + gtk_box_set_spacing (GTK_BOX (hbuttonbox22), 30); + + button71 = gtk_button_new_from_stock ("gtk-ok"); + gtk_widget_show (button71); + gtk_container_add (GTK_CONTAINER (hbuttonbox22), button71); + GTK_WIDGET_SET_FLAGS (button71, GTK_CAN_DEFAULT); + + button72 = gtk_button_new_from_stock ("gtk-cancel"); + gtk_widget_show (button72); + gtk_container_add (GTK_CONTAINER (hbuttonbox22), button72); + GTK_WIDGET_SET_FLAGS (button72, GTK_CAN_DEFAULT); + + g_signal_connect ((gpointer) button71, "clicked", + G_CALLBACK (OnMemWrite32_Ok), + NULL); + g_signal_connect ((gpointer) button72, "clicked", + G_CALLBACK (On_Dialog_Cancelled), + NULL); + + /* Store pointers to all widgets, for use by lookup_widget(). */ + GLADE_HOOKUP_OBJECT_NO_REF (MemWrite32, MemWrite32, "MemWrite32"); + GLADE_HOOKUP_OBJECT (MemWrite32, vbox25, "vbox25"); + GLADE_HOOKUP_OBJECT (MemWrite32, hbox18, "hbox18"); + GLADE_HOOKUP_OBJECT (MemWrite32, label27, "label27"); + GLADE_HOOKUP_OBJECT (MemWrite32, label25, "label25"); + GLADE_HOOKUP_OBJECT (MemWrite32, GtkEntry_Mem, "GtkEntry_Mem"); + GLADE_HOOKUP_OBJECT (MemWrite32, hbox19, "hbox19"); + GLADE_HOOKUP_OBJECT (MemWrite32, label28, "label28"); + GLADE_HOOKUP_OBJECT (MemWrite32, label26, "label26"); + GLADE_HOOKUP_OBJECT (MemWrite32, GtkEntry_Data, "GtkEntry_Data"); + GLADE_HOOKUP_OBJECT (MemWrite32, hbuttonbox22, "hbuttonbox22"); + GLADE_HOOKUP_OBJECT (MemWrite32, button71, "button71"); + GLADE_HOOKUP_OBJECT (MemWrite32, button72, "button72"); + + return MemWrite32; +} + +GtkWidget* +create_CmdLine (void) +{ + GtkWidget *CmdLine; + GtkWidget *vbox24; + GtkWidget *GtkLabel_Text; + GtkWidget *hbox17; + GtkWidget *GtkEntry_dCMDLINE; + GtkWidget *GtkLabel_Note; + GtkWidget *hbuttonbox20; + GtkWidget *GtkButton_Ok3; + GtkWidget *GtkButton_Cancel2; + GtkTooltips *tooltips; + + tooltips = gtk_tooltips_new (); + + CmdLine = gtk_window_new (GTK_WINDOW_TOPLEVEL); + gtk_container_set_border_width (GTK_CONTAINER (CmdLine), 5); + gtk_window_set_title (GTK_WINDOW (CmdLine), _("Program arguments")); + gtk_window_set_modal (GTK_WINDOW (CmdLine), TRUE); + + vbox24 = gtk_vbox_new (FALSE, 5); + gtk_widget_show (vbox24); + gtk_container_add (GTK_CONTAINER (CmdLine), vbox24); + gtk_container_set_border_width (GTK_CONTAINER (vbox24), 5); + + GtkLabel_Text = gtk_label_new (_("Fill in the command line arguments for the opened program:")); + gtk_widget_show (GtkLabel_Text); + gtk_box_pack_start (GTK_BOX (vbox24), GtkLabel_Text, FALSE, FALSE, 0); + gtk_label_set_justify (GTK_LABEL (GtkLabel_Text), GTK_JUSTIFY_CENTER); + gtk_misc_set_alignment (GTK_MISC (GtkLabel_Text), 0.1, 0.5); + + hbox17 = gtk_hbox_new (FALSE, 2); + gtk_widget_show (hbox17); + gtk_box_pack_start (GTK_BOX (vbox24), hbox17, FALSE, FALSE, 0); + gtk_container_set_border_width (GTK_CONTAINER (hbox17), 5); + + GtkEntry_dCMDLINE = gtk_entry_new (); + gtk_widget_show (GtkEntry_dCMDLINE); + gtk_box_pack_start (GTK_BOX (hbox17), GtkEntry_dCMDLINE, TRUE, TRUE, 0); + gtk_tooltips_set_tip (tooltips, GtkEntry_dCMDLINE, _("If you don't know what to write leave it blank"), NULL); + gtk_entry_set_invisible_char (GTK_ENTRY (GtkEntry_dCMDLINE), 8226); + + GtkLabel_Note = gtk_label_new (_("Note: this is intended for developers only.")); + gtk_widget_show (GtkLabel_Note); + gtk_box_pack_start (GTK_BOX (vbox24), GtkLabel_Note, FALSE, FALSE, 0); + gtk_label_set_justify (GTK_LABEL (GtkLabel_Note), GTK_JUSTIFY_CENTER); + + hbuttonbox20 = gtk_hbutton_box_new (); + gtk_widget_show (hbuttonbox20); + gtk_box_pack_start (GTK_BOX (vbox24), hbuttonbox20, TRUE, TRUE, 0); + gtk_box_set_spacing (GTK_BOX (hbuttonbox20), 30); + + GtkButton_Ok3 = gtk_button_new_from_stock ("gtk-ok"); + gtk_widget_show (GtkButton_Ok3); + gtk_container_add (GTK_CONTAINER (hbuttonbox20), GtkButton_Ok3); + GTK_WIDGET_SET_FLAGS (GtkButton_Ok3, GTK_CAN_DEFAULT); + + GtkButton_Cancel2 = gtk_button_new_from_stock ("gtk-cancel"); + gtk_widget_show (GtkButton_Cancel2); + gtk_container_add (GTK_CONTAINER (hbuttonbox20), GtkButton_Cancel2); + GTK_WIDGET_SET_FLAGS (GtkButton_Cancel2, GTK_CAN_DEFAULT); + + g_signal_connect ((gpointer) GtkButton_Ok3, "clicked", + G_CALLBACK (OnArguments_Ok), + NULL); + g_signal_connect ((gpointer) GtkButton_Cancel2, "clicked", + G_CALLBACK (On_Dialog_Cancelled), + NULL); + + /* Store pointers to all widgets, for use by lookup_widget(). */ + GLADE_HOOKUP_OBJECT_NO_REF (CmdLine, CmdLine, "CmdLine"); + GLADE_HOOKUP_OBJECT (CmdLine, vbox24, "vbox24"); + GLADE_HOOKUP_OBJECT (CmdLine, GtkLabel_Text, "GtkLabel_Text"); + GLADE_HOOKUP_OBJECT (CmdLine, hbox17, "hbox17"); + GLADE_HOOKUP_OBJECT (CmdLine, GtkEntry_dCMDLINE, "GtkEntry_dCMDLINE"); + GLADE_HOOKUP_OBJECT (CmdLine, GtkLabel_Note, "GtkLabel_Note"); + GLADE_HOOKUP_OBJECT (CmdLine, hbuttonbox20, "hbuttonbox20"); + GLADE_HOOKUP_OBJECT (CmdLine, GtkButton_Ok3, "GtkButton_Ok3"); + GLADE_HOOKUP_OBJECT (CmdLine, GtkButton_Cancel2, "GtkButton_Cancel2"); + GLADE_HOOKUP_OBJECT_NO_REF (CmdLine, tooltips, "tooltips"); + + return CmdLine; +} + +GtkWidget* +create_DumpRDlg (void) +{ + GtkWidget *DumpRDlg; + GtkWidget *vbox21; + GtkWidget *label18; + GtkWidget *hbox13; + GtkWidget *label19; + GtkWidget *GtkEntry_DumpRF; + GtkWidget *hbox14; + GtkWidget *label20; + GtkWidget *GtkEntry_DumpRT; + GtkWidget *label22; + GtkWidget *hbuttonbox18; + GtkWidget *button50; + GtkWidget *button51; + + DumpRDlg = gtk_window_new (GTK_WINDOW_TOPLEVEL); + gtk_container_set_border_width (GTK_CONTAINER (DumpRDlg), 5); + gtk_window_set_title (GTK_WINDOW (DumpRDlg), _("Raw Dump")); + + vbox21 = gtk_vbox_new (FALSE, 5); + gtk_widget_show (vbox21); + gtk_container_add (GTK_CONTAINER (DumpRDlg), vbox21); + gtk_container_set_border_width (GTK_CONTAINER (vbox21), 5); + + label18 = gtk_label_new (_("Set Dump Addr (in Hex):")); + gtk_widget_show (label18); + gtk_box_pack_start (GTK_BOX (vbox21), label18, FALSE, FALSE, 0); + gtk_label_set_justify (GTK_LABEL (label18), GTK_JUSTIFY_CENTER); + gtk_misc_set_alignment (GTK_MISC (label18), 0.1, 0.5); + + hbox13 = gtk_hbox_new (FALSE, 2); + gtk_widget_show (hbox13); + gtk_box_pack_start (GTK_BOX (vbox21), hbox13, FALSE, FALSE, 0); + gtk_container_set_border_width (GTK_CONTAINER (hbox13), 5); + + label19 = gtk_label_new (_("From 0x")); + gtk_widget_show (label19); + gtk_box_pack_start (GTK_BOX (hbox13), label19, FALSE, FALSE, 0); + gtk_label_set_justify (GTK_LABEL (label19), GTK_JUSTIFY_CENTER); + gtk_label_set_line_wrap (GTK_LABEL (label19), TRUE); + + GtkEntry_DumpRF = gtk_entry_new (); + gtk_widget_show (GtkEntry_DumpRF); + gtk_box_pack_start (GTK_BOX (hbox13), GtkEntry_DumpRF, TRUE, TRUE, 0); + gtk_entry_set_invisible_char (GTK_ENTRY (GtkEntry_DumpRF), 8226); + + hbox14 = gtk_hbox_new (FALSE, 2); + gtk_widget_show (hbox14); + gtk_box_pack_start (GTK_BOX (vbox21), hbox14, TRUE, TRUE, 0); + gtk_container_set_border_width (GTK_CONTAINER (hbox14), 5); + + label20 = gtk_label_new (_("To 0x")); + gtk_widget_show (label20); + gtk_box_pack_start (GTK_BOX (hbox14), label20, FALSE, FALSE, 0); + + GtkEntry_DumpRT = gtk_entry_new (); + gtk_widget_show (GtkEntry_DumpRT); + gtk_box_pack_start (GTK_BOX (hbox14), GtkEntry_DumpRT, TRUE, TRUE, 0); + gtk_entry_set_invisible_char (GTK_ENTRY (GtkEntry_DumpRT), 8226); + + label22 = gtk_label_new (_("Dump File = \"dump.txt\"")); + gtk_widget_show (label22); + gtk_box_pack_start (GTK_BOX (vbox21), label22, FALSE, FALSE, 0); + gtk_misc_set_alignment (GTK_MISC (label22), 0.1, 0.5); + + hbuttonbox18 = gtk_hbutton_box_new (); + gtk_widget_show (hbuttonbox18); + gtk_box_pack_start (GTK_BOX (vbox21), hbuttonbox18, TRUE, TRUE, 0); + gtk_box_set_spacing (GTK_BOX (hbuttonbox18), 30); + + button50 = gtk_button_new_from_stock ("gtk-ok"); + gtk_widget_show (button50); + gtk_container_add (GTK_CONTAINER (hbuttonbox18), button50); + GTK_WIDGET_SET_FLAGS (button50, GTK_CAN_DEFAULT); + + button51 = gtk_button_new_from_stock ("gtk-cancel"); + gtk_widget_show (button51); + gtk_container_add (GTK_CONTAINER (hbuttonbox18), button51); + GTK_WIDGET_SET_FLAGS (button51, GTK_CAN_DEFAULT); + + g_signal_connect ((gpointer) button50, "clicked", + G_CALLBACK (OnDumpR_Ok), + NULL); + g_signal_connect ((gpointer) button51, "clicked", + G_CALLBACK (On_Dialog_Cancelled), + NULL); + + /* Store pointers to all widgets, for use by lookup_widget(). */ + GLADE_HOOKUP_OBJECT_NO_REF (DumpRDlg, DumpRDlg, "DumpRDlg"); + GLADE_HOOKUP_OBJECT (DumpRDlg, vbox21, "vbox21"); + GLADE_HOOKUP_OBJECT (DumpRDlg, label18, "label18"); + GLADE_HOOKUP_OBJECT (DumpRDlg, hbox13, "hbox13"); + GLADE_HOOKUP_OBJECT (DumpRDlg, label19, "label19"); + GLADE_HOOKUP_OBJECT (DumpRDlg, GtkEntry_DumpRF, "GtkEntry_DumpRF"); + GLADE_HOOKUP_OBJECT (DumpRDlg, hbox14, "hbox14"); + GLADE_HOOKUP_OBJECT (DumpRDlg, label20, "label20"); + GLADE_HOOKUP_OBJECT (DumpRDlg, GtkEntry_DumpRT, "GtkEntry_DumpRT"); + GLADE_HOOKUP_OBJECT (DumpRDlg, label22, "label22"); + GLADE_HOOKUP_OBJECT (DumpRDlg, hbuttonbox18, "hbuttonbox18"); + GLADE_HOOKUP_OBJECT (DumpRDlg, button50, "button50"); + GLADE_HOOKUP_OBJECT (DumpRDlg, button51, "button51"); + + return DumpRDlg; +} + +GtkWidget* +create_DumpCDlg (void) +{ + GtkWidget *DumpCDlg; + GtkWidget *vbox20; + GtkWidget *label15; + GtkWidget *hbox11; + GtkWidget *label16; + GtkWidget *GtkEntry_DumpCF; + GtkWidget *hbox12; + GtkWidget *label17; + GtkWidget *GtkEntry_DumpCT; + GtkWidget *label21; + GtkWidget *hbuttonbox17; + GtkWidget *button48; + GtkWidget *button49; + + DumpCDlg = gtk_window_new (GTK_WINDOW_TOPLEVEL); + gtk_container_set_border_width (GTK_CONTAINER (DumpCDlg), 5); + gtk_window_set_title (GTK_WINDOW (DumpCDlg), _("Dump code")); + + vbox20 = gtk_vbox_new (FALSE, 5); + gtk_widget_show (vbox20); + gtk_container_add (GTK_CONTAINER (DumpCDlg), vbox20); + gtk_container_set_border_width (GTK_CONTAINER (vbox20), 5); + + label15 = gtk_label_new (_("Set Dump Addr (in Hex):")); + gtk_widget_show (label15); + gtk_box_pack_start (GTK_BOX (vbox20), label15, FALSE, FALSE, 0); + gtk_misc_set_alignment (GTK_MISC (label15), 0.1, 0.5); + + hbox11 = gtk_hbox_new (FALSE, 2); + gtk_widget_show (hbox11); + gtk_box_pack_start (GTK_BOX (vbox20), hbox11, FALSE, FALSE, 0); + gtk_container_set_border_width (GTK_CONTAINER (hbox11), 5); + + label16 = gtk_label_new (_("From 0x")); + gtk_widget_show (label16); + gtk_box_pack_start (GTK_BOX (hbox11), label16, FALSE, FALSE, 0); + gtk_label_set_justify (GTK_LABEL (label16), GTK_JUSTIFY_CENTER); + gtk_label_set_line_wrap (GTK_LABEL (label16), TRUE); + + GtkEntry_DumpCF = gtk_entry_new (); + gtk_widget_show (GtkEntry_DumpCF); + gtk_box_pack_start (GTK_BOX (hbox11), GtkEntry_DumpCF, TRUE, TRUE, 0); + gtk_entry_set_invisible_char (GTK_ENTRY (GtkEntry_DumpCF), 8226); + + hbox12 = gtk_hbox_new (FALSE, 2); + gtk_widget_show (hbox12); + gtk_box_pack_start (GTK_BOX (vbox20), hbox12, TRUE, TRUE, 0); + gtk_container_set_border_width (GTK_CONTAINER (hbox12), 5); + + label17 = gtk_label_new (_("To 0x")); + gtk_widget_show (label17); + gtk_box_pack_start (GTK_BOX (hbox12), label17, FALSE, FALSE, 0); + gtk_label_set_justify (GTK_LABEL (label17), GTK_JUSTIFY_CENTER); + + GtkEntry_DumpCT = gtk_entry_new (); + gtk_widget_show (GtkEntry_DumpCT); + gtk_box_pack_start (GTK_BOX (hbox12), GtkEntry_DumpCT, TRUE, TRUE, 0); + gtk_entry_set_invisible_char (GTK_ENTRY (GtkEntry_DumpCT), 8226); + + label21 = gtk_label_new (_("Dump File = \"dump.txt\"")); + gtk_widget_show (label21); + gtk_box_pack_start (GTK_BOX (vbox20), label21, FALSE, FALSE, 0); + gtk_misc_set_alignment (GTK_MISC (label21), 0.1, 0.5); + + hbuttonbox17 = gtk_hbutton_box_new (); + gtk_widget_show (hbuttonbox17); + gtk_box_pack_start (GTK_BOX (vbox20), hbuttonbox17, TRUE, TRUE, 0); + gtk_box_set_spacing (GTK_BOX (hbuttonbox17), 30); + + button48 = gtk_button_new_from_stock ("gtk-ok"); + gtk_widget_show (button48); + gtk_container_add (GTK_CONTAINER (hbuttonbox17), button48); + GTK_WIDGET_SET_FLAGS (button48, GTK_CAN_DEFAULT); + + button49 = gtk_button_new_from_stock ("gtk-cancel"); + gtk_widget_show (button49); + gtk_container_add (GTK_CONTAINER (hbuttonbox17), button49); + GTK_WIDGET_SET_FLAGS (button49, GTK_CAN_DEFAULT); + + g_signal_connect ((gpointer) button48, "clicked", + G_CALLBACK (OnDumpC_Ok), + NULL); + g_signal_connect ((gpointer) button49, "clicked", + G_CALLBACK (On_Dialog_Cancelled), + NULL); + + /* Store pointers to all widgets, for use by lookup_widget(). */ + GLADE_HOOKUP_OBJECT_NO_REF (DumpCDlg, DumpCDlg, "DumpCDlg"); + GLADE_HOOKUP_OBJECT (DumpCDlg, vbox20, "vbox20"); + GLADE_HOOKUP_OBJECT (DumpCDlg, label15, "label15"); + GLADE_HOOKUP_OBJECT (DumpCDlg, hbox11, "hbox11"); + GLADE_HOOKUP_OBJECT (DumpCDlg, label16, "label16"); + GLADE_HOOKUP_OBJECT (DumpCDlg, GtkEntry_DumpCF, "GtkEntry_DumpCF"); + GLADE_HOOKUP_OBJECT (DumpCDlg, hbox12, "hbox12"); + GLADE_HOOKUP_OBJECT (DumpCDlg, label17, "label17"); + GLADE_HOOKUP_OBJECT (DumpCDlg, GtkEntry_DumpCT, "GtkEntry_DumpCT"); + GLADE_HOOKUP_OBJECT (DumpCDlg, label21, "label21"); + GLADE_HOOKUP_OBJECT (DumpCDlg, hbuttonbox17, "hbuttonbox17"); + GLADE_HOOKUP_OBJECT (DumpCDlg, button48, "button48"); + GLADE_HOOKUP_OBJECT (DumpCDlg, button49, "button49"); + + return DumpCDlg; +} + +GtkWidget* +create_SetBPCDlg (void) +{ + GtkWidget *SetBPCDlg; + GtkWidget *vbox19; + GtkWidget *label13; + GtkWidget *hbox10; + GtkWidget *label14; + GtkWidget *GtkEntry_BPC; + GtkWidget *hbuttonbox16; + GtkWidget *button46; + GtkWidget *button47; + + SetBPCDlg = gtk_window_new (GTK_WINDOW_TOPLEVEL); + gtk_container_set_border_width (GTK_CONTAINER (SetBPCDlg), 5); + gtk_window_set_title (GTK_WINDOW (SetBPCDlg), _("SetBreakPoint Addr")); + + vbox19 = gtk_vbox_new (FALSE, 5); + gtk_widget_show (vbox19); + gtk_container_add (GTK_CONTAINER (SetBPCDlg), vbox19); + gtk_container_set_border_width (GTK_CONTAINER (vbox19), 5); + + label13 = gtk_label_new (_("Set New BP Count (in Hex):")); + gtk_widget_show (label13); + gtk_box_pack_start (GTK_BOX (vbox19), label13, FALSE, FALSE, 0); + gtk_label_set_justify (GTK_LABEL (label13), GTK_JUSTIFY_CENTER); + gtk_misc_set_alignment (GTK_MISC (label13), 0.1, 0.5); + + hbox10 = gtk_hbox_new (FALSE, 2); + gtk_widget_show (hbox10); + gtk_box_pack_start (GTK_BOX (vbox19), hbox10, FALSE, FALSE, 0); + gtk_container_set_border_width (GTK_CONTAINER (hbox10), 5); + + label14 = gtk_label_new (_("0x")); + gtk_widget_show (label14); + gtk_box_pack_start (GTK_BOX (hbox10), label14, FALSE, FALSE, 0); + gtk_label_set_justify (GTK_LABEL (label14), GTK_JUSTIFY_CENTER); + + GtkEntry_BPC = gtk_entry_new (); + gtk_widget_show (GtkEntry_BPC); + gtk_box_pack_start (GTK_BOX (hbox10), GtkEntry_BPC, TRUE, TRUE, 0); + gtk_entry_set_invisible_char (GTK_ENTRY (GtkEntry_BPC), 8226); + + hbuttonbox16 = gtk_hbutton_box_new (); + gtk_widget_show (hbuttonbox16); + gtk_box_pack_start (GTK_BOX (vbox19), hbuttonbox16, TRUE, TRUE, 0); + gtk_box_set_spacing (GTK_BOX (hbuttonbox16), 30); + + button46 = gtk_button_new_from_stock ("gtk-ok"); + gtk_widget_show (button46); + gtk_container_add (GTK_CONTAINER (hbuttonbox16), button46); + GTK_WIDGET_SET_FLAGS (button46, GTK_CAN_DEFAULT); + + button47 = gtk_button_new_from_stock ("gtk-cancel"); + gtk_widget_show (button47); + gtk_container_add (GTK_CONTAINER (hbuttonbox16), button47); + GTK_WIDGET_SET_FLAGS (button47, GTK_CAN_DEFAULT); + + g_signal_connect ((gpointer) button46, "clicked", + G_CALLBACK (OnSetBPC_Ok), + NULL); + g_signal_connect ((gpointer) button47, "clicked", + G_CALLBACK (On_Dialog_Cancelled), + NULL); + + /* Store pointers to all widgets, for use by lookup_widget(). */ + GLADE_HOOKUP_OBJECT_NO_REF (SetBPCDlg, SetBPCDlg, "SetBPCDlg"); + GLADE_HOOKUP_OBJECT (SetBPCDlg, vbox19, "vbox19"); + GLADE_HOOKUP_OBJECT (SetBPCDlg, label13, "label13"); + GLADE_HOOKUP_OBJECT (SetBPCDlg, hbox10, "hbox10"); + GLADE_HOOKUP_OBJECT (SetBPCDlg, label14, "label14"); + GLADE_HOOKUP_OBJECT (SetBPCDlg, GtkEntry_BPC, "GtkEntry_BPC"); + GLADE_HOOKUP_OBJECT (SetBPCDlg, hbuttonbox16, "hbuttonbox16"); + GLADE_HOOKUP_OBJECT (SetBPCDlg, button46, "button46"); + GLADE_HOOKUP_OBJECT (SetBPCDlg, button47, "button47"); + + return SetBPCDlg; +} + +GtkWidget* +create_SetBPADlg (void) +{ + GtkWidget *SetBPADlg; + GtkWidget *vbox18; + GtkWidget *label11; + GtkWidget *hbox9; + GtkWidget *label12; + GtkWidget *GtkEntry_BPA; + GtkWidget *hbuttonbox15; + GtkWidget *button44; + GtkWidget *button45; + + SetBPADlg = gtk_window_new (GTK_WINDOW_TOPLEVEL); + gtk_container_set_border_width (GTK_CONTAINER (SetBPADlg), 5); + gtk_window_set_title (GTK_WINDOW (SetBPADlg), _("SetBreakPoint Addr")); + + vbox18 = gtk_vbox_new (FALSE, 5); + gtk_widget_show (vbox18); + gtk_container_add (GTK_CONTAINER (SetBPADlg), vbox18); + gtk_container_set_border_width (GTK_CONTAINER (vbox18), 5); + + label11 = gtk_label_new (_("Set New BP Address (in Hex):")); + gtk_widget_show (label11); + gtk_box_pack_start (GTK_BOX (vbox18), label11, FALSE, FALSE, 0); + gtk_label_set_justify (GTK_LABEL (label11), GTK_JUSTIFY_CENTER); + gtk_misc_set_alignment (GTK_MISC (label11), 0.1, 0.5); + + hbox9 = gtk_hbox_new (FALSE, 2); + gtk_widget_show (hbox9); + gtk_box_pack_start (GTK_BOX (vbox18), hbox9, FALSE, FALSE, 0); + gtk_container_set_border_width (GTK_CONTAINER (hbox9), 5); + + label12 = gtk_label_new (_("0x")); + gtk_widget_show (label12); + gtk_box_pack_start (GTK_BOX (hbox9), label12, FALSE, FALSE, 0); + gtk_label_set_justify (GTK_LABEL (label12), GTK_JUSTIFY_CENTER); + + GtkEntry_BPA = gtk_entry_new (); + gtk_widget_show (GtkEntry_BPA); + gtk_box_pack_start (GTK_BOX (hbox9), GtkEntry_BPA, TRUE, TRUE, 0); + gtk_entry_set_invisible_char (GTK_ENTRY (GtkEntry_BPA), 8226); + + hbuttonbox15 = gtk_hbutton_box_new (); + gtk_widget_show (hbuttonbox15); + gtk_box_pack_start (GTK_BOX (vbox18), hbuttonbox15, TRUE, TRUE, 0); + gtk_box_set_spacing (GTK_BOX (hbuttonbox15), 30); + + button44 = gtk_button_new_from_stock ("gtk-ok"); + gtk_widget_show (button44); + gtk_container_add (GTK_CONTAINER (hbuttonbox15), button44); + GTK_WIDGET_SET_FLAGS (button44, GTK_CAN_DEFAULT); + + button45 = gtk_button_new_from_stock ("gtk-cancel"); + gtk_widget_show (button45); + gtk_container_add (GTK_CONTAINER (hbuttonbox15), button45); + GTK_WIDGET_SET_FLAGS (button45, GTK_CAN_DEFAULT); + + g_signal_connect ((gpointer) button44, "clicked", + G_CALLBACK (OnSetBPA_Ok), + NULL); + g_signal_connect ((gpointer) button45, "clicked", + G_CALLBACK (OnSetBPA_Cancel), + NULL); + + /* Store pointers to all widgets, for use by lookup_widget(). */ + GLADE_HOOKUP_OBJECT_NO_REF (SetBPADlg, SetBPADlg, "SetBPADlg"); + GLADE_HOOKUP_OBJECT (SetBPADlg, vbox18, "vbox18"); + GLADE_HOOKUP_OBJECT (SetBPADlg, label11, "label11"); + GLADE_HOOKUP_OBJECT (SetBPADlg, hbox9, "hbox9"); + GLADE_HOOKUP_OBJECT (SetBPADlg, label12, "label12"); + GLADE_HOOKUP_OBJECT (SetBPADlg, GtkEntry_BPA, "GtkEntry_BPA"); + GLADE_HOOKUP_OBJECT (SetBPADlg, hbuttonbox15, "hbuttonbox15"); + GLADE_HOOKUP_OBJECT (SetBPADlg, button44, "button44"); + GLADE_HOOKUP_OBJECT (SetBPADlg, button45, "button45"); + + return SetBPADlg; +} + +GtkWidget* +create_SetPCDlg (void) +{ + GtkWidget *SetPCDlg; + GtkWidget *vbox17; + GtkWidget *label9; + GtkWidget *hbox8; + GtkWidget *label10; + GtkWidget *GtkEntry_dPC; + GtkWidget *hbuttonbox14; + GtkWidget *button42; + GtkWidget *button43; + + SetPCDlg = gtk_window_new (GTK_WINDOW_TOPLEVEL); + gtk_container_set_border_width (GTK_CONTAINER (SetPCDlg), 5); + gtk_window_set_title (GTK_WINDOW (SetPCDlg), _("SetPCDlg")); + + vbox17 = gtk_vbox_new (FALSE, 5); + gtk_widget_show (vbox17); + gtk_container_add (GTK_CONTAINER (SetPCDlg), vbox17); + gtk_container_set_border_width (GTK_CONTAINER (vbox17), 5); + + label9 = gtk_label_new (_("Set New PC Address (in Hex):")); + gtk_widget_show (label9); + gtk_box_pack_start (GTK_BOX (vbox17), label9, FALSE, FALSE, 0); + gtk_label_set_justify (GTK_LABEL (label9), GTK_JUSTIFY_CENTER); + gtk_misc_set_alignment (GTK_MISC (label9), 0.1, 0.5); + + hbox8 = gtk_hbox_new (FALSE, 2); + gtk_widget_show (hbox8); + gtk_box_pack_start (GTK_BOX (vbox17), hbox8, FALSE, FALSE, 0); + gtk_container_set_border_width (GTK_CONTAINER (hbox8), 5); + + label10 = gtk_label_new (_("0x")); + gtk_widget_show (label10); + gtk_box_pack_start (GTK_BOX (hbox8), label10, FALSE, FALSE, 0); + gtk_label_set_justify (GTK_LABEL (label10), GTK_JUSTIFY_CENTER); + + GtkEntry_dPC = gtk_entry_new (); + gtk_widget_show (GtkEntry_dPC); + gtk_box_pack_start (GTK_BOX (hbox8), GtkEntry_dPC, TRUE, TRUE, 0); + gtk_entry_set_invisible_char (GTK_ENTRY (GtkEntry_dPC), 8226); + + hbuttonbox14 = gtk_hbutton_box_new (); + gtk_widget_show (hbuttonbox14); + gtk_box_pack_start (GTK_BOX (vbox17), hbuttonbox14, TRUE, TRUE, 0); + gtk_box_set_spacing (GTK_BOX (hbuttonbox14), 30); + + button42 = gtk_button_new_from_stock ("gtk-ok"); + gtk_widget_show (button42); + gtk_container_add (GTK_CONTAINER (hbuttonbox14), button42); + GTK_WIDGET_SET_FLAGS (button42, GTK_CAN_DEFAULT); + + button43 = gtk_button_new_from_stock ("gtk-cancel"); + gtk_widget_show (button43); + gtk_container_add (GTK_CONTAINER (hbuttonbox14), button43); + GTK_WIDGET_SET_FLAGS (button43, GTK_CAN_DEFAULT); + + g_signal_connect ((gpointer) button42, "clicked", + G_CALLBACK (OnSetPC_Ok), + NULL); + g_signal_connect ((gpointer) button43, "clicked", + G_CALLBACK (On_Dialog_Cancelled), + NULL); + + /* Store pointers to all widgets, for use by lookup_widget(). */ + GLADE_HOOKUP_OBJECT_NO_REF (SetPCDlg, SetPCDlg, "SetPCDlg"); + GLADE_HOOKUP_OBJECT (SetPCDlg, vbox17, "vbox17"); + GLADE_HOOKUP_OBJECT (SetPCDlg, label9, "label9"); + GLADE_HOOKUP_OBJECT (SetPCDlg, hbox8, "hbox8"); + GLADE_HOOKUP_OBJECT (SetPCDlg, label10, "label10"); + GLADE_HOOKUP_OBJECT (SetPCDlg, GtkEntry_dPC, "GtkEntry_dPC"); + GLADE_HOOKUP_OBJECT (SetPCDlg, hbuttonbox14, "hbuttonbox14"); + GLADE_HOOKUP_OBJECT (SetPCDlg, button42, "button42"); + GLADE_HOOKUP_OBJECT (SetPCDlg, button43, "button43"); + + return SetPCDlg; +} + +GtkWidget* +create_DebugWnd (void) +{ + GtkWidget *DebugWnd; + GtkWidget *vbox16; + GtkWidget *hbox16; + GtkWidget *GtkRadioButton_EE; + GSList *GtkRadioButton_EE_group = NULL; + GtkWidget *GtkRadioButton_IOP; + GtkWidget *hbox6; + GtkWidget *hbox7; + GtkWidget *scrolledwindow1; + GtkWidget *viewport1; + GtkWidget *GtkList_DisView; + GtkWidget *GtkVScrollbar_VList; + GtkWidget *vbox22; + GtkWidget *vbuttonbox2; + GtkWidget *button52; + GtkWidget *button53; + GtkWidget *button65; + GtkWidget *button64; + GtkWidget *vbuttonbox3; + GtkWidget *button58; + GtkWidget *button59; + GtkWidget *button60; + GtkWidget *button61; + GtkWidget *vbuttonbox1; + GtkWidget *button39; + GtkWidget *button40; + GtkWidget *button41; + GtkWidget *vbuttonbox4; + GtkWidget *button68; + + DebugWnd = gtk_window_new (GTK_WINDOW_TOPLEVEL); + gtk_container_set_border_width (GTK_CONTAINER (DebugWnd), 5); + gtk_window_set_title (GTK_WINDOW (DebugWnd), _("PCSX2 Debugger")); + + vbox16 = gtk_vbox_new (FALSE, 0); + gtk_widget_show (vbox16); + gtk_container_add (GTK_CONTAINER (DebugWnd), vbox16); + gtk_container_set_border_width (GTK_CONTAINER (vbox16), 5); + + hbox16 = gtk_hbox_new (FALSE, 5); + gtk_widget_show (hbox16); + gtk_box_pack_start (GTK_BOX (vbox16), hbox16, FALSE, TRUE, 0); + + GtkRadioButton_EE = gtk_radio_button_new_with_mnemonic (NULL, _("EE Debug Mode")); + gtk_widget_show (GtkRadioButton_EE); + gtk_box_pack_start (GTK_BOX (hbox16), GtkRadioButton_EE, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (GtkRadioButton_EE), GtkRadioButton_EE_group); + GtkRadioButton_EE_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (GtkRadioButton_EE)); + + GtkRadioButton_IOP = gtk_radio_button_new_with_mnemonic (NULL, _("IOP Debug Mode")); + gtk_widget_show (GtkRadioButton_IOP); + gtk_box_pack_start (GTK_BOX (hbox16), GtkRadioButton_IOP, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (GtkRadioButton_IOP), GtkRadioButton_EE_group); + GtkRadioButton_EE_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (GtkRadioButton_IOP)); + + hbox6 = gtk_hbox_new (FALSE, 0); + gtk_widget_show (hbox6); + gtk_box_pack_start (GTK_BOX (vbox16), hbox6, TRUE, TRUE, 0); + gtk_container_set_border_width (GTK_CONTAINER (hbox6), 5); + + hbox7 = gtk_hbox_new (FALSE, 0); + gtk_widget_show (hbox7); + gtk_box_pack_start (GTK_BOX (hbox6), hbox7, TRUE, TRUE, 0); + + scrolledwindow1 = gtk_scrolled_window_new (NULL, NULL); + gtk_widget_show (scrolledwindow1); + gtk_box_pack_start (GTK_BOX (hbox7), scrolledwindow1, TRUE, TRUE, 0); + GTK_WIDGET_UNSET_FLAGS (scrolledwindow1, GTK_CAN_FOCUS); + gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow1), GTK_POLICY_ALWAYS, GTK_POLICY_NEVER); + + viewport1 = gtk_viewport_new (NULL, NULL); + gtk_widget_show (viewport1); + gtk_container_add (GTK_CONTAINER (scrolledwindow1), viewport1); + + GtkList_DisView = gtk_tree_view_new (); + gtk_widget_show (GtkList_DisView); + gtk_container_add (GTK_CONTAINER (viewport1), GtkList_DisView); + GTK_WIDGET_UNSET_FLAGS (GtkList_DisView, GTK_CAN_FOCUS); + gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (GtkList_DisView), FALSE); + + GtkVScrollbar_VList = gtk_vscrollbar_new (GTK_ADJUSTMENT (gtk_adjustment_new (0, 0, 412, 1, 20, 2))); + gtk_widget_show (GtkVScrollbar_VList); + gtk_box_pack_start (GTK_BOX (hbox7), GtkVScrollbar_VList, FALSE, TRUE, 0); + + vbox22 = gtk_vbox_new (FALSE, 0); + gtk_widget_show (vbox22); + gtk_box_pack_start (GTK_BOX (hbox6), vbox22, FALSE, TRUE, 0); + + vbuttonbox2 = gtk_vbutton_box_new (); + gtk_widget_show (vbuttonbox2); + gtk_box_pack_start (GTK_BOX (vbox22), vbuttonbox2, FALSE, TRUE, 0); + + button52 = gtk_button_new_with_mnemonic (_("Step")); + gtk_widget_show (button52); + gtk_container_add (GTK_CONTAINER (vbuttonbox2), button52); + GTK_WIDGET_SET_FLAGS (button52, GTK_CAN_DEFAULT); + + button53 = gtk_button_new_with_mnemonic (_("Skip")); + gtk_widget_show (button53); + gtk_container_add (GTK_CONTAINER (vbuttonbox2), button53); + GTK_WIDGET_SET_FLAGS (button53, GTK_CAN_DEFAULT); + + button65 = gtk_button_new_with_mnemonic (_("Go")); + gtk_widget_show (button65); + gtk_container_add (GTK_CONTAINER (vbuttonbox2), button65); + GTK_WIDGET_SET_FLAGS (button65, GTK_CAN_DEFAULT); + + button64 = gtk_button_new_with_mnemonic (_("Log On/Off")); + gtk_widget_show (button64); + gtk_container_add (GTK_CONTAINER (vbuttonbox2), button64); + GTK_WIDGET_SET_FLAGS (button64, GTK_CAN_DEFAULT); + + vbuttonbox3 = gtk_vbutton_box_new (); + gtk_widget_show (vbuttonbox3); + gtk_box_pack_start (GTK_BOX (vbox22), vbuttonbox3, FALSE, TRUE, 0); + + button58 = gtk_button_new_with_mnemonic (_("Set PC")); + gtk_widget_show (button58); + gtk_container_add (GTK_CONTAINER (vbuttonbox3), button58); + GTK_WIDGET_SET_FLAGS (button58, GTK_CAN_DEFAULT); + + button59 = gtk_button_new_with_mnemonic (_("Set BP Addr")); + gtk_widget_show (button59); + gtk_container_add (GTK_CONTAINER (vbuttonbox3), button59); + GTK_WIDGET_SET_FLAGS (button59, GTK_CAN_DEFAULT); + + button60 = gtk_button_new_with_mnemonic (_("Set BP Count")); + gtk_widget_show (button60); + gtk_container_add (GTK_CONTAINER (vbuttonbox3), button60); + GTK_WIDGET_SET_FLAGS (button60, GTK_CAN_DEFAULT); + + button61 = gtk_button_new_with_mnemonic (_("Clear BPs")); + gtk_widget_show (button61); + gtk_container_add (GTK_CONTAINER (vbuttonbox3), button61); + GTK_WIDGET_SET_FLAGS (button61, GTK_CAN_DEFAULT); + + vbuttonbox1 = gtk_vbutton_box_new (); + gtk_widget_show (vbuttonbox1); + gtk_box_pack_start (GTK_BOX (vbox22), vbuttonbox1, FALSE, TRUE, 0); + + button39 = gtk_button_new_with_mnemonic (_("Dump code")); + gtk_widget_show (button39); + gtk_container_add (GTK_CONTAINER (vbuttonbox1), button39); + GTK_WIDGET_SET_FLAGS (button39, GTK_CAN_DEFAULT); + + button40 = gtk_button_new_with_mnemonic (_("Raw Dump")); + gtk_widget_show (button40); + gtk_container_add (GTK_CONTAINER (vbuttonbox1), button40); + GTK_WIDGET_SET_FLAGS (button40, GTK_CAN_DEFAULT); + + button41 = gtk_button_new_with_mnemonic (_("Close")); + gtk_widget_show (button41); + gtk_container_add (GTK_CONTAINER (vbuttonbox1), button41); + GTK_WIDGET_SET_FLAGS (button41, GTK_CAN_DEFAULT); + + vbuttonbox4 = gtk_vbutton_box_new (); + gtk_widget_show (vbuttonbox4); + gtk_box_pack_start (GTK_BOX (hbox6), vbuttonbox4, FALSE, TRUE, 0); + gtk_box_set_spacing (GTK_BOX (vbuttonbox4), 10); + + button68 = gtk_button_new_with_mnemonic (_("memWrite32")); + gtk_widget_show (button68); + gtk_container_add (GTK_CONTAINER (vbuttonbox4), button68); + GTK_WIDGET_SET_FLAGS (button68, GTK_CAN_DEFAULT); + + g_signal_connect ((gpointer) GtkRadioButton_EE, "toggled", + G_CALLBACK (OnDebug_EEMode), + NULL); + g_signal_connect ((gpointer) GtkRadioButton_IOP, "toggled", + G_CALLBACK (OnDebug_IOPMode), + NULL); + g_signal_connect ((gpointer) button52, "clicked", + G_CALLBACK (OnDebug_Step), + NULL); + g_signal_connect ((gpointer) button53, "clicked", + G_CALLBACK (OnDebug_Skip), + NULL); + g_signal_connect ((gpointer) button65, "clicked", + G_CALLBACK (OnDebug_Go), + NULL); + g_signal_connect ((gpointer) button64, "clicked", + G_CALLBACK (OnDebug_Log), + NULL); + g_signal_connect ((gpointer) button58, "clicked", + G_CALLBACK (OnDebug_SetPC), + NULL); + g_signal_connect ((gpointer) button59, "clicked", + G_CALLBACK (OnDebug_SetBPA), + NULL); + g_signal_connect ((gpointer) button60, "clicked", + G_CALLBACK (OnDebug_SetBPC), + NULL); + g_signal_connect ((gpointer) button61, "clicked", + G_CALLBACK (OnDebug_ClearBPs), + NULL); + g_signal_connect ((gpointer) button39, "clicked", + G_CALLBACK (OnDebug_DumpCode), + NULL); + g_signal_connect ((gpointer) button40, "clicked", + G_CALLBACK (OnDebug_RawDump), + NULL); + g_signal_connect ((gpointer) button41, "clicked", + G_CALLBACK (OnDebug_Close), + NULL); + g_signal_connect ((gpointer) button68, "clicked", + G_CALLBACK (OnDebug_memWrite32), + NULL); + + /* Store pointers to all widgets, for use by lookup_widget(). */ + GLADE_HOOKUP_OBJECT_NO_REF (DebugWnd, DebugWnd, "DebugWnd"); + GLADE_HOOKUP_OBJECT (DebugWnd, vbox16, "vbox16"); + GLADE_HOOKUP_OBJECT (DebugWnd, hbox16, "hbox16"); + GLADE_HOOKUP_OBJECT (DebugWnd, GtkRadioButton_EE, "GtkRadioButton_EE"); + GLADE_HOOKUP_OBJECT (DebugWnd, GtkRadioButton_IOP, "GtkRadioButton_IOP"); + GLADE_HOOKUP_OBJECT (DebugWnd, hbox6, "hbox6"); + GLADE_HOOKUP_OBJECT (DebugWnd, hbox7, "hbox7"); + GLADE_HOOKUP_OBJECT (DebugWnd, scrolledwindow1, "scrolledwindow1"); + GLADE_HOOKUP_OBJECT (DebugWnd, viewport1, "viewport1"); + GLADE_HOOKUP_OBJECT (DebugWnd, GtkList_DisView, "GtkList_DisView"); + GLADE_HOOKUP_OBJECT (DebugWnd, GtkVScrollbar_VList, "GtkVScrollbar_VList"); + GLADE_HOOKUP_OBJECT (DebugWnd, vbox22, "vbox22"); + GLADE_HOOKUP_OBJECT (DebugWnd, vbuttonbox2, "vbuttonbox2"); + GLADE_HOOKUP_OBJECT (DebugWnd, button52, "button52"); + GLADE_HOOKUP_OBJECT (DebugWnd, button53, "button53"); + GLADE_HOOKUP_OBJECT (DebugWnd, button65, "button65"); + GLADE_HOOKUP_OBJECT (DebugWnd, button64, "button64"); + GLADE_HOOKUP_OBJECT (DebugWnd, vbuttonbox3, "vbuttonbox3"); + GLADE_HOOKUP_OBJECT (DebugWnd, button58, "button58"); + GLADE_HOOKUP_OBJECT (DebugWnd, button59, "button59"); + GLADE_HOOKUP_OBJECT (DebugWnd, button60, "button60"); + GLADE_HOOKUP_OBJECT (DebugWnd, button61, "button61"); + GLADE_HOOKUP_OBJECT (DebugWnd, vbuttonbox1, "vbuttonbox1"); + GLADE_HOOKUP_OBJECT (DebugWnd, button39, "button39"); + GLADE_HOOKUP_OBJECT (DebugWnd, button40, "button40"); + GLADE_HOOKUP_OBJECT (DebugWnd, button41, "button41"); + GLADE_HOOKUP_OBJECT (DebugWnd, vbuttonbox4, "vbuttonbox4"); + GLADE_HOOKUP_OBJECT (DebugWnd, button68, "button68"); + + return DebugWnd; +} + +GtkWidget* +create_ConfDlg (void) +{ + GtkWidget *ConfDlg; + GtkWidget *vbox12; + GtkWidget *table2; + GtkWidget *GtkLabel_Bios; + GtkWidget *label30; + GtkWidget *hbuttonbox24; + GtkWidget *GtkButton_FWconfigure; + GtkWidget *GtkButton_FWtest; + GtkWidget *GtkButton_FireWireabout; + GtkWidget *hbuttonbox23; + GtkWidget *GtkButton_USBconfigure; + GtkWidget *GtkButton_USBtest; + GtkWidget *GtkButton_USBabout; + GtkWidget *label29; + GtkWidget *hbuttonbox13; + GtkWidget *GtkButton_CDVDconfigure; + GtkWidget *GtkButton_CDVDtest; + GtkWidget *GtkButton_CDVDabout; + GtkWidget *GtkLabel_Cdvdrom; + GtkWidget *label23; + GtkWidget *hbuttonbox21; + GtkWidget *GtkButton_DEV9configure; + GtkWidget *GtkButton_DEV9test; + GtkWidget *GtkButton_DEV9about; + GtkWidget *hbuttonbox12; + GtkWidget *GtkButton_SPU2configure; + GtkWidget *GtkButton_SPU2test; + GtkWidget *GtkButton_SPU2about; + GtkWidget *GtkLabel_Sound; + GtkWidget *GtkLabel_SecondController; + GtkWidget *GtkLabel_FirstController; + GtkWidget *GtkLabel_Graphics; + GtkWidget *hbuttonbox8; + GtkWidget *GtkButton_GSconfigure; + GtkWidget *GtkButton_GStest; + GtkWidget *GtkButton_GSabout; + GtkWidget *hbuttonbox7; + GtkWidget *GtkButton_PAD1configure; + GtkWidget *GtkButton_PAD1test; + GtkWidget *GtkButton_PAD1about; + GtkWidget *hbuttonbox6; + GtkWidget *GtkButton_PAD2configure; + GtkWidget *GtkButton_PAD2test; + GtkWidget *GtkButton_PAD2about; + GtkWidget *GtkCombo_FW; + GtkWidget *GtkCombo_Usb; + GtkWidget *GtkCombo_Cdvd; + GtkWidget *GtkCombo_Dev9; + GtkWidget *GtkCombo_Pad2; + GtkWidget *GtkCombo_Pad1; + GtkWidget *GtkCombo_Spu2; + GtkWidget *GtkCombo_Gs; + GtkWidget *GtkCombo_Bios; + GtkWidget *hbox5; + GtkWidget *hbuttonbox11; + GtkWidget *GtkButton_SelectPluginsDir; + GtkWidget *GtkButton_SelectBiosDir; + GtkWidget *hbuttonbox10; + GtkWidget *GtkButton_Ok1; + GtkWidget *GtkButton_Cancel; + + ConfDlg = gtk_window_new (GTK_WINDOW_TOPLEVEL); + gtk_container_set_border_width (GTK_CONTAINER (ConfDlg), 10); + gtk_window_set_title (GTK_WINDOW (ConfDlg), _("Conf")); + gtk_window_set_resizable (GTK_WINDOW (ConfDlg), FALSE); + + vbox12 = gtk_vbox_new (FALSE, 0); + gtk_widget_show (vbox12); + gtk_container_add (GTK_CONTAINER (ConfDlg), vbox12); + + table2 = gtk_table_new (14, 2, FALSE); + gtk_widget_show (table2); + gtk_box_pack_start (GTK_BOX (vbox12), table2, TRUE, TRUE, 0); + gtk_container_set_border_width (GTK_CONTAINER (table2), 2); + gtk_table_set_col_spacings (GTK_TABLE (table2), 15); + + GtkLabel_Bios = gtk_label_new (_("Bios")); + gtk_widget_show (GtkLabel_Bios); + gtk_table_attach (GTK_TABLE (table2), GtkLabel_Bios, 1, 2, 12, 13, + (GtkAttachOptions) (0), + (GtkAttachOptions) (0), 0, 0); + gtk_label_set_justify (GTK_LABEL (GtkLabel_Bios), GTK_JUSTIFY_CENTER); + gtk_misc_set_alignment (GTK_MISC (GtkLabel_Bios), 0, 0.5); + + label30 = gtk_label_new (_("FireWire")); + gtk_widget_show (label30); + gtk_table_attach (GTK_TABLE (table2), label30, 1, 2, 9, 10, + (GtkAttachOptions) (0), + (GtkAttachOptions) (0), 0, 0); + gtk_label_set_justify (GTK_LABEL (label30), GTK_JUSTIFY_CENTER); + gtk_misc_set_alignment (GTK_MISC (label30), 0, 0.5); + + hbuttonbox24 = gtk_hbutton_box_new (); + gtk_widget_show (hbuttonbox24); + gtk_table_attach (GTK_TABLE (table2), hbuttonbox24, 1, 2, 11, 12, + (GtkAttachOptions) (0), + (GtkAttachOptions) (0), 0, 0); + + GtkButton_FWconfigure = gtk_button_new_with_mnemonic (_("Configure")); + gtk_widget_show (GtkButton_FWconfigure); + gtk_container_add (GTK_CONTAINER (hbuttonbox24), GtkButton_FWconfigure); + GTK_WIDGET_SET_FLAGS (GtkButton_FWconfigure, GTK_CAN_DEFAULT); + + GtkButton_FWtest = gtk_button_new_with_mnemonic (_("Test")); + gtk_widget_show (GtkButton_FWtest); + gtk_container_add (GTK_CONTAINER (hbuttonbox24), GtkButton_FWtest); + GTK_WIDGET_SET_FLAGS (GtkButton_FWtest, GTK_CAN_DEFAULT); + + GtkButton_FireWireabout = gtk_button_new_with_mnemonic (_("About")); + gtk_widget_show (GtkButton_FireWireabout); + gtk_container_add (GTK_CONTAINER (hbuttonbox24), GtkButton_FireWireabout); + GTK_WIDGET_SET_FLAGS (GtkButton_FireWireabout, GTK_CAN_DEFAULT); + + hbuttonbox23 = gtk_hbutton_box_new (); + gtk_widget_show (hbuttonbox23); + gtk_table_attach (GTK_TABLE (table2), hbuttonbox23, 0, 1, 11, 12, + (GtkAttachOptions) (0), + (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0); + + GtkButton_USBconfigure = gtk_button_new_with_mnemonic (_("Configure")); + gtk_widget_show (GtkButton_USBconfigure); + gtk_container_add (GTK_CONTAINER (hbuttonbox23), GtkButton_USBconfigure); + GTK_WIDGET_SET_FLAGS (GtkButton_USBconfigure, GTK_CAN_DEFAULT); + + GtkButton_USBtest = gtk_button_new_with_mnemonic (_("Test")); + gtk_widget_show (GtkButton_USBtest); + gtk_container_add (GTK_CONTAINER (hbuttonbox23), GtkButton_USBtest); + GTK_WIDGET_SET_FLAGS (GtkButton_USBtest, GTK_CAN_DEFAULT); + + GtkButton_USBabout = gtk_button_new_with_mnemonic (_("About")); + gtk_widget_show (GtkButton_USBabout); + gtk_container_add (GTK_CONTAINER (hbuttonbox23), GtkButton_USBabout); + GTK_WIDGET_SET_FLAGS (GtkButton_USBabout, GTK_CAN_DEFAULT); + + label29 = gtk_label_new (_("Usb")); + gtk_widget_show (label29); + gtk_table_attach (GTK_TABLE (table2), label29, 0, 1, 9, 10, + (GtkAttachOptions) (0), + (GtkAttachOptions) (0), 0, 0); + gtk_label_set_justify (GTK_LABEL (label29), GTK_JUSTIFY_CENTER); + gtk_misc_set_alignment (GTK_MISC (label29), 0, 0.5); + + hbuttonbox13 = gtk_hbutton_box_new (); + gtk_widget_show (hbuttonbox13); + gtk_table_attach (GTK_TABLE (table2), hbuttonbox13, 1, 2, 8, 9, + (GtkAttachOptions) (0), + (GtkAttachOptions) (0), 0, 0); + + GtkButton_CDVDconfigure = gtk_button_new_with_mnemonic (_("Configure")); + gtk_widget_show (GtkButton_CDVDconfigure); + gtk_container_add (GTK_CONTAINER (hbuttonbox13), GtkButton_CDVDconfigure); + GTK_WIDGET_SET_FLAGS (GtkButton_CDVDconfigure, GTK_CAN_DEFAULT); + + GtkButton_CDVDtest = gtk_button_new_with_mnemonic (_("Test")); + gtk_widget_show (GtkButton_CDVDtest); + gtk_container_add (GTK_CONTAINER (hbuttonbox13), GtkButton_CDVDtest); + GTK_WIDGET_SET_FLAGS (GtkButton_CDVDtest, GTK_CAN_DEFAULT); + + GtkButton_CDVDabout = gtk_button_new_with_mnemonic (_("About")); + gtk_widget_show (GtkButton_CDVDabout); + gtk_container_add (GTK_CONTAINER (hbuttonbox13), GtkButton_CDVDabout); + GTK_WIDGET_SET_FLAGS (GtkButton_CDVDabout, GTK_CAN_DEFAULT); + + GtkLabel_Cdvdrom = gtk_label_new (_("Cdvdrom")); + gtk_widget_show (GtkLabel_Cdvdrom); + gtk_table_attach (GTK_TABLE (table2), GtkLabel_Cdvdrom, 1, 2, 6, 7, + (GtkAttachOptions) (0), + (GtkAttachOptions) (0), 0, 0); + gtk_label_set_justify (GTK_LABEL (GtkLabel_Cdvdrom), GTK_JUSTIFY_CENTER); + gtk_misc_set_alignment (GTK_MISC (GtkLabel_Cdvdrom), 0, 0.5); + + label23 = gtk_label_new (_("Dev9")); + gtk_widget_show (label23); + gtk_table_attach (GTK_TABLE (table2), label23, 0, 1, 6, 7, + (GtkAttachOptions) (0), + (GtkAttachOptions) (0), 0, 0); + gtk_label_set_justify (GTK_LABEL (label23), GTK_JUSTIFY_CENTER); + gtk_misc_set_alignment (GTK_MISC (label23), 0, 0.5); + + hbuttonbox21 = gtk_hbutton_box_new (); + gtk_widget_show (hbuttonbox21); + gtk_table_attach (GTK_TABLE (table2), hbuttonbox21, 0, 1, 8, 9, + (GtkAttachOptions) (0), + (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0); + + GtkButton_DEV9configure = gtk_button_new_with_mnemonic (_("Configure")); + gtk_widget_show (GtkButton_DEV9configure); + gtk_container_add (GTK_CONTAINER (hbuttonbox21), GtkButton_DEV9configure); + GTK_WIDGET_SET_FLAGS (GtkButton_DEV9configure, GTK_CAN_DEFAULT); + + GtkButton_DEV9test = gtk_button_new_with_mnemonic (_("Test")); + gtk_widget_show (GtkButton_DEV9test); + gtk_container_add (GTK_CONTAINER (hbuttonbox21), GtkButton_DEV9test); + GTK_WIDGET_SET_FLAGS (GtkButton_DEV9test, GTK_CAN_DEFAULT); + + GtkButton_DEV9about = gtk_button_new_with_mnemonic (_("About")); + gtk_widget_show (GtkButton_DEV9about); + gtk_container_add (GTK_CONTAINER (hbuttonbox21), GtkButton_DEV9about); + GTK_WIDGET_SET_FLAGS (GtkButton_DEV9about, GTK_CAN_DEFAULT); + + hbuttonbox12 = gtk_hbutton_box_new (); + gtk_widget_show (hbuttonbox12); + gtk_table_attach (GTK_TABLE (table2), hbuttonbox12, 1, 2, 2, 3, + (GtkAttachOptions) (0), + (GtkAttachOptions) (0), 0, 0); + + GtkButton_SPU2configure = gtk_button_new_with_mnemonic (_("Configure")); + gtk_widget_show (GtkButton_SPU2configure); + gtk_container_add (GTK_CONTAINER (hbuttonbox12), GtkButton_SPU2configure); + GTK_WIDGET_SET_FLAGS (GtkButton_SPU2configure, GTK_CAN_DEFAULT); + + GtkButton_SPU2test = gtk_button_new_with_mnemonic (_("Test")); + gtk_widget_show (GtkButton_SPU2test); + gtk_container_add (GTK_CONTAINER (hbuttonbox12), GtkButton_SPU2test); + GTK_WIDGET_SET_FLAGS (GtkButton_SPU2test, GTK_CAN_DEFAULT); + + GtkButton_SPU2about = gtk_button_new_with_mnemonic (_("About")); + gtk_widget_show (GtkButton_SPU2about); + gtk_container_add (GTK_CONTAINER (hbuttonbox12), GtkButton_SPU2about); + GTK_WIDGET_SET_FLAGS (GtkButton_SPU2about, GTK_CAN_DEFAULT); + + GtkLabel_Sound = gtk_label_new (_("Sound")); + gtk_widget_show (GtkLabel_Sound); + gtk_table_attach (GTK_TABLE (table2), GtkLabel_Sound, 1, 2, 0, 1, + (GtkAttachOptions) (0), + (GtkAttachOptions) (0), 0, 0); + gtk_label_set_justify (GTK_LABEL (GtkLabel_Sound), GTK_JUSTIFY_CENTER); + gtk_misc_set_alignment (GTK_MISC (GtkLabel_Sound), 0, 0.5); + + GtkLabel_SecondController = gtk_label_new (_("Second Controller")); + gtk_widget_show (GtkLabel_SecondController); + gtk_table_attach (GTK_TABLE (table2), GtkLabel_SecondController, 1, 2, 3, 4, + (GtkAttachOptions) (0), + (GtkAttachOptions) (0), 0, 0); + gtk_label_set_justify (GTK_LABEL (GtkLabel_SecondController), GTK_JUSTIFY_CENTER); + gtk_misc_set_alignment (GTK_MISC (GtkLabel_SecondController), 0, 0.5); + + GtkLabel_FirstController = gtk_label_new (_("First Controller")); + gtk_widget_show (GtkLabel_FirstController); + gtk_table_attach (GTK_TABLE (table2), GtkLabel_FirstController, 0, 1, 3, 4, + (GtkAttachOptions) (0), + (GtkAttachOptions) (0), 0, 0); + gtk_label_set_justify (GTK_LABEL (GtkLabel_FirstController), GTK_JUSTIFY_CENTER); + gtk_misc_set_alignment (GTK_MISC (GtkLabel_FirstController), 0, 0.5); + + GtkLabel_Graphics = gtk_label_new (_("Graphics")); + gtk_widget_show (GtkLabel_Graphics); + gtk_table_attach (GTK_TABLE (table2), GtkLabel_Graphics, 0, 1, 0, 1, + (GtkAttachOptions) (0), + (GtkAttachOptions) (0), 0, 0); + gtk_label_set_justify (GTK_LABEL (GtkLabel_Graphics), GTK_JUSTIFY_CENTER); + gtk_misc_set_alignment (GTK_MISC (GtkLabel_Graphics), 0, 0.5); + + hbuttonbox8 = gtk_hbutton_box_new (); + gtk_widget_show (hbuttonbox8); + gtk_table_attach (GTK_TABLE (table2), hbuttonbox8, 0, 1, 2, 3, + (GtkAttachOptions) (0), + (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0); + + GtkButton_GSconfigure = gtk_button_new_with_mnemonic (_("Configure")); + gtk_widget_show (GtkButton_GSconfigure); + gtk_container_add (GTK_CONTAINER (hbuttonbox8), GtkButton_GSconfigure); + GTK_WIDGET_SET_FLAGS (GtkButton_GSconfigure, GTK_CAN_DEFAULT); + + GtkButton_GStest = gtk_button_new_with_mnemonic (_("Test")); + gtk_widget_show (GtkButton_GStest); + gtk_container_add (GTK_CONTAINER (hbuttonbox8), GtkButton_GStest); + GTK_WIDGET_SET_FLAGS (GtkButton_GStest, GTK_CAN_DEFAULT); + + GtkButton_GSabout = gtk_button_new_with_mnemonic (_("About")); + gtk_widget_show (GtkButton_GSabout); + gtk_container_add (GTK_CONTAINER (hbuttonbox8), GtkButton_GSabout); + GTK_WIDGET_SET_FLAGS (GtkButton_GSabout, GTK_CAN_DEFAULT); + + hbuttonbox7 = gtk_hbutton_box_new (); + gtk_widget_show (hbuttonbox7); + gtk_table_attach (GTK_TABLE (table2), hbuttonbox7, 0, 1, 5, 6, + (GtkAttachOptions) (0), + (GtkAttachOptions) (0), 0, 0); + + GtkButton_PAD1configure = gtk_button_new_with_mnemonic (_("Configure")); + gtk_widget_show (GtkButton_PAD1configure); + gtk_container_add (GTK_CONTAINER (hbuttonbox7), GtkButton_PAD1configure); + GTK_WIDGET_SET_FLAGS (GtkButton_PAD1configure, GTK_CAN_DEFAULT); + + GtkButton_PAD1test = gtk_button_new_with_mnemonic (_("Test")); + gtk_widget_show (GtkButton_PAD1test); + gtk_container_add (GTK_CONTAINER (hbuttonbox7), GtkButton_PAD1test); + GTK_WIDGET_SET_FLAGS (GtkButton_PAD1test, GTK_CAN_DEFAULT); + + GtkButton_PAD1about = gtk_button_new_with_mnemonic (_("About")); + gtk_widget_show (GtkButton_PAD1about); + gtk_container_add (GTK_CONTAINER (hbuttonbox7), GtkButton_PAD1about); + GTK_WIDGET_SET_FLAGS (GtkButton_PAD1about, GTK_CAN_DEFAULT); + + hbuttonbox6 = gtk_hbutton_box_new (); + gtk_widget_show (hbuttonbox6); + gtk_table_attach (GTK_TABLE (table2), hbuttonbox6, 1, 2, 5, 6, + (GtkAttachOptions) (0), + (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0); + + GtkButton_PAD2configure = gtk_button_new_with_mnemonic (_("Configure")); + gtk_widget_show (GtkButton_PAD2configure); + gtk_container_add (GTK_CONTAINER (hbuttonbox6), GtkButton_PAD2configure); + GTK_WIDGET_SET_FLAGS (GtkButton_PAD2configure, GTK_CAN_DEFAULT); + + GtkButton_PAD2test = gtk_button_new_with_mnemonic (_("Test")); + gtk_widget_show (GtkButton_PAD2test); + gtk_container_add (GTK_CONTAINER (hbuttonbox6), GtkButton_PAD2test); + GTK_WIDGET_SET_FLAGS (GtkButton_PAD2test, GTK_CAN_DEFAULT); + + GtkButton_PAD2about = gtk_button_new_with_mnemonic (_("About")); + gtk_widget_show (GtkButton_PAD2about); + gtk_container_add (GTK_CONTAINER (hbuttonbox6), GtkButton_PAD2about); + GTK_WIDGET_SET_FLAGS (GtkButton_PAD2about, GTK_CAN_DEFAULT); + + GtkCombo_FW = gtk_combo_box_new_text (); + gtk_widget_show (GtkCombo_FW); + gtk_table_attach (GTK_TABLE (table2), GtkCombo_FW, 1, 2, 10, 11, + (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), + (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0); + + GtkCombo_Usb = gtk_combo_box_new_text (); + gtk_widget_show (GtkCombo_Usb); + gtk_table_attach (GTK_TABLE (table2), GtkCombo_Usb, 0, 1, 10, 11, + (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), + (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0); + + GtkCombo_Cdvd = gtk_combo_box_new_text (); + gtk_widget_show (GtkCombo_Cdvd); + gtk_table_attach (GTK_TABLE (table2), GtkCombo_Cdvd, 1, 2, 7, 8, + (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), + (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0); + + GtkCombo_Dev9 = gtk_combo_box_new_text (); + gtk_widget_show (GtkCombo_Dev9); + gtk_table_attach (GTK_TABLE (table2), GtkCombo_Dev9, 0, 1, 7, 8, + (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), + (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0); + + GtkCombo_Pad2 = gtk_combo_box_new_text (); + gtk_widget_show (GtkCombo_Pad2); + gtk_table_attach (GTK_TABLE (table2), GtkCombo_Pad2, 1, 2, 4, 5, + (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), + (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0); + + GtkCombo_Pad1 = gtk_combo_box_new_text (); + gtk_widget_show (GtkCombo_Pad1); + gtk_table_attach (GTK_TABLE (table2), GtkCombo_Pad1, 0, 1, 4, 5, + (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), + (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0); + + GtkCombo_Spu2 = gtk_combo_box_new_text (); + gtk_widget_show (GtkCombo_Spu2); + gtk_table_attach (GTK_TABLE (table2), GtkCombo_Spu2, 1, 2, 1, 2, + (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), + (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0); + + GtkCombo_Gs = gtk_combo_box_new_text (); + gtk_widget_show (GtkCombo_Gs); + gtk_table_attach (GTK_TABLE (table2), GtkCombo_Gs, 0, 1, 1, 2, + (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), + (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0); + + GtkCombo_Bios = gtk_combo_box_new_text (); + gtk_widget_show (GtkCombo_Bios); + gtk_table_attach (GTK_TABLE (table2), GtkCombo_Bios, 1, 2, 13, 14, + (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), + (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0); + + hbox5 = gtk_hbox_new (FALSE, 14); + gtk_widget_show (hbox5); + gtk_box_pack_start (GTK_BOX (vbox12), hbox5, TRUE, TRUE, 0); + + hbuttonbox11 = gtk_hbutton_box_new (); + gtk_widget_show (hbuttonbox11); + gtk_box_pack_start (GTK_BOX (hbox5), hbuttonbox11, FALSE, TRUE, 0); + gtk_button_box_set_layout (GTK_BUTTON_BOX (hbuttonbox11), GTK_BUTTONBOX_START); + + GtkButton_SelectPluginsDir = gtk_button_new_with_mnemonic (_("Select Plugins Dir")); + gtk_widget_show (GtkButton_SelectPluginsDir); + gtk_container_add (GTK_CONTAINER (hbuttonbox11), GtkButton_SelectPluginsDir); + GTK_WIDGET_SET_FLAGS (GtkButton_SelectPluginsDir, GTK_CAN_DEFAULT); + + GtkButton_SelectBiosDir = gtk_button_new_with_mnemonic (_("Select Bios Dir")); + gtk_widget_show (GtkButton_SelectBiosDir); + gtk_container_add (GTK_CONTAINER (hbuttonbox11), GtkButton_SelectBiosDir); + GTK_WIDGET_SET_FLAGS (GtkButton_SelectBiosDir, GTK_CAN_DEFAULT); + + hbuttonbox10 = gtk_hbutton_box_new (); + gtk_widget_show (hbuttonbox10); + gtk_box_pack_start (GTK_BOX (hbox5), hbuttonbox10, TRUE, TRUE, 0); + + GtkButton_Ok1 = gtk_button_new_from_stock ("gtk-ok"); + gtk_widget_show (GtkButton_Ok1); + gtk_container_add (GTK_CONTAINER (hbuttonbox10), GtkButton_Ok1); + GTK_WIDGET_SET_FLAGS (GtkButton_Ok1, GTK_CAN_DEFAULT); + + GtkButton_Cancel = gtk_button_new_from_stock ("gtk-cancel"); + gtk_widget_show (GtkButton_Cancel); + gtk_container_add (GTK_CONTAINER (hbuttonbox10), GtkButton_Cancel); + GTK_WIDGET_SET_FLAGS (GtkButton_Cancel, GTK_CAN_DEFAULT); + + g_signal_connect ((gpointer) GtkButton_FWconfigure, "clicked", + G_CALLBACK (OnConfConf_FWConf), + NULL); + g_signal_connect ((gpointer) GtkButton_FWtest, "clicked", + G_CALLBACK (OnConfConf_FWTest), + NULL); + g_signal_connect ((gpointer) GtkButton_FireWireabout, "clicked", + G_CALLBACK (OnConfConf_FWAbout), + NULL); + g_signal_connect ((gpointer) GtkButton_USBconfigure, "clicked", + G_CALLBACK (OnConfConf_UsbConf), + NULL); + g_signal_connect ((gpointer) GtkButton_USBtest, "clicked", + G_CALLBACK (OnConfConf_UsbTest), + NULL); + g_signal_connect ((gpointer) GtkButton_USBabout, "clicked", + G_CALLBACK (OnConfConf_UsbAbout), + NULL); + g_signal_connect ((gpointer) GtkButton_CDVDconfigure, "clicked", + G_CALLBACK (OnConfConf_CdvdConf), + NULL); + g_signal_connect ((gpointer) GtkButton_CDVDtest, "clicked", + G_CALLBACK (OnConfConf_CdvdTest), + NULL); + g_signal_connect ((gpointer) GtkButton_CDVDabout, "clicked", + G_CALLBACK (OnConfConf_CdvdAbout), + NULL); + g_signal_connect ((gpointer) GtkButton_DEV9configure, "clicked", + G_CALLBACK (OnConfConf_Dev9Conf), + NULL); + g_signal_connect ((gpointer) GtkButton_DEV9test, "clicked", + G_CALLBACK (OnConfConf_Dev9Test), + NULL); + g_signal_connect ((gpointer) GtkButton_DEV9about, "clicked", + G_CALLBACK (OnConfConf_Dev9About), + NULL); + g_signal_connect ((gpointer) GtkButton_SPU2configure, "clicked", + G_CALLBACK (OnConfConf_Spu2Conf), + NULL); + g_signal_connect ((gpointer) GtkButton_SPU2test, "clicked", + G_CALLBACK (OnConfConf_Spu2Test), + NULL); + g_signal_connect ((gpointer) GtkButton_SPU2about, "clicked", + G_CALLBACK (OnConfConf_Spu2About), + NULL); + g_signal_connect ((gpointer) GtkButton_GSconfigure, "clicked", + G_CALLBACK (OnConfConf_GsConf), + NULL); + g_signal_connect ((gpointer) GtkButton_GStest, "clicked", + G_CALLBACK (OnConfConf_GsTest), + NULL); + g_signal_connect ((gpointer) GtkButton_GSabout, "clicked", + G_CALLBACK (OnConfConf_GsAbout), + NULL); + g_signal_connect ((gpointer) GtkButton_PAD1configure, "clicked", + G_CALLBACK (OnConfConf_Pad1Conf), + NULL); + g_signal_connect ((gpointer) GtkButton_PAD1test, "clicked", + G_CALLBACK (OnConfConf_Pad1Test), + NULL); + g_signal_connect ((gpointer) GtkButton_PAD1about, "clicked", + G_CALLBACK (OnConfConf_Pad1About), + NULL); + g_signal_connect ((gpointer) GtkButton_PAD2configure, "clicked", + G_CALLBACK (OnConfConf_Pad2Conf), + NULL); + g_signal_connect ((gpointer) GtkButton_PAD2test, "clicked", + G_CALLBACK (OnConfConf_Pad2Test), + NULL); + g_signal_connect ((gpointer) GtkButton_PAD2about, "clicked", + G_CALLBACK (OnConfConf_Pad2About), + NULL); + g_signal_connect ((gpointer) GtkButton_SelectPluginsDir, "clicked", + G_CALLBACK (OnConfConf_PluginsPath), + NULL); + g_signal_connect ((gpointer) GtkButton_SelectBiosDir, "clicked", + G_CALLBACK (OnConfConf_BiosPath), + NULL); + g_signal_connect ((gpointer) GtkButton_Ok1, "clicked", + G_CALLBACK (OnConfConf_Ok), + NULL); + g_signal_connect ((gpointer) GtkButton_Cancel, "clicked", + G_CALLBACK (On_Dialog_Cancelled), + NULL); + + /* Store pointers to all widgets, for use by lookup_widget(). */ + GLADE_HOOKUP_OBJECT_NO_REF (ConfDlg, ConfDlg, "ConfDlg"); + GLADE_HOOKUP_OBJECT (ConfDlg, vbox12, "vbox12"); + GLADE_HOOKUP_OBJECT (ConfDlg, table2, "table2"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkLabel_Bios, "GtkLabel_Bios"); + GLADE_HOOKUP_OBJECT (ConfDlg, label30, "label30"); + GLADE_HOOKUP_OBJECT (ConfDlg, hbuttonbox24, "hbuttonbox24"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_FWconfigure, "GtkButton_FWconfigure"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_FWtest, "GtkButton_FWtest"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_FireWireabout, "GtkButton_FireWireabout"); + GLADE_HOOKUP_OBJECT (ConfDlg, hbuttonbox23, "hbuttonbox23"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_USBconfigure, "GtkButton_USBconfigure"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_USBtest, "GtkButton_USBtest"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_USBabout, "GtkButton_USBabout"); + GLADE_HOOKUP_OBJECT (ConfDlg, label29, "label29"); + GLADE_HOOKUP_OBJECT (ConfDlg, hbuttonbox13, "hbuttonbox13"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_CDVDconfigure, "GtkButton_CDVDconfigure"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_CDVDtest, "GtkButton_CDVDtest"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_CDVDabout, "GtkButton_CDVDabout"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkLabel_Cdvdrom, "GtkLabel_Cdvdrom"); + GLADE_HOOKUP_OBJECT (ConfDlg, label23, "label23"); + GLADE_HOOKUP_OBJECT (ConfDlg, hbuttonbox21, "hbuttonbox21"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_DEV9configure, "GtkButton_DEV9configure"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_DEV9test, "GtkButton_DEV9test"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_DEV9about, "GtkButton_DEV9about"); + GLADE_HOOKUP_OBJECT (ConfDlg, hbuttonbox12, "hbuttonbox12"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_SPU2configure, "GtkButton_SPU2configure"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_SPU2test, "GtkButton_SPU2test"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_SPU2about, "GtkButton_SPU2about"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkLabel_Sound, "GtkLabel_Sound"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkLabel_SecondController, "GtkLabel_SecondController"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkLabel_FirstController, "GtkLabel_FirstController"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkLabel_Graphics, "GtkLabel_Graphics"); + GLADE_HOOKUP_OBJECT (ConfDlg, hbuttonbox8, "hbuttonbox8"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_GSconfigure, "GtkButton_GSconfigure"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_GStest, "GtkButton_GStest"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_GSabout, "GtkButton_GSabout"); + GLADE_HOOKUP_OBJECT (ConfDlg, hbuttonbox7, "hbuttonbox7"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_PAD1configure, "GtkButton_PAD1configure"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_PAD1test, "GtkButton_PAD1test"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_PAD1about, "GtkButton_PAD1about"); + GLADE_HOOKUP_OBJECT (ConfDlg, hbuttonbox6, "hbuttonbox6"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_PAD2configure, "GtkButton_PAD2configure"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_PAD2test, "GtkButton_PAD2test"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_PAD2about, "GtkButton_PAD2about"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkCombo_FW, "GtkCombo_FW"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkCombo_Usb, "GtkCombo_Usb"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkCombo_Cdvd, "GtkCombo_Cdvd"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkCombo_Dev9, "GtkCombo_Dev9"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkCombo_Pad2, "GtkCombo_Pad2"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkCombo_Pad1, "GtkCombo_Pad1"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkCombo_Spu2, "GtkCombo_Spu2"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkCombo_Gs, "GtkCombo_Gs"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkCombo_Bios, "GtkCombo_Bios"); + GLADE_HOOKUP_OBJECT (ConfDlg, hbox5, "hbox5"); + GLADE_HOOKUP_OBJECT (ConfDlg, hbuttonbox11, "hbuttonbox11"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_SelectPluginsDir, "GtkButton_SelectPluginsDir"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_SelectBiosDir, "GtkButton_SelectBiosDir"); + GLADE_HOOKUP_OBJECT (ConfDlg, hbuttonbox10, "hbuttonbox10"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_Ok1, "GtkButton_Ok1"); + GLADE_HOOKUP_OBJECT (ConfDlg, GtkButton_Cancel, "GtkButton_Cancel"); + + return ConfDlg; +} + +GtkWidget* +create_AboutDlg (void) +{ + GtkWidget *AboutDlg; + GtkWidget *vbox2; + GtkWidget *vbox4; + GtkWidget *GtkAbout_LabelVersion; + GtkWidget *frame1; + GtkWidget *vbox6; + GtkWidget *GtkAbout_LabelAuthors; + GtkWidget *frame2; + GtkWidget *vbox5; + GtkWidget *GtkAbout_LabelGreets; + GtkWidget *hbuttonbox1; + GtkWidget *GtkButton_Ok; + + AboutDlg = gtk_window_new (GTK_WINDOW_TOPLEVEL); + gtk_container_set_border_width (GTK_CONTAINER (AboutDlg), 10); + gtk_window_set_title (GTK_WINDOW (AboutDlg), _("Pcsx About")); + + vbox2 = gtk_vbox_new (FALSE, 0); + gtk_widget_show (vbox2); + gtk_container_add (GTK_CONTAINER (AboutDlg), vbox2); + + vbox4 = gtk_vbox_new (FALSE, 0); + gtk_widget_show (vbox4); + gtk_box_pack_start (GTK_BOX (vbox2), vbox4, TRUE, TRUE, 0); + + GtkAbout_LabelVersion = gtk_label_new (_("PCSX2\n\nVersion x.x")); + gtk_widget_show (GtkAbout_LabelVersion); + gtk_box_pack_start (GTK_BOX (vbox4), GtkAbout_LabelVersion, FALSE, FALSE, 0); + gtk_label_set_justify (GTK_LABEL (GtkAbout_LabelVersion), GTK_JUSTIFY_CENTER); + + frame1 = gtk_frame_new (NULL); + gtk_widget_show (frame1); + gtk_box_pack_start (GTK_BOX (vbox4), frame1, FALSE, FALSE, 0); + gtk_container_set_border_width (GTK_CONTAINER (frame1), 5); + + vbox6 = gtk_vbox_new (FALSE, 0); + gtk_widget_show (vbox6); + gtk_container_add (GTK_CONTAINER (frame1), vbox6); + gtk_container_set_border_width (GTK_CONTAINER (vbox6), 5); + + GtkAbout_LabelAuthors = gtk_label_new (_("written by...")); + gtk_widget_show (GtkAbout_LabelAuthors); + gtk_box_pack_start (GTK_BOX (vbox6), GtkAbout_LabelAuthors, FALSE, FALSE, 0); + gtk_label_set_justify (GTK_LABEL (GtkAbout_LabelAuthors), GTK_JUSTIFY_CENTER); + gtk_label_set_line_wrap (GTK_LABEL (GtkAbout_LabelAuthors), TRUE); + + frame2 = gtk_frame_new (NULL); + gtk_widget_show (frame2); + gtk_box_pack_start (GTK_BOX (vbox2), frame2, FALSE, FALSE, 0); + gtk_container_set_border_width (GTK_CONTAINER (frame2), 5); + + vbox5 = gtk_vbox_new (FALSE, 0); + gtk_widget_show (vbox5); + gtk_container_add (GTK_CONTAINER (frame2), vbox5); + gtk_container_set_border_width (GTK_CONTAINER (vbox5), 5); + + GtkAbout_LabelGreets = gtk_label_new (_("greets to...")); + gtk_widget_show (GtkAbout_LabelGreets); + gtk_box_pack_start (GTK_BOX (vbox5), GtkAbout_LabelGreets, FALSE, FALSE, 0); + gtk_label_set_justify (GTK_LABEL (GtkAbout_LabelGreets), GTK_JUSTIFY_CENTER); + gtk_label_set_line_wrap (GTK_LABEL (GtkAbout_LabelGreets), TRUE); + + hbuttonbox1 = gtk_hbutton_box_new (); + gtk_widget_show (hbuttonbox1); + gtk_box_pack_start (GTK_BOX (vbox2), hbuttonbox1, FALSE, FALSE, 0); + gtk_button_box_set_layout (GTK_BUTTON_BOX (hbuttonbox1), GTK_BUTTONBOX_EDGE); + + GtkButton_Ok = gtk_button_new_from_stock ("gtk-ok"); + gtk_widget_show (GtkButton_Ok); + gtk_container_add (GTK_CONTAINER (hbuttonbox1), GtkButton_Ok); + GTK_WIDGET_SET_FLAGS (GtkButton_Ok, GTK_CAN_DEFAULT); + + g_signal_connect ((gpointer) GtkButton_Ok, "clicked", + G_CALLBACK (OnHelpAbout_Ok), + NULL); + + /* Store pointers to all widgets, for use by lookup_widget(). */ + GLADE_HOOKUP_OBJECT_NO_REF (AboutDlg, AboutDlg, "AboutDlg"); + GLADE_HOOKUP_OBJECT (AboutDlg, vbox2, "vbox2"); + GLADE_HOOKUP_OBJECT (AboutDlg, vbox4, "vbox4"); + GLADE_HOOKUP_OBJECT (AboutDlg, GtkAbout_LabelVersion, "GtkAbout_LabelVersion"); + GLADE_HOOKUP_OBJECT (AboutDlg, frame1, "frame1"); + GLADE_HOOKUP_OBJECT (AboutDlg, vbox6, "vbox6"); + GLADE_HOOKUP_OBJECT (AboutDlg, GtkAbout_LabelAuthors, "GtkAbout_LabelAuthors"); + GLADE_HOOKUP_OBJECT (AboutDlg, frame2, "frame2"); + GLADE_HOOKUP_OBJECT (AboutDlg, vbox5, "vbox5"); + GLADE_HOOKUP_OBJECT (AboutDlg, GtkAbout_LabelGreets, "GtkAbout_LabelGreets"); + GLADE_HOOKUP_OBJECT (AboutDlg, hbuttonbox1, "hbuttonbox1"); + GLADE_HOOKUP_OBJECT (AboutDlg, GtkButton_Ok, "GtkButton_Ok"); + + return AboutDlg; +} + +GtkWidget* +create_MainWindow (void) +{ + GtkWidget *MainWindow; + GtkWidget *vbox1; + GtkWidget *GtkMenuBar_Menu; + GtkWidget *GtkMenuItem_File; + GtkWidget *GtkMenuItem_File_menu; + GtkWidget *run_cd1; + GtkWidget *GtkMenuItem_LoadElf; + GtkWidget *separator2; + GtkWidget *states1; + GtkWidget *states1_menu; + GtkWidget *load1; + GtkWidget *load1_menu; + GtkWidget *slot_1; + GtkWidget *slot_2; + GtkWidget *slot_3_; + GtkWidget *slot_4; + GtkWidget *slot_5; + GtkWidget *other1; + GtkWidget *save1; + GtkWidget *save1_menu; + GtkWidget *slot_6; + GtkWidget *slot_7; + GtkWidget *slot_8; + GtkWidget *slot_9; + GtkWidget *slot_10; + GtkWidget *other2; + GtkWidget *GtkMenuItem_Exit; + GtkWidget *GtkMenuItem_Emulator; + GtkWidget *GtkMenuItem_Emulator_menu; + GtkWidget *GtkMenuItem_Run; + GtkWidget *GtkMenuItem_Reset; + GtkWidget *GtkMenuItem_Arguments; + GtkWidget *GtkMenuItem_Configuration; + GtkWidget *GtkMenuItem_Configuration_menu; + GtkWidget *GtkMenuItem_PluginsBios; + GtkWidget *separator3; + GtkWidget *GtkMenuItem_Graphics; + GtkWidget *GtkMenuItem_Controllers; + GtkWidget *GtkMenuItem_Sound; + GtkWidget *GtkMenuItem_Cdvdrom; + GtkWidget *GtkMenuItem_Dev9; + GtkWidget *GtkMenuItem_USB; + GtkWidget *GtkMenuItem_FW; + GtkWidget *separator4; + GtkWidget *GtkMenuItem_Cpu; + GtkWidget *GtkMenuItem_Game_Fixes; + GtkWidget *GtkMenuItem_Speed_Hacks; + GtkWidget *GtkMenuItem_Advanced; + GtkWidget *GtkMenuItem_Language; + GtkWidget *misc1; + GtkWidget *misc1_menu; + GtkWidget *patch_browser1; + GtkWidget *patch_finder2; + GtkWidget *separator7; + GtkWidget *enable_console1; + GtkWidget *enable_patches1; + GtkWidget *GtkMenuItem_Debug; + GtkWidget *GtkMenuItem_Debug_menu; + GtkWidget *GtkMenuItem_EnterDebugger; + GtkWidget *GtkMenuItem_Logging; + GtkWidget *GtkMenuItem_Help; + GtkWidget *GtkMenuItem_Help_menu; + GtkWidget *GtkMenuItem_About; + GtkWidget *image1; + GtkWidget *status_box; + + MainWindow = gtk_window_new (GTK_WINDOW_TOPLEVEL); + gtk_window_set_title (GTK_WINDOW (MainWindow), _("PCSX")); + gtk_window_set_position (GTK_WINDOW (MainWindow), GTK_WIN_POS_CENTER); + + vbox1 = gtk_vbox_new (FALSE, 0); + gtk_widget_show (vbox1); + gtk_container_add (GTK_CONTAINER (MainWindow), vbox1); + + GtkMenuBar_Menu = gtk_menu_bar_new (); + gtk_widget_show (GtkMenuBar_Menu); + gtk_box_pack_start (GTK_BOX (vbox1), GtkMenuBar_Menu, FALSE, FALSE, 0); + + GtkMenuItem_File = gtk_menu_item_new_with_mnemonic (_("_File")); + gtk_widget_show (GtkMenuItem_File); + gtk_container_add (GTK_CONTAINER (GtkMenuBar_Menu), GtkMenuItem_File); + + GtkMenuItem_File_menu = gtk_menu_new (); + gtk_menu_item_set_submenu (GTK_MENU_ITEM (GtkMenuItem_File), GtkMenuItem_File_menu); + + run_cd1 = gtk_menu_item_new_with_mnemonic (_("_Run CD")); + gtk_widget_show (run_cd1); + gtk_container_add (GTK_CONTAINER (GtkMenuItem_File_menu), run_cd1); + + GtkMenuItem_LoadElf = gtk_menu_item_new_with_mnemonic (_("_Load Elf")); + gtk_widget_show (GtkMenuItem_LoadElf); + gtk_container_add (GTK_CONTAINER (GtkMenuItem_File_menu), GtkMenuItem_LoadElf); + + separator2 = gtk_separator_menu_item_new (); + gtk_widget_show (separator2); + gtk_container_add (GTK_CONTAINER (GtkMenuItem_File_menu), separator2); + gtk_widget_set_sensitive (separator2, FALSE); + + states1 = gtk_menu_item_new_with_mnemonic (_("States")); + gtk_widget_show (states1); + gtk_container_add (GTK_CONTAINER (GtkMenuItem_File_menu), states1); + + states1_menu = gtk_menu_new (); + gtk_menu_item_set_submenu (GTK_MENU_ITEM (states1), states1_menu); + + load1 = gtk_menu_item_new_with_mnemonic (_("Load")); + gtk_widget_show (load1); + gtk_container_add (GTK_CONTAINER (states1_menu), load1); + + load1_menu = gtk_menu_new (); + gtk_menu_item_set_submenu (GTK_MENU_ITEM (load1), load1_menu); + + slot_1 = gtk_menu_item_new_with_mnemonic (_("Slot 1")); + gtk_widget_show (slot_1); + gtk_container_add (GTK_CONTAINER (load1_menu), slot_1); + + slot_2 = gtk_menu_item_new_with_mnemonic (_("Slot 2")); + gtk_widget_show (slot_2); + gtk_container_add (GTK_CONTAINER (load1_menu), slot_2); + + slot_3_ = gtk_menu_item_new_with_mnemonic (_("Slot 3")); + gtk_widget_show (slot_3_); + gtk_container_add (GTK_CONTAINER (load1_menu), slot_3_); + + slot_4 = gtk_menu_item_new_with_mnemonic (_("Slot 4")); + gtk_widget_show (slot_4); + gtk_container_add (GTK_CONTAINER (load1_menu), slot_4); + + slot_5 = gtk_menu_item_new_with_mnemonic (_("Slot 5")); + gtk_widget_show (slot_5); + gtk_container_add (GTK_CONTAINER (load1_menu), slot_5); + + other1 = gtk_menu_item_new_with_mnemonic (_("Other...")); + gtk_widget_show (other1); + gtk_container_add (GTK_CONTAINER (load1_menu), other1); + + save1 = gtk_menu_item_new_with_mnemonic (_("Save")); + gtk_widget_show (save1); + gtk_container_add (GTK_CONTAINER (states1_menu), save1); + + save1_menu = gtk_menu_new (); + gtk_menu_item_set_submenu (GTK_MENU_ITEM (save1), save1_menu); + + slot_6 = gtk_menu_item_new_with_mnemonic (_("Slot 1")); + gtk_widget_show (slot_6); + gtk_container_add (GTK_CONTAINER (save1_menu), slot_6); + + slot_7 = gtk_menu_item_new_with_mnemonic (_("Slot 2")); + gtk_widget_show (slot_7); + gtk_container_add (GTK_CONTAINER (save1_menu), slot_7); + + slot_8 = gtk_menu_item_new_with_mnemonic (_("Slot 3")); + gtk_widget_show (slot_8); + gtk_container_add (GTK_CONTAINER (save1_menu), slot_8); + + slot_9 = gtk_menu_item_new_with_mnemonic (_("Slot 4")); + gtk_widget_show (slot_9); + gtk_container_add (GTK_CONTAINER (save1_menu), slot_9); + + slot_10 = gtk_menu_item_new_with_mnemonic (_("Slot 5")); + gtk_widget_show (slot_10); + gtk_container_add (GTK_CONTAINER (save1_menu), slot_10); + + other2 = gtk_menu_item_new_with_mnemonic (_("Other...")); + gtk_widget_show (other2); + gtk_container_add (GTK_CONTAINER (save1_menu), other2); + + GtkMenuItem_Exit = gtk_menu_item_new_with_mnemonic (_("E_xit")); + gtk_widget_show (GtkMenuItem_Exit); + gtk_container_add (GTK_CONTAINER (GtkMenuItem_File_menu), GtkMenuItem_Exit); + + GtkMenuItem_Emulator = gtk_menu_item_new_with_mnemonic (_("_Run")); + gtk_widget_show (GtkMenuItem_Emulator); + gtk_container_add (GTK_CONTAINER (GtkMenuBar_Menu), GtkMenuItem_Emulator); + + GtkMenuItem_Emulator_menu = gtk_menu_new (); + gtk_menu_item_set_submenu (GTK_MENU_ITEM (GtkMenuItem_Emulator), GtkMenuItem_Emulator_menu); + + GtkMenuItem_Run = gtk_menu_item_new_with_mnemonic (_("E_xecute")); + gtk_widget_show (GtkMenuItem_Run); + gtk_container_add (GTK_CONTAINER (GtkMenuItem_Emulator_menu), GtkMenuItem_Run); + + GtkMenuItem_Reset = gtk_menu_item_new_with_mnemonic (_("Re_set")); + gtk_widget_show (GtkMenuItem_Reset); + gtk_container_add (GTK_CONTAINER (GtkMenuItem_Emulator_menu), GtkMenuItem_Reset); + + GtkMenuItem_Arguments = gtk_menu_item_new_with_mnemonic (_("_Arguments")); + gtk_widget_show (GtkMenuItem_Arguments); + gtk_container_add (GTK_CONTAINER (GtkMenuItem_Emulator_menu), GtkMenuItem_Arguments); + + GtkMenuItem_Configuration = gtk_menu_item_new_with_mnemonic (_("_Config")); + gtk_widget_show (GtkMenuItem_Configuration); + gtk_container_add (GTK_CONTAINER (GtkMenuBar_Menu), GtkMenuItem_Configuration); + + GtkMenuItem_Configuration_menu = gtk_menu_new (); + gtk_menu_item_set_submenu (GTK_MENU_ITEM (GtkMenuItem_Configuration), GtkMenuItem_Configuration_menu); + + GtkMenuItem_PluginsBios = gtk_menu_item_new_with_mnemonic (_("_Configure")); + gtk_widget_show (GtkMenuItem_PluginsBios); + gtk_container_add (GTK_CONTAINER (GtkMenuItem_Configuration_menu), GtkMenuItem_PluginsBios); + + separator3 = gtk_separator_menu_item_new (); + gtk_widget_show (separator3); + gtk_container_add (GTK_CONTAINER (GtkMenuItem_Configuration_menu), separator3); + gtk_widget_set_sensitive (separator3, FALSE); + + GtkMenuItem_Graphics = gtk_menu_item_new_with_mnemonic (_("_Graphics")); + gtk_widget_show (GtkMenuItem_Graphics); + gtk_container_add (GTK_CONTAINER (GtkMenuItem_Configuration_menu), GtkMenuItem_Graphics); + + GtkMenuItem_Controllers = gtk_menu_item_new_with_mnemonic (_("C_ontrollers")); + gtk_widget_show (GtkMenuItem_Controllers); + gtk_container_add (GTK_CONTAINER (GtkMenuItem_Configuration_menu), GtkMenuItem_Controllers); + + GtkMenuItem_Sound = gtk_menu_item_new_with_mnemonic (_("_Sound")); + gtk_widget_show (GtkMenuItem_Sound); + gtk_container_add (GTK_CONTAINER (GtkMenuItem_Configuration_menu), GtkMenuItem_Sound); + + GtkMenuItem_Cdvdrom = gtk_menu_item_new_with_mnemonic (_("_Cdvdrom")); + gtk_widget_show (GtkMenuItem_Cdvdrom); + gtk_container_add (GTK_CONTAINER (GtkMenuItem_Configuration_menu), GtkMenuItem_Cdvdrom); + + GtkMenuItem_Dev9 = gtk_menu_item_new_with_mnemonic (_("D_ev9")); + gtk_widget_show (GtkMenuItem_Dev9); + gtk_container_add (GTK_CONTAINER (GtkMenuItem_Configuration_menu), GtkMenuItem_Dev9); + + GtkMenuItem_USB = gtk_menu_item_new_with_mnemonic (_("U_SB")); + gtk_widget_show (GtkMenuItem_USB); + gtk_container_add (GTK_CONTAINER (GtkMenuItem_Configuration_menu), GtkMenuItem_USB); + + GtkMenuItem_FW = gtk_menu_item_new_with_mnemonic (_("Fire_Wire")); + gtk_widget_show (GtkMenuItem_FW); + gtk_container_add (GTK_CONTAINER (GtkMenuItem_Configuration_menu), GtkMenuItem_FW); + + separator4 = gtk_separator_menu_item_new (); + gtk_widget_show (separator4); + gtk_container_add (GTK_CONTAINER (GtkMenuItem_Configuration_menu), separator4); + gtk_widget_set_sensitive (separator4, FALSE); + + GtkMenuItem_Cpu = gtk_menu_item_new_with_mnemonic (_("C_pu")); + gtk_widget_show (GtkMenuItem_Cpu); + gtk_container_add (GTK_CONTAINER (GtkMenuItem_Configuration_menu), GtkMenuItem_Cpu); + + GtkMenuItem_Game_Fixes = gtk_menu_item_new_with_mnemonic (_("Game Fixes")); + gtk_widget_show (GtkMenuItem_Game_Fixes); + gtk_container_add (GTK_CONTAINER (GtkMenuItem_Configuration_menu), GtkMenuItem_Game_Fixes); + + GtkMenuItem_Speed_Hacks = gtk_menu_item_new_with_mnemonic (_("Speed Hacks")); + gtk_widget_show (GtkMenuItem_Speed_Hacks); + gtk_container_add (GTK_CONTAINER (GtkMenuItem_Configuration_menu), GtkMenuItem_Speed_Hacks); + + GtkMenuItem_Advanced = gtk_menu_item_new_with_mnemonic (_("Advanced")); + gtk_widget_show (GtkMenuItem_Advanced); + gtk_container_add (GTK_CONTAINER (GtkMenuItem_Configuration_menu), GtkMenuItem_Advanced); + + GtkMenuItem_Language = gtk_menu_item_new_with_mnemonic (_("_Language")); + gtk_widget_show (GtkMenuItem_Language); + gtk_container_add (GTK_CONTAINER (GtkMenuBar_Menu), GtkMenuItem_Language); + + misc1 = gtk_menu_item_new_with_mnemonic (_("_Misc")); + gtk_widget_show (misc1); + gtk_container_add (GTK_CONTAINER (GtkMenuBar_Menu), misc1); + + misc1_menu = gtk_menu_new (); + gtk_menu_item_set_submenu (GTK_MENU_ITEM (misc1), misc1_menu); + + patch_browser1 = gtk_menu_item_new_with_mnemonic (_("Patch _Browser")); + gtk_widget_show (patch_browser1); + gtk_container_add (GTK_CONTAINER (misc1_menu), patch_browser1); + + patch_finder2 = gtk_menu_item_new_with_mnemonic (_("Patch _Finder")); + gtk_widget_show (patch_finder2); + gtk_container_add (GTK_CONTAINER (misc1_menu), patch_finder2); + + separator7 = gtk_separator_menu_item_new (); + gtk_widget_show (separator7); + gtk_container_add (GTK_CONTAINER (misc1_menu), separator7); + gtk_widget_set_sensitive (separator7, FALSE); + + enable_console1 = gtk_check_menu_item_new_with_mnemonic (_("Enable _Console")); + gtk_widget_show (enable_console1); + gtk_container_add (GTK_CONTAINER (misc1_menu), enable_console1); + + enable_patches1 = gtk_check_menu_item_new_with_mnemonic (_("Enable _Patches")); + gtk_widget_show (enable_patches1); + gtk_container_add (GTK_CONTAINER (misc1_menu), enable_patches1); + + GtkMenuItem_Debug = gtk_menu_item_new_with_mnemonic (_("_Debug")); + gtk_widget_show (GtkMenuItem_Debug); + gtk_container_add (GTK_CONTAINER (GtkMenuBar_Menu), GtkMenuItem_Debug); + + GtkMenuItem_Debug_menu = gtk_menu_new (); + gtk_menu_item_set_submenu (GTK_MENU_ITEM (GtkMenuItem_Debug), GtkMenuItem_Debug_menu); + + GtkMenuItem_EnterDebugger = gtk_menu_item_new_with_mnemonic (_("Enter Debugger ...")); + gtk_widget_show (GtkMenuItem_EnterDebugger); + gtk_container_add (GTK_CONTAINER (GtkMenuItem_Debug_menu), GtkMenuItem_EnterDebugger); + + GtkMenuItem_Logging = gtk_menu_item_new_with_mnemonic (_("Logging")); + gtk_widget_show (GtkMenuItem_Logging); + gtk_container_add (GTK_CONTAINER (GtkMenuItem_Debug_menu), GtkMenuItem_Logging); + + GtkMenuItem_Help = gtk_menu_item_new_with_mnemonic (_("_Help")); + gtk_widget_show (GtkMenuItem_Help); + gtk_container_add (GTK_CONTAINER (GtkMenuBar_Menu), GtkMenuItem_Help); + + GtkMenuItem_Help_menu = gtk_menu_new (); + gtk_menu_item_set_submenu (GTK_MENU_ITEM (GtkMenuItem_Help), GtkMenuItem_Help_menu); + + GtkMenuItem_About = gtk_menu_item_new_with_mnemonic (_("About PCSX2...")); + gtk_widget_show (GtkMenuItem_About); + gtk_container_add (GTK_CONTAINER (GtkMenuItem_Help_menu), GtkMenuItem_About); + + image1 = create_pixmap (MainWindow, "pcsxAbout.bmp"); + gtk_widget_show (image1); + gtk_box_pack_start (GTK_BOX (vbox1), image1, TRUE, TRUE, 1); + + status_box = gtk_vbox_new (FALSE, 0); + gtk_widget_show (status_box); + gtk_box_pack_start (GTK_BOX (vbox1), status_box, TRUE, TRUE, 0); + + g_signal_connect ((gpointer) MainWindow, "destroy", + G_CALLBACK (OnDestroy), + NULL); + g_signal_connect ((gpointer) MainWindow, "delete_event", + G_CALLBACK (OnDelete), + NULL); + g_signal_connect ((gpointer) run_cd1, "activate", + G_CALLBACK (OnFile_RunCD), + NULL); + g_signal_connect ((gpointer) GtkMenuItem_LoadElf, "activate", + G_CALLBACK (OnFile_LoadElf), + NULL); + g_signal_connect ((gpointer) slot_1, "activate", + G_CALLBACK (OnStates_Load1), + NULL); + g_signal_connect ((gpointer) slot_2, "activate", + G_CALLBACK (OnStates_Load2), + NULL); + g_signal_connect ((gpointer) slot_3_, "activate", + G_CALLBACK (OnStates_Load3), + NULL); + g_signal_connect ((gpointer) slot_4, "activate", + G_CALLBACK (OnStates_Load4), + NULL); + g_signal_connect ((gpointer) slot_5, "activate", + G_CALLBACK (OnStates_Load5), + NULL); + g_signal_connect ((gpointer) other1, "activate", + G_CALLBACK (OnStates_LoadOther), + NULL); + g_signal_connect ((gpointer) slot_6, "activate", + G_CALLBACK (OnStates_Save1), + NULL); + g_signal_connect ((gpointer) slot_7, "activate", + G_CALLBACK (OnStates_Save2), + NULL); + g_signal_connect ((gpointer) slot_8, "activate", + G_CALLBACK (OnStates_Save3), + NULL); + g_signal_connect ((gpointer) slot_9, "activate", + G_CALLBACK (OnStates_Save4), + NULL); + g_signal_connect ((gpointer) slot_10, "activate", + G_CALLBACK (OnStates_Save5), + NULL); + g_signal_connect ((gpointer) other2, "activate", + G_CALLBACK (OnStates_SaveOther), + NULL); + g_signal_connect ((gpointer) GtkMenuItem_Exit, "activate", + G_CALLBACK (OnFile_Exit), + NULL); + g_signal_connect ((gpointer) GtkMenuItem_Run, "activate", + G_CALLBACK (OnEmu_Run), + NULL); + g_signal_connect ((gpointer) GtkMenuItem_Reset, "activate", + G_CALLBACK (OnEmu_Reset), + NULL); + g_signal_connect ((gpointer) GtkMenuItem_Arguments, "activate", + G_CALLBACK (OnEmu_Arguments), + NULL); + g_signal_connect ((gpointer) GtkMenuItem_PluginsBios, "activate", + G_CALLBACK (OnConf_Conf), + NULL); + g_signal_connect ((gpointer) GtkMenuItem_Graphics, "activate", + G_CALLBACK (OnConf_Gs), + NULL); + g_signal_connect ((gpointer) GtkMenuItem_Controllers, "activate", + G_CALLBACK (OnConf_Pads), + NULL); + g_signal_connect ((gpointer) GtkMenuItem_Sound, "activate", + G_CALLBACK (OnConf_Spu2), + NULL); + g_signal_connect ((gpointer) GtkMenuItem_Cdvdrom, "activate", + G_CALLBACK (OnConf_Cdvd), + NULL); + g_signal_connect ((gpointer) GtkMenuItem_Dev9, "activate", + G_CALLBACK (OnConf_Dev9), + NULL); + g_signal_connect ((gpointer) GtkMenuItem_USB, "activate", + G_CALLBACK (OnConf_Usb), + NULL); + g_signal_connect ((gpointer) GtkMenuItem_FW, "activate", + G_CALLBACK (OnConf_Fw), + NULL); + g_signal_connect ((gpointer) GtkMenuItem_Cpu, "activate", + G_CALLBACK (OnConf_Cpu), + NULL); + g_signal_connect ((gpointer) GtkMenuItem_Game_Fixes, "activate", + G_CALLBACK (on_Game_Fixes), + NULL); + g_signal_connect ((gpointer) GtkMenuItem_Speed_Hacks, "activate", + G_CALLBACK (on_Speed_Hacks), + NULL); + g_signal_connect ((gpointer) GtkMenuItem_Advanced, "activate", + G_CALLBACK (on_Advanced), + NULL); + g_signal_connect ((gpointer) patch_browser1, "activate", + G_CALLBACK (on_patch_browser1_activate), + NULL); + g_signal_connect ((gpointer) patch_finder2, "activate", + G_CALLBACK (on_patch_finder2_activate), + NULL); + g_signal_connect ((gpointer) enable_console1, "activate", + G_CALLBACK (on_enable_console1_activate), + NULL); + g_signal_connect ((gpointer) enable_patches1, "activate", + G_CALLBACK (on_enable_patches1_activate), + NULL); + g_signal_connect ((gpointer) GtkMenuItem_EnterDebugger, "activate", + G_CALLBACK (OnDebug_Debugger), + NULL); + g_signal_connect ((gpointer) GtkMenuItem_Logging, "activate", + G_CALLBACK (OnDebug_Logging), + NULL); + g_signal_connect ((gpointer) GtkMenuItem_About, "activate", + G_CALLBACK (OnHelp_About), + NULL); + + /* Store pointers to all widgets, for use by lookup_widget(). */ + GLADE_HOOKUP_OBJECT_NO_REF (MainWindow, MainWindow, "MainWindow"); + GLADE_HOOKUP_OBJECT (MainWindow, vbox1, "vbox1"); + GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuBar_Menu, "GtkMenuBar_Menu"); + GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_File, "GtkMenuItem_File"); + GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_File_menu, "GtkMenuItem_File_menu"); + GLADE_HOOKUP_OBJECT (MainWindow, run_cd1, "run_cd1"); + GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_LoadElf, "GtkMenuItem_LoadElf"); + GLADE_HOOKUP_OBJECT (MainWindow, separator2, "separator2"); + GLADE_HOOKUP_OBJECT (MainWindow, states1, "states1"); + GLADE_HOOKUP_OBJECT (MainWindow, states1_menu, "states1_menu"); + GLADE_HOOKUP_OBJECT (MainWindow, load1, "load1"); + GLADE_HOOKUP_OBJECT (MainWindow, load1_menu, "load1_menu"); + GLADE_HOOKUP_OBJECT (MainWindow, slot_1, "slot_1"); + GLADE_HOOKUP_OBJECT (MainWindow, slot_2, "slot_2"); + GLADE_HOOKUP_OBJECT (MainWindow, slot_3_, "slot_3_"); + GLADE_HOOKUP_OBJECT (MainWindow, slot_4, "slot_4"); + GLADE_HOOKUP_OBJECT (MainWindow, slot_5, "slot_5"); + GLADE_HOOKUP_OBJECT (MainWindow, other1, "other1"); + GLADE_HOOKUP_OBJECT (MainWindow, save1, "save1"); + GLADE_HOOKUP_OBJECT (MainWindow, save1_menu, "save1_menu"); + GLADE_HOOKUP_OBJECT (MainWindow, slot_6, "slot_6"); + GLADE_HOOKUP_OBJECT (MainWindow, slot_7, "slot_7"); + GLADE_HOOKUP_OBJECT (MainWindow, slot_8, "slot_8"); + GLADE_HOOKUP_OBJECT (MainWindow, slot_9, "slot_9"); + GLADE_HOOKUP_OBJECT (MainWindow, slot_10, "slot_10"); + GLADE_HOOKUP_OBJECT (MainWindow, other2, "other2"); + GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Exit, "GtkMenuItem_Exit"); + GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Emulator, "GtkMenuItem_Emulator"); + GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Emulator_menu, "GtkMenuItem_Emulator_menu"); + GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Run, "GtkMenuItem_Run"); + GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Reset, "GtkMenuItem_Reset"); + GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Arguments, "GtkMenuItem_Arguments"); + GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Configuration, "GtkMenuItem_Configuration"); + GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Configuration_menu, "GtkMenuItem_Configuration_menu"); + GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_PluginsBios, "GtkMenuItem_PluginsBios"); + GLADE_HOOKUP_OBJECT (MainWindow, separator3, "separator3"); + GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Graphics, "GtkMenuItem_Graphics"); + GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Controllers, "GtkMenuItem_Controllers"); + GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Sound, "GtkMenuItem_Sound"); + GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Cdvdrom, "GtkMenuItem_Cdvdrom"); + GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Dev9, "GtkMenuItem_Dev9"); + GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_USB, "GtkMenuItem_USB"); + GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_FW, "GtkMenuItem_FW"); + GLADE_HOOKUP_OBJECT (MainWindow, separator4, "separator4"); + GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Cpu, "GtkMenuItem_Cpu"); + GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Game_Fixes, "GtkMenuItem_Game_Fixes"); + GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Speed_Hacks, "GtkMenuItem_Speed_Hacks"); + GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Advanced, "GtkMenuItem_Advanced"); + GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Language, "GtkMenuItem_Language"); + GLADE_HOOKUP_OBJECT (MainWindow, misc1, "misc1"); + GLADE_HOOKUP_OBJECT (MainWindow, misc1_menu, "misc1_menu"); + GLADE_HOOKUP_OBJECT (MainWindow, patch_browser1, "patch_browser1"); + GLADE_HOOKUP_OBJECT (MainWindow, patch_finder2, "patch_finder2"); + GLADE_HOOKUP_OBJECT (MainWindow, separator7, "separator7"); + GLADE_HOOKUP_OBJECT (MainWindow, enable_console1, "enable_console1"); + GLADE_HOOKUP_OBJECT (MainWindow, enable_patches1, "enable_patches1"); + GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Debug, "GtkMenuItem_Debug"); + GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Debug_menu, "GtkMenuItem_Debug_menu"); + GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_EnterDebugger, "GtkMenuItem_EnterDebugger"); + GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Logging, "GtkMenuItem_Logging"); + GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Help, "GtkMenuItem_Help"); + GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_Help_menu, "GtkMenuItem_Help_menu"); + GLADE_HOOKUP_OBJECT (MainWindow, GtkMenuItem_About, "GtkMenuItem_About"); + GLADE_HOOKUP_OBJECT (MainWindow, image1, "image1"); + GLADE_HOOKUP_OBJECT (MainWindow, status_box, "status_box"); + + return MainWindow; +} + +GtkWidget* +create_PatchBrowserWindow (void) +{ + GtkWidget *PatchBrowserWindow; + GtkWidget *hbox24; + GtkWidget *scrolledwindow2; + GtkWidget *treeview1; + GtkWidget *vbox40; + GtkWidget *button84; + GtkWidget *button85; + GtkWidget *button86; + GtkWidget *button87; + GtkWidget *button88; + GtkWidget *button89; + GtkWidget *button90; + GtkWidget *button91; + + PatchBrowserWindow = gtk_window_new (GTK_WINDOW_TOPLEVEL); + gtk_window_set_title (GTK_WINDOW (PatchBrowserWindow), _("Patch List")); + gtk_window_set_modal (GTK_WINDOW (PatchBrowserWindow), TRUE); + gtk_window_set_decorated (GTK_WINDOW (PatchBrowserWindow), FALSE); + gtk_window_set_type_hint (GTK_WINDOW (PatchBrowserWindow), GDK_WINDOW_TYPE_HINT_DIALOG); + + hbox24 = gtk_hbox_new (FALSE, 0); + gtk_widget_show (hbox24); + gtk_container_add (GTK_CONTAINER (PatchBrowserWindow), hbox24); + + scrolledwindow2 = gtk_scrolled_window_new (NULL, NULL); + gtk_widget_show (scrolledwindow2); + gtk_box_pack_start (GTK_BOX (hbox24), scrolledwindow2, TRUE, TRUE, 0); + gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow2), GTK_SHADOW_IN); + + treeview1 = gtk_tree_view_new (); + gtk_widget_show (treeview1); + gtk_container_add (GTK_CONTAINER (scrolledwindow2), treeview1); + + vbox40 = gtk_vbox_new (FALSE, 0); + gtk_widget_show (vbox40); + gtk_box_pack_start (GTK_BOX (hbox24), vbox40, TRUE, TRUE, 0); + + button84 = gtk_button_new_with_mnemonic (_("Enable / Diable")); + gtk_widget_show (button84); + gtk_box_pack_start (GTK_BOX (vbox40), button84, FALSE, FALSE, 0); + + button85 = gtk_button_new_with_mnemonic (_("Add Patch")); + gtk_widget_show (button85); + gtk_box_pack_start (GTK_BOX (vbox40), button85, FALSE, FALSE, 0); + + button86 = gtk_button_new_with_mnemonic (_("Edit Patch")); + gtk_widget_show (button86); + gtk_box_pack_start (GTK_BOX (vbox40), button86, FALSE, FALSE, 0); + + button87 = gtk_button_new_with_mnemonic (_("Add GS2v3-4")); + gtk_widget_show (button87); + gtk_box_pack_start (GTK_BOX (vbox40), button87, FALSE, FALSE, 0); + + button88 = gtk_button_new_with_mnemonic (_("Add Raw")); + gtk_widget_show (button88); + gtk_box_pack_start (GTK_BOX (vbox40), button88, FALSE, FALSE, 0); + + button89 = gtk_button_new_with_mnemonic (_("Pnach Writer")); + gtk_widget_show (button89); + gtk_box_pack_start (GTK_BOX (vbox40), button89, FALSE, FALSE, 0); + + button90 = gtk_button_new_with_mnemonic (_("Skip Mpeg")); + gtk_widget_show (button90); + gtk_box_pack_start (GTK_BOX (vbox40), button90, FALSE, FALSE, 0); + + button91 = gtk_button_new_from_stock ("gtk-close"); + gtk_widget_show (button91); + gtk_box_pack_start (GTK_BOX (vbox40), button91, FALSE, FALSE, 0); + + /* Store pointers to all widgets, for use by lookup_widget(). */ + GLADE_HOOKUP_OBJECT_NO_REF (PatchBrowserWindow, PatchBrowserWindow, "PatchBrowserWindow"); + GLADE_HOOKUP_OBJECT (PatchBrowserWindow, hbox24, "hbox24"); + GLADE_HOOKUP_OBJECT (PatchBrowserWindow, scrolledwindow2, "scrolledwindow2"); + GLADE_HOOKUP_OBJECT (PatchBrowserWindow, treeview1, "treeview1"); + GLADE_HOOKUP_OBJECT (PatchBrowserWindow, vbox40, "vbox40"); + GLADE_HOOKUP_OBJECT (PatchBrowserWindow, button84, "button84"); + GLADE_HOOKUP_OBJECT (PatchBrowserWindow, button85, "button85"); + GLADE_HOOKUP_OBJECT (PatchBrowserWindow, button86, "button86"); + GLADE_HOOKUP_OBJECT (PatchBrowserWindow, button87, "button87"); + GLADE_HOOKUP_OBJECT (PatchBrowserWindow, button88, "button88"); + GLADE_HOOKUP_OBJECT (PatchBrowserWindow, button89, "button89"); + GLADE_HOOKUP_OBJECT (PatchBrowserWindow, button90, "button90"); + GLADE_HOOKUP_OBJECT (PatchBrowserWindow, button91, "button91"); + + return PatchBrowserWindow; +} + +GtkWidget* +create_PatchFinderWindow (void) +{ + GtkWidget *PatchFinderWindow; + GtkWidget *hbox25; + GtkWidget *vbox43; + GtkWidget *frame19; + GtkWidget *alignment14; + GtkWidget *vbox44; + GtkWidget *radiobutton1; + GSList *radiobutton1_group = NULL; + GtkWidget *radiobutton2; + GtkWidget *label55; + GtkWidget *frame20; + GtkWidget *alignment15; + GtkWidget *table6; + GtkWidget *radiobutton3; + GSList *radiobutton3_group = NULL; + GtkWidget *radiobutton4; + GtkWidget *radiobutton5; + GtkWidget *radiobutton6; + GtkWidget *checkbutton1; + GtkWidget *label56; + GtkWidget *frame21; + GtkWidget *alignment16; + GtkWidget *vbox45; + GtkWidget *radiobutton7; + GSList *radiobutton7_group = NULL; + GtkWidget *radiobutton8; + GtkWidget *radiobutton9; + GtkWidget *radiobutton10; + GtkWidget *radiobutton11; + GtkWidget *radiobutton12; + GtkWidget *label57; + GtkWidget *frame22; + GtkWidget *alignment17; + GtkWidget *vbox46; + GtkWidget *radiobutton13; + GSList *radiobutton13_group = NULL; + GtkWidget *radiobutton14; + GtkWidget *entry1; + GtkWidget *label58; + GtkWidget *vbox41; + GtkWidget *vbox42; + GtkWidget *hbox26; + GtkWidget *label59; + GtkWidget *label60; + GtkWidget *label61; + GtkWidget *scrolledwindow3; + GtkWidget *treeview2; + GtkWidget *table5; + GtkWidget *button92; + GtkWidget *button93; + GtkWidget *button94; + GtkWidget *button95; + + PatchFinderWindow = gtk_window_new (GTK_WINDOW_TOPLEVEL); + gtk_window_set_title (GTK_WINDOW (PatchFinderWindow), _("Patch Finder")); + gtk_window_set_modal (GTK_WINDOW (PatchFinderWindow), TRUE); + gtk_window_set_type_hint (GTK_WINDOW (PatchFinderWindow), GDK_WINDOW_TYPE_HINT_DIALOG); + + hbox25 = gtk_hbox_new (FALSE, 0); + gtk_widget_show (hbox25); + gtk_container_add (GTK_CONTAINER (PatchFinderWindow), hbox25); + + vbox43 = gtk_vbox_new (FALSE, 0); + gtk_widget_show (vbox43); + gtk_box_pack_start (GTK_BOX (hbox25), vbox43, TRUE, TRUE, 0); + + frame19 = gtk_frame_new (NULL); + gtk_widget_show (frame19); + gtk_box_pack_start (GTK_BOX (vbox43), frame19, TRUE, TRUE, 0); + gtk_frame_set_shadow_type (GTK_FRAME (frame19), GTK_SHADOW_NONE); + + alignment14 = gtk_alignment_new (0.5, 0.5, 1, 1); + gtk_widget_show (alignment14); + gtk_container_add (GTK_CONTAINER (frame19), alignment14); + gtk_alignment_set_padding (GTK_ALIGNMENT (alignment14), 0, 0, 12, 0); + + vbox44 = gtk_vbox_new (FALSE, 0); + gtk_widget_show (vbox44); + gtk_container_add (GTK_CONTAINER (alignment14), vbox44); + + radiobutton1 = gtk_radio_button_new_with_mnemonic (NULL, _("EE RAM")); + gtk_widget_show (radiobutton1); + gtk_box_pack_start (GTK_BOX (vbox44), radiobutton1, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton1), radiobutton1_group); + radiobutton1_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton1)); + + radiobutton2 = gtk_radio_button_new_with_mnemonic (NULL, _("IOP RAM")); + gtk_widget_show (radiobutton2); + gtk_box_pack_start (GTK_BOX (vbox44), radiobutton2, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton2), radiobutton1_group); + radiobutton1_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton2)); + + label55 = gtk_label_new (_("Search In")); + gtk_widget_show (label55); + gtk_frame_set_label_widget (GTK_FRAME (frame19), label55); + gtk_label_set_use_markup (GTK_LABEL (label55), TRUE); + + frame20 = gtk_frame_new (NULL); + gtk_widget_show (frame20); + gtk_box_pack_start (GTK_BOX (vbox43), frame20, TRUE, TRUE, 0); + gtk_frame_set_shadow_type (GTK_FRAME (frame20), GTK_SHADOW_NONE); + + alignment15 = gtk_alignment_new (0.5, 0.5, 1, 1); + gtk_widget_show (alignment15); + gtk_container_add (GTK_CONTAINER (frame20), alignment15); + gtk_alignment_set_padding (GTK_ALIGNMENT (alignment15), 0, 0, 12, 0); + + table6 = gtk_table_new (3, 2, FALSE); + gtk_widget_show (table6); + gtk_container_add (GTK_CONTAINER (alignment15), table6); + + radiobutton3 = gtk_radio_button_new_with_mnemonic (NULL, _("8 bits")); + gtk_widget_show (radiobutton3); + gtk_table_attach (GTK_TABLE (table6), radiobutton3, 0, 1, 0, 1, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton3), radiobutton3_group); + radiobutton3_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton3)); + + radiobutton4 = gtk_radio_button_new_with_mnemonic (NULL, _("16 bits")); + gtk_widget_show (radiobutton4); + gtk_table_attach (GTK_TABLE (table6), radiobutton4, 1, 2, 0, 1, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton4), radiobutton3_group); + radiobutton3_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton4)); + + radiobutton5 = gtk_radio_button_new_with_mnemonic (NULL, _("32 bits")); + gtk_widget_show (radiobutton5); + gtk_table_attach (GTK_TABLE (table6), radiobutton5, 0, 1, 1, 2, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton5), radiobutton3_group); + radiobutton3_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton5)); + + radiobutton6 = gtk_radio_button_new_with_mnemonic (NULL, _("64 bits")); + gtk_widget_show (radiobutton6); + gtk_table_attach (GTK_TABLE (table6), radiobutton6, 1, 2, 1, 2, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton6), radiobutton3_group); + radiobutton3_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton6)); + + checkbutton1 = gtk_check_button_new_with_mnemonic (_("Unsigned")); + gtk_widget_show (checkbutton1); + gtk_table_attach (GTK_TABLE (table6), checkbutton1, 0, 1, 2, 3, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); + + label56 = gtk_label_new (_("Values of Size")); + gtk_widget_show (label56); + gtk_frame_set_label_widget (GTK_FRAME (frame20), label56); + gtk_label_set_use_markup (GTK_LABEL (label56), TRUE); + + frame21 = gtk_frame_new (NULL); + gtk_widget_show (frame21); + gtk_box_pack_start (GTK_BOX (vbox43), frame21, TRUE, TRUE, 0); + gtk_frame_set_shadow_type (GTK_FRAME (frame21), GTK_SHADOW_NONE); + + alignment16 = gtk_alignment_new (0.5, 0.5, 1, 1); + gtk_widget_show (alignment16); + gtk_container_add (GTK_CONTAINER (frame21), alignment16); + gtk_alignment_set_padding (GTK_ALIGNMENT (alignment16), 0, 0, 12, 0); + + vbox45 = gtk_vbox_new (FALSE, 0); + gtk_widget_show (vbox45); + gtk_container_add (GTK_CONTAINER (alignment16), vbox45); + + radiobutton7 = gtk_radio_button_new_with_mnemonic (NULL, _("Equal")); + gtk_widget_show (radiobutton7); + gtk_box_pack_start (GTK_BOX (vbox45), radiobutton7, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton7), radiobutton7_group); + radiobutton7_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton7)); + + radiobutton8 = gtk_radio_button_new_with_mnemonic (NULL, _("Greater Then")); + gtk_widget_show (radiobutton8); + gtk_box_pack_start (GTK_BOX (vbox45), radiobutton8, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton8), radiobutton7_group); + radiobutton7_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton8)); + + radiobutton9 = gtk_radio_button_new_with_mnemonic (NULL, _("Less Then")); + gtk_widget_show (radiobutton9); + gtk_box_pack_start (GTK_BOX (vbox45), radiobutton9, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton9), radiobutton7_group); + radiobutton7_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton9)); + + radiobutton10 = gtk_radio_button_new_with_mnemonic (NULL, _("Greater Then or Equal")); + gtk_widget_show (radiobutton10); + gtk_box_pack_start (GTK_BOX (vbox45), radiobutton10, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton10), radiobutton7_group); + radiobutton7_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton10)); + + radiobutton11 = gtk_radio_button_new_with_mnemonic (NULL, _("Less Then or Equal")); + gtk_widget_show (radiobutton11); + gtk_box_pack_start (GTK_BOX (vbox45), radiobutton11, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton11), radiobutton7_group); + radiobutton7_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton11)); + + radiobutton12 = gtk_radio_button_new_with_mnemonic (NULL, _("Not Equal")); + gtk_widget_show (radiobutton12); + gtk_box_pack_start (GTK_BOX (vbox45), radiobutton12, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton12), radiobutton7_group); + radiobutton7_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton12)); + + label57 = gtk_label_new (_("Being")); + gtk_widget_show (label57); + gtk_frame_set_label_widget (GTK_FRAME (frame21), label57); + gtk_label_set_use_markup (GTK_LABEL (label57), TRUE); + + frame22 = gtk_frame_new (NULL); + gtk_widget_show (frame22); + gtk_box_pack_start (GTK_BOX (vbox43), frame22, TRUE, TRUE, 0); + gtk_frame_set_shadow_type (GTK_FRAME (frame22), GTK_SHADOW_NONE); + + alignment17 = gtk_alignment_new (0.5, 0.5, 1, 1); + gtk_widget_show (alignment17); + gtk_container_add (GTK_CONTAINER (frame22), alignment17); + gtk_alignment_set_padding (GTK_ALIGNMENT (alignment17), 0, 0, 12, 0); + + vbox46 = gtk_vbox_new (FALSE, 0); + gtk_widget_show (vbox46); + gtk_container_add (GTK_CONTAINER (alignment17), vbox46); + + radiobutton13 = gtk_radio_button_new_with_mnemonic (NULL, _("Old Value")); + gtk_widget_show (radiobutton13); + gtk_box_pack_start (GTK_BOX (vbox46), radiobutton13, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton13), radiobutton13_group); + radiobutton13_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton13)); + + radiobutton14 = gtk_radio_button_new_with_mnemonic (NULL, _("Specific Value")); + gtk_widget_show (radiobutton14); + gtk_box_pack_start (GTK_BOX (vbox46), radiobutton14, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton14), radiobutton13_group); + radiobutton13_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton14)); + + entry1 = gtk_entry_new (); + gtk_widget_show (entry1); + gtk_box_pack_start (GTK_BOX (vbox46), entry1, FALSE, FALSE, 0); + + label58 = gtk_label_new (_("Compared To")); + gtk_widget_show (label58); + gtk_frame_set_label_widget (GTK_FRAME (frame22), label58); + gtk_label_set_use_markup (GTK_LABEL (label58), TRUE); + + vbox41 = gtk_vbox_new (FALSE, 0); + gtk_widget_show (vbox41); + gtk_box_pack_start (GTK_BOX (hbox25), vbox41, TRUE, TRUE, 0); + + vbox42 = gtk_vbox_new (FALSE, 0); + gtk_widget_show (vbox42); + gtk_box_pack_start (GTK_BOX (vbox41), vbox42, TRUE, TRUE, 0); + + hbox26 = gtk_hbox_new (FALSE, 0); + gtk_widget_show (hbox26); + gtk_box_pack_start (GTK_BOX (vbox42), hbox26, FALSE, FALSE, 0); + + label59 = gtk_label_new (_("Results:")); + gtk_widget_show (label59); + gtk_box_pack_start (GTK_BOX (hbox26), label59, FALSE, FALSE, 0); + + label60 = gtk_label_new (_("%s")); + gtk_widget_show (label60); + gtk_box_pack_start (GTK_BOX (hbox26), label60, TRUE, TRUE, 0); + gtk_label_set_justify (GTK_LABEL (label60), GTK_JUSTIFY_CENTER); + + label61 = gtk_label_new (_("Ready to Search")); + gtk_widget_show (label61); + gtk_box_pack_start (GTK_BOX (hbox26), label61, TRUE, FALSE, 0); + gtk_label_set_justify (GTK_LABEL (label61), GTK_JUSTIFY_RIGHT); + + scrolledwindow3 = gtk_scrolled_window_new (NULL, NULL); + gtk_widget_show (scrolledwindow3); + gtk_box_pack_start (GTK_BOX (vbox42), scrolledwindow3, TRUE, TRUE, 0); + gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow3), GTK_SHADOW_IN); + + treeview2 = gtk_tree_view_new (); + gtk_widget_show (treeview2); + gtk_container_add (GTK_CONTAINER (scrolledwindow3), treeview2); + + table5 = gtk_table_new (2, 2, FALSE); + gtk_widget_show (table5); + gtk_box_pack_start (GTK_BOX (vbox41), table5, FALSE, TRUE, 0); + + button92 = gtk_button_new_from_stock ("gtk-clear"); + gtk_widget_show (button92); + gtk_table_attach (GTK_TABLE (table5), button92, 0, 1, 0, 1, + (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), + (GtkAttachOptions) (0), 0, 0); + + button93 = gtk_button_new_from_stock ("gtk-find"); + gtk_widget_show (button93); + gtk_table_attach (GTK_TABLE (table5), button93, 1, 2, 0, 1, + (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), + (GtkAttachOptions) (0), 0, 0); + + button94 = gtk_button_new_from_stock ("gtk-add"); + gtk_widget_show (button94); + gtk_table_attach (GTK_TABLE (table5), button94, 0, 1, 1, 2, + (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), + (GtkAttachOptions) (0), 0, 0); + + button95 = gtk_button_new_from_stock ("gtk-close"); + gtk_widget_show (button95); + gtk_table_attach (GTK_TABLE (table5), button95, 1, 2, 1, 2, + (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), + (GtkAttachOptions) (0), 0, 0); + + /* Store pointers to all widgets, for use by lookup_widget(). */ + GLADE_HOOKUP_OBJECT_NO_REF (PatchFinderWindow, PatchFinderWindow, "PatchFinderWindow"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, hbox25, "hbox25"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, vbox43, "vbox43"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, frame19, "frame19"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, alignment14, "alignment14"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, vbox44, "vbox44"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, radiobutton1, "radiobutton1"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, radiobutton2, "radiobutton2"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, label55, "label55"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, frame20, "frame20"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, alignment15, "alignment15"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, table6, "table6"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, radiobutton3, "radiobutton3"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, radiobutton4, "radiobutton4"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, radiobutton5, "radiobutton5"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, radiobutton6, "radiobutton6"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, checkbutton1, "checkbutton1"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, label56, "label56"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, frame21, "frame21"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, alignment16, "alignment16"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, vbox45, "vbox45"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, radiobutton7, "radiobutton7"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, radiobutton8, "radiobutton8"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, radiobutton9, "radiobutton9"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, radiobutton10, "radiobutton10"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, radiobutton11, "radiobutton11"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, radiobutton12, "radiobutton12"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, label57, "label57"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, frame22, "frame22"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, alignment17, "alignment17"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, vbox46, "vbox46"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, radiobutton13, "radiobutton13"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, radiobutton14, "radiobutton14"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, entry1, "entry1"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, label58, "label58"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, vbox41, "vbox41"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, vbox42, "vbox42"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, hbox26, "hbox26"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, label59, "label59"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, label60, "label60"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, label61, "label61"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, scrolledwindow3, "scrolledwindow3"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, treeview2, "treeview2"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, table5, "table5"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, button92, "button92"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, button93, "button93"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, button94, "button94"); + GLADE_HOOKUP_OBJECT (PatchFinderWindow, button95, "button95"); + + return PatchFinderWindow; +} + +GtkWidget* +create_CpuDlg (void) +{ + GtkWidget *CpuDlg; + GtkWidget *dialog_vbox5; + GtkWidget *hbox27; + GtkWidget *vbox47; + GtkWidget *frame8; + GtkWidget *alignment2; + GtkWidget *vbox28; + GtkWidget *GtkLabel_CpuVendor; + GtkWidget *GtkLabel_Family; + GtkWidget *GtkLabel_CpuSpeed; + GtkWidget *GtkLabel_Features; + GtkWidget *label35; + GtkWidget *GtkCheckButton_EERec; + GtkWidget *frame6; + GtkWidget *vbox26; + GtkWidget *GtkCheckButton_VU0rec; + GtkWidget *GtkCheckButton_VU1rec; + GtkWidget *label32; + GtkWidget *GtkCheckButton_MTGS; + GtkWidget *vbox48; + GtkWidget *frame9; + GtkWidget *alignment4; + GtkWidget *vbox29; + GtkWidget *GtkRadioButton_LimitNormal; + GSList *GtkRadioButton_LimitNormal_group = NULL; + GtkWidget *GtkRadioButton_LimitLimit; + GtkWidget *GtkRadioButton_LimitFS; + GtkWidget *GtkRadioButton_VUSkip; + GtkWidget *label41; + GtkWidget *frame23; + GtkWidget *alignment18; + GtkWidget *vbox49; + GtkWidget *hbox29; + GtkWidget *label66; + GtkObject *CustomFPSLimit_adj; + GtkWidget *CustomFPSLimit; + GtkWidget *hbox30; + GtkWidget *label67; + GtkObject *FrameThreshold_adj; + GtkWidget *FrameThreshold; + GtkWidget *hbox31; + GtkWidget *label68; + GtkObject *FramesBeforeSkipping_adj; + GtkWidget *FramesBeforeSkipping; + GtkWidget *hbox32; + GtkWidget *label69; + GtkObject *FramesToSkip_adj; + GtkWidget *FramesToSkip; + GtkWidget *label63; + GtkWidget *label64; + GtkWidget *label65; + GtkWidget *label62; + GtkWidget *dialog_action_area5; + GtkWidget *button96; + GtkWidget *button97; + + CpuDlg = gtk_dialog_new (); + gtk_window_set_title (GTK_WINDOW (CpuDlg), _("dialog1")); + gtk_window_set_type_hint (GTK_WINDOW (CpuDlg), GDK_WINDOW_TYPE_HINT_DIALOG); + + dialog_vbox5 = GTK_DIALOG (CpuDlg)->vbox; + gtk_widget_show (dialog_vbox5); + + hbox27 = gtk_hbox_new (FALSE, 0); + gtk_widget_show (hbox27); + gtk_box_pack_start (GTK_BOX (dialog_vbox5), hbox27, TRUE, TRUE, 0); + + vbox47 = gtk_vbox_new (FALSE, 0); + gtk_widget_show (vbox47); + gtk_box_pack_start (GTK_BOX (hbox27), vbox47, TRUE, TRUE, 0); + + frame8 = gtk_frame_new (NULL); + gtk_widget_show (frame8); + gtk_box_pack_start (GTK_BOX (vbox47), frame8, TRUE, TRUE, 0); + + alignment2 = gtk_alignment_new (0.5, 0.5, 1, 1); + gtk_widget_show (alignment2); + gtk_container_add (GTK_CONTAINER (frame8), alignment2); + gtk_alignment_set_padding (GTK_ALIGNMENT (alignment2), 0, 0, 12, 0); + + vbox28 = gtk_vbox_new (FALSE, 0); + gtk_widget_show (vbox28); + gtk_container_add (GTK_CONTAINER (alignment2), vbox28); + + GtkLabel_CpuVendor = gtk_label_new (_("CPU vendor")); + gtk_widget_show (GtkLabel_CpuVendor); + gtk_box_pack_start (GTK_BOX (vbox28), GtkLabel_CpuVendor, FALSE, FALSE, 0); + + GtkLabel_Family = gtk_label_new (_("Family")); + gtk_widget_show (GtkLabel_Family); + gtk_box_pack_start (GTK_BOX (vbox28), GtkLabel_Family, FALSE, FALSE, 0); + + GtkLabel_CpuSpeed = gtk_label_new (_("Cpu Speed")); + gtk_widget_show (GtkLabel_CpuSpeed); + gtk_box_pack_start (GTK_BOX (vbox28), GtkLabel_CpuSpeed, FALSE, FALSE, 0); + + GtkLabel_Features = gtk_label_new (_("Features")); + gtk_widget_show (GtkLabel_Features); + gtk_box_pack_start (GTK_BOX (vbox28), GtkLabel_Features, FALSE, FALSE, 0); + + label35 = gtk_label_new (""); + gtk_widget_show (label35); + gtk_frame_set_label_widget (GTK_FRAME (frame8), label35); + gtk_label_set_use_markup (GTK_LABEL (label35), TRUE); + + GtkCheckButton_EERec = gtk_check_button_new_with_mnemonic (_("EERec - EE/IOP recompiler (Need MMX/SSE/SSE2)")); + gtk_widget_show (GtkCheckButton_EERec); + gtk_box_pack_start (GTK_BOX (vbox47), GtkCheckButton_EERec, FALSE, FALSE, 0); + + frame6 = gtk_frame_new (NULL); + gtk_widget_show (frame6); + gtk_box_pack_start (GTK_BOX (vbox47), frame6, TRUE, TRUE, 0); + gtk_container_set_border_width (GTK_CONTAINER (frame6), 5); + + vbox26 = gtk_vbox_new (FALSE, 0); + gtk_widget_show (vbox26); + gtk_container_add (GTK_CONTAINER (frame6), vbox26); + gtk_container_set_border_width (GTK_CONTAINER (vbox26), 5); + + GtkCheckButton_VU0rec = gtk_check_button_new_with_mnemonic (_("VU0rec - enable recompiler for VU0 unit")); + gtk_widget_show (GtkCheckButton_VU0rec); + gtk_box_pack_start (GTK_BOX (vbox26), GtkCheckButton_VU0rec, FALSE, FALSE, 0); + + GtkCheckButton_VU1rec = gtk_check_button_new_with_mnemonic (_("VU1rec - enable recompiler for VU1 unit")); + gtk_widget_show (GtkCheckButton_VU1rec); + gtk_box_pack_start (GTK_BOX (vbox26), GtkCheckButton_VU1rec, FALSE, FALSE, 0); + + label32 = gtk_label_new (_("VU Recompilers - All options are set by default")); + gtk_widget_show (label32); + gtk_frame_set_label_widget (GTK_FRAME (frame6), label32); + + GtkCheckButton_MTGS = gtk_check_button_new_with_mnemonic (_("Multi threaded GS mode (MTGS)\n (faster on dual core/HT CPUs, requires pcsx2 restart)")); + gtk_widget_show (GtkCheckButton_MTGS); + gtk_box_pack_start (GTK_BOX (vbox47), GtkCheckButton_MTGS, FALSE, FALSE, 0); + + vbox48 = gtk_vbox_new (FALSE, 0); + gtk_widget_show (vbox48); + gtk_box_pack_start (GTK_BOX (hbox27), vbox48, TRUE, TRUE, 0); + + frame9 = gtk_frame_new (NULL); + gtk_widget_show (frame9); + gtk_box_pack_start (GTK_BOX (vbox48), frame9, TRUE, TRUE, 0); + + alignment4 = gtk_alignment_new (0.5, 0.5, 1, 1); + gtk_widget_show (alignment4); + gtk_container_add (GTK_CONTAINER (frame9), alignment4); + gtk_alignment_set_padding (GTK_ALIGNMENT (alignment4), 0, 0, 12, 0); + + vbox29 = gtk_vbox_new (FALSE, 0); + gtk_widget_show (vbox29); + gtk_container_add (GTK_CONTAINER (alignment4), vbox29); + + GtkRadioButton_LimitNormal = gtk_radio_button_new_with_mnemonic (NULL, _("Normal - All frames are rendered as fast as possible")); + gtk_widget_show (GtkRadioButton_LimitNormal); + gtk_box_pack_start (GTK_BOX (vbox29), GtkRadioButton_LimitNormal, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (GtkRadioButton_LimitNormal), GtkRadioButton_LimitNormal_group); + GtkRadioButton_LimitNormal_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (GtkRadioButton_LimitNormal)); + + GtkRadioButton_LimitLimit = gtk_radio_button_new_with_mnemonic (NULL, _("Limit - Force frames to normal speeds if too fast")); + gtk_widget_show (GtkRadioButton_LimitLimit); + gtk_box_pack_start (GTK_BOX (vbox29), GtkRadioButton_LimitLimit, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (GtkRadioButton_LimitLimit), GtkRadioButton_LimitNormal_group); + GtkRadioButton_LimitNormal_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (GtkRadioButton_LimitLimit)); + + GtkRadioButton_LimitFS = gtk_radio_button_new_with_mnemonic (NULL, _("Frame Skip - In order to achieve normal speeds, \n some frames are skipped (faster).\n Fps displayed counts skipped frames too")); + gtk_widget_show (GtkRadioButton_LimitFS); + gtk_box_pack_start (GTK_BOX (vbox29), GtkRadioButton_LimitFS, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (GtkRadioButton_LimitFS), GtkRadioButton_LimitNormal_group); + GtkRadioButton_LimitNormal_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (GtkRadioButton_LimitFS)); + + GtkRadioButton_VUSkip = gtk_radio_button_new_with_mnemonic (NULL, _("VU Skip - Same as Frame Skip, but tried to skip more. \n Artifacts might be present, but will be faster")); + gtk_widget_show (GtkRadioButton_VUSkip); + gtk_box_pack_start (GTK_BOX (vbox29), GtkRadioButton_VUSkip, FALSE, FALSE, 0); + gtk_radio_button_set_group (GTK_RADIO_BUTTON (GtkRadioButton_VUSkip), GtkRadioButton_LimitNormal_group); + GtkRadioButton_LimitNormal_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (GtkRadioButton_VUSkip)); + + label41 = gtk_label_new (_("Frame Limiting (F4 switches in-game)")); + gtk_widget_show (label41); + gtk_frame_set_label_widget (GTK_FRAME (frame9), label41); + gtk_label_set_use_markup (GTK_LABEL (label41), TRUE); + + frame23 = gtk_frame_new (NULL); + gtk_widget_show (frame23); + gtk_box_pack_start (GTK_BOX (vbox48), frame23, TRUE, TRUE, 0); + gtk_frame_set_shadow_type (GTK_FRAME (frame23), GTK_SHADOW_NONE); + + alignment18 = gtk_alignment_new (0.5, 0.5, 1, 1); + gtk_widget_show (alignment18); + gtk_container_add (GTK_CONTAINER (frame23), alignment18); + gtk_alignment_set_padding (GTK_ALIGNMENT (alignment18), 0, 0, 12, 0); + + vbox49 = gtk_vbox_new (FALSE, 0); + gtk_widget_show (vbox49); + gtk_container_add (GTK_CONTAINER (alignment18), vbox49); + + hbox29 = gtk_hbox_new (FALSE, 0); + gtk_widget_show (hbox29); + gtk_box_pack_start (GTK_BOX (vbox49), hbox29, TRUE, TRUE, 0); + + label66 = gtk_label_new (_("Custom FPS Limit (0=auto):")); + gtk_widget_show (label66); + gtk_box_pack_start (GTK_BOX (hbox29), label66, TRUE, TRUE, 0); + + CustomFPSLimit_adj = gtk_adjustment_new (0, 0, 9999, 1, 0, 0); + CustomFPSLimit = gtk_spin_button_new (GTK_ADJUSTMENT (CustomFPSLimit_adj), 1, 0); + gtk_widget_show (CustomFPSLimit); + gtk_box_pack_end (GTK_BOX (hbox29), CustomFPSLimit, FALSE, TRUE, 0); + gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (CustomFPSLimit), TRUE); + + hbox30 = gtk_hbox_new (FALSE, 0); + gtk_widget_show (hbox30); + gtk_box_pack_start (GTK_BOX (vbox49), hbox30, TRUE, TRUE, 0); + + label67 = gtk_label_new (_("Skip Frames when slower than[1]:")); + gtk_widget_show (label67); + gtk_box_pack_start (GTK_BOX (hbox30), label67, TRUE, TRUE, 0); + + FrameThreshold_adj = gtk_adjustment_new (0, 0, 9999, 1, 0, 0); + FrameThreshold = gtk_spin_button_new (GTK_ADJUSTMENT (FrameThreshold_adj), 1, 0); + gtk_widget_show (FrameThreshold); + gtk_box_pack_end (GTK_BOX (hbox30), FrameThreshold, FALSE, TRUE, 0); + + hbox31 = gtk_hbox_new (FALSE, 0); + gtk_widget_show (hbox31); + gtk_box_pack_start (GTK_BOX (vbox49), hbox31, TRUE, TRUE, 0); + + label68 = gtk_label_new (_("Consecutive Frames before skipping[2]:")); + gtk_widget_show (label68); + gtk_box_pack_start (GTK_BOX (hbox31), label68, TRUE, TRUE, 0); + + FramesBeforeSkipping_adj = gtk_adjustment_new (0, 0, 9999, 1, 0, 0); + FramesBeforeSkipping = gtk_spin_button_new (GTK_ADJUSTMENT (FramesBeforeSkipping_adj), 1, 0); + gtk_widget_show (FramesBeforeSkipping); + gtk_box_pack_end (GTK_BOX (hbox31), FramesBeforeSkipping, FALSE, TRUE, 0); + + hbox32 = gtk_hbox_new (FALSE, 0); + gtk_widget_show (hbox32); + gtk_box_pack_start (GTK_BOX (vbox49), hbox32, TRUE, TRUE, 0); + + label69 = gtk_label_new (_("Consecutive Frames to skip[3]:")); + gtk_widget_show (label69); + gtk_box_pack_start (GTK_BOX (hbox32), label69, TRUE, TRUE, 0); + + FramesToSkip_adj = gtk_adjustment_new (0, 0, 9999, 1, 0, 0); + FramesToSkip = gtk_spin_button_new (GTK_ADJUSTMENT (FramesToSkip_adj), 1, 0); + gtk_widget_show (FramesToSkip); + gtk_box_pack_end (GTK_BOX (hbox32), FramesToSkip, FALSE, TRUE, 0); + + label63 = gtk_label_new (_("[1] Only skips when slower then this number(0 is auto; 9999 always skips).")); + gtk_widget_show (label63); + gtk_box_pack_start (GTK_BOX (vbox49), label63, FALSE, FALSE, 0); + gtk_label_set_line_wrap (GTK_LABEL (label63), TRUE); + + label64 = gtk_label_new (_("[2] Renders this many frames before skipping (0 is default).")); + gtk_widget_show (label64); + gtk_box_pack_start (GTK_BOX (vbox49), label64, FALSE, FALSE, 0); + gtk_label_set_line_wrap (GTK_LABEL (label64), TRUE); + + label65 = gtk_label_new (_("[3] Skips this many frames before continuing (0 is default).")); + gtk_widget_show (label65); + gtk_box_pack_start (GTK_BOX (vbox49), label65, FALSE, FALSE, 0); + gtk_label_set_line_wrap (GTK_LABEL (label65), TRUE); + + label62 = gtk_label_new (_("Detailed Settings")); + gtk_widget_show (label62); + gtk_frame_set_label_widget (GTK_FRAME (frame23), label62); + gtk_label_set_use_markup (GTK_LABEL (label62), TRUE); + + dialog_action_area5 = GTK_DIALOG (CpuDlg)->action_area; + gtk_widget_show (dialog_action_area5); + gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area5), GTK_BUTTONBOX_END); + + button96 = gtk_button_new_from_stock ("gtk-ok"); + gtk_widget_show (button96); + gtk_dialog_add_action_widget (GTK_DIALOG (CpuDlg), button96, 0); + GTK_WIDGET_SET_FLAGS (button96, GTK_CAN_DEFAULT); + + button97 = gtk_button_new_from_stock ("gtk-cancel"); + gtk_widget_show (button97); + gtk_dialog_add_action_widget (GTK_DIALOG (CpuDlg), button97, 0); + GTK_WIDGET_SET_FLAGS (button97, GTK_CAN_DEFAULT); + + g_signal_connect ((gpointer) button96, "clicked", + G_CALLBACK (OnCpu_Ok), + NULL); + g_signal_connect ((gpointer) button97, "clicked", + G_CALLBACK (On_Dialog_Cancelled), + NULL); + + /* Store pointers to all widgets, for use by lookup_widget(). */ + GLADE_HOOKUP_OBJECT_NO_REF (CpuDlg, CpuDlg, "CpuDlg"); + GLADE_HOOKUP_OBJECT_NO_REF (CpuDlg, dialog_vbox5, "dialog_vbox5"); + GLADE_HOOKUP_OBJECT (CpuDlg, hbox27, "hbox27"); + GLADE_HOOKUP_OBJECT (CpuDlg, vbox47, "vbox47"); + GLADE_HOOKUP_OBJECT (CpuDlg, frame8, "frame8"); + GLADE_HOOKUP_OBJECT (CpuDlg, alignment2, "alignment2"); + GLADE_HOOKUP_OBJECT (CpuDlg, vbox28, "vbox28"); + GLADE_HOOKUP_OBJECT (CpuDlg, GtkLabel_CpuVendor, "GtkLabel_CpuVendor"); + GLADE_HOOKUP_OBJECT (CpuDlg, GtkLabel_Family, "GtkLabel_Family"); + GLADE_HOOKUP_OBJECT (CpuDlg, GtkLabel_CpuSpeed, "GtkLabel_CpuSpeed"); + GLADE_HOOKUP_OBJECT (CpuDlg, GtkLabel_Features, "GtkLabel_Features"); + GLADE_HOOKUP_OBJECT (CpuDlg, label35, "label35"); + GLADE_HOOKUP_OBJECT (CpuDlg, GtkCheckButton_EERec, "GtkCheckButton_EERec"); + GLADE_HOOKUP_OBJECT (CpuDlg, frame6, "frame6"); + GLADE_HOOKUP_OBJECT (CpuDlg, vbox26, "vbox26"); + GLADE_HOOKUP_OBJECT (CpuDlg, GtkCheckButton_VU0rec, "GtkCheckButton_VU0rec"); + GLADE_HOOKUP_OBJECT (CpuDlg, GtkCheckButton_VU1rec, "GtkCheckButton_VU1rec"); + GLADE_HOOKUP_OBJECT (CpuDlg, label32, "label32"); + GLADE_HOOKUP_OBJECT (CpuDlg, GtkCheckButton_MTGS, "GtkCheckButton_MTGS"); + GLADE_HOOKUP_OBJECT (CpuDlg, vbox48, "vbox48"); + GLADE_HOOKUP_OBJECT (CpuDlg, frame9, "frame9"); + GLADE_HOOKUP_OBJECT (CpuDlg, alignment4, "alignment4"); + GLADE_HOOKUP_OBJECT (CpuDlg, vbox29, "vbox29"); + GLADE_HOOKUP_OBJECT (CpuDlg, GtkRadioButton_LimitNormal, "GtkRadioButton_LimitNormal"); + GLADE_HOOKUP_OBJECT (CpuDlg, GtkRadioButton_LimitLimit, "GtkRadioButton_LimitLimit"); + GLADE_HOOKUP_OBJECT (CpuDlg, GtkRadioButton_LimitFS, "GtkRadioButton_LimitFS"); + GLADE_HOOKUP_OBJECT (CpuDlg, GtkRadioButton_VUSkip, "GtkRadioButton_VUSkip"); + GLADE_HOOKUP_OBJECT (CpuDlg, label41, "label41"); + GLADE_HOOKUP_OBJECT (CpuDlg, frame23, "frame23"); + GLADE_HOOKUP_OBJECT (CpuDlg, alignment18, "alignment18"); + GLADE_HOOKUP_OBJECT (CpuDlg, vbox49, "vbox49"); + GLADE_HOOKUP_OBJECT (CpuDlg, hbox29, "hbox29"); + GLADE_HOOKUP_OBJECT (CpuDlg, label66, "label66"); + GLADE_HOOKUP_OBJECT (CpuDlg, CustomFPSLimit, "CustomFPSLimit"); + GLADE_HOOKUP_OBJECT (CpuDlg, hbox30, "hbox30"); + GLADE_HOOKUP_OBJECT (CpuDlg, label67, "label67"); + GLADE_HOOKUP_OBJECT (CpuDlg, FrameThreshold, "FrameThreshold"); + GLADE_HOOKUP_OBJECT (CpuDlg, hbox31, "hbox31"); + GLADE_HOOKUP_OBJECT (CpuDlg, label68, "label68"); + GLADE_HOOKUP_OBJECT (CpuDlg, FramesBeforeSkipping, "FramesBeforeSkipping"); + GLADE_HOOKUP_OBJECT (CpuDlg, hbox32, "hbox32"); + GLADE_HOOKUP_OBJECT (CpuDlg, label69, "label69"); + GLADE_HOOKUP_OBJECT (CpuDlg, FramesToSkip, "FramesToSkip"); + GLADE_HOOKUP_OBJECT (CpuDlg, label63, "label63"); + GLADE_HOOKUP_OBJECT (CpuDlg, label64, "label64"); + GLADE_HOOKUP_OBJECT (CpuDlg, label65, "label65"); + GLADE_HOOKUP_OBJECT (CpuDlg, label62, "label62"); + GLADE_HOOKUP_OBJECT_NO_REF (CpuDlg, dialog_action_area5, "dialog_action_area5"); + GLADE_HOOKUP_OBJECT (CpuDlg, button96, "button96"); + GLADE_HOOKUP_OBJECT (CpuDlg, button97, "button97"); + + return CpuDlg; +} + +GtkWidget* +create_Logging (void) +{ + GtkWidget *Logging; + GtkWidget *dialog_vbox6; + GtkWidget *scrolledwindow4; + GtkWidget *viewport2; + GtkWidget *vbox55; + GtkWidget *frame33; + GtkWidget *alignment28; + GtkWidget *vbox56; + GtkWidget *Log0; + GtkWidget *Log1; + GtkWidget *Log2; + GtkWidget *Log3; + GtkWidget *Log4; + GtkWidget *Log5; + GtkWidget *Log6; + GtkWidget *Log7; + GtkWidget *Log8; + GtkWidget *Log9; + GtkWidget *Log10; + GtkWidget *Log11; + GtkWidget *Log12; + GtkWidget *Log13; + GtkWidget *Log14; + GtkWidget *Log15; + GtkWidget *Log16; + GtkWidget *label85; + GtkWidget *frame34; + GtkWidget *alignment29; + GtkWidget *vbox57; + GtkWidget *Log20; + GtkWidget *Log21; + GtkWidget *Log22; + GtkWidget *Log23; + GtkWidget *Log24; + GtkWidget *Log25; + GtkWidget *Log26; + GtkWidget *Log27; + GtkWidget *Log28; + GtkWidget *label86; + GtkWidget *frame35; + GtkWidget *alignment30; + GtkWidget *vbox58; + GtkWidget *Log31; + GtkWidget *Log30; + GtkWidget *label87; + GtkWidget *dialog_action_area6; + GtkWidget *Logging_Ok; + GtkWidget *Logging2Cancel; + + Logging = gtk_dialog_new (); + gtk_window_set_title (GTK_WINDOW (Logging), _("Logging")); + gtk_window_set_default_size (GTK_WINDOW (Logging), 200, 450); + gtk_window_set_type_hint (GTK_WINDOW (Logging), GDK_WINDOW_TYPE_HINT_DIALOG); + + dialog_vbox6 = GTK_DIALOG (Logging)->vbox; + gtk_widget_show (dialog_vbox6); + + scrolledwindow4 = gtk_scrolled_window_new (NULL, NULL); + gtk_widget_show (scrolledwindow4); + gtk_box_pack_start (GTK_BOX (dialog_vbox6), scrolledwindow4, TRUE, TRUE, 0); + gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow4), GTK_SHADOW_IN); + + viewport2 = gtk_viewport_new (NULL, NULL); + gtk_widget_show (viewport2); + gtk_container_add (GTK_CONTAINER (scrolledwindow4), viewport2); + + vbox55 = gtk_vbox_new (FALSE, 0); + gtk_widget_show (vbox55); + gtk_container_add (GTK_CONTAINER (viewport2), vbox55); + + frame33 = gtk_frame_new (NULL); + gtk_widget_show (frame33); + gtk_box_pack_start (GTK_BOX (vbox55), frame33, TRUE, TRUE, 0); + gtk_frame_set_shadow_type (GTK_FRAME (frame33), GTK_SHADOW_NONE); + + alignment28 = gtk_alignment_new (0.5, 0.5, 1, 1); + gtk_widget_show (alignment28); + gtk_container_add (GTK_CONTAINER (frame33), alignment28); + gtk_alignment_set_padding (GTK_ALIGNMENT (alignment28), 0, 0, 12, 0); + + vbox56 = gtk_vbox_new (FALSE, 0); + gtk_widget_show (vbox56); + gtk_container_add (GTK_CONTAINER (alignment28), vbox56); + + Log0 = gtk_check_button_new_with_mnemonic (_("Cpu Log")); + gtk_widget_show (Log0); + gtk_box_pack_start (GTK_BOX (vbox56), Log0, FALSE, FALSE, 0); + + Log1 = gtk_check_button_new_with_mnemonic (_("Mem Log")); + gtk_widget_show (Log1); + gtk_box_pack_start (GTK_BOX (vbox56), Log1, FALSE, FALSE, 0); + + Log2 = gtk_check_button_new_with_mnemonic (_("Hw Log")); + gtk_widget_show (Log2); + gtk_box_pack_start (GTK_BOX (vbox56), Log2, FALSE, FALSE, 0); + + Log3 = gtk_check_button_new_with_mnemonic (_("Dma Log")); + gtk_widget_show (Log3); + gtk_box_pack_start (GTK_BOX (vbox56), Log3, FALSE, FALSE, 0); + + Log4 = gtk_check_button_new_with_mnemonic (_("Bios Log")); + gtk_widget_show (Log4); + gtk_box_pack_start (GTK_BOX (vbox56), Log4, FALSE, FALSE, 0); + + Log5 = gtk_check_button_new_with_mnemonic (_("Elf Log")); + gtk_widget_show (Log5); + gtk_box_pack_start (GTK_BOX (vbox56), Log5, FALSE, FALSE, 0); + + Log6 = gtk_check_button_new_with_mnemonic (_("Fpu Log")); + gtk_widget_show (Log6); + gtk_box_pack_start (GTK_BOX (vbox56), Log6, FALSE, FALSE, 0); + + Log7 = gtk_check_button_new_with_mnemonic (_("MMI Log")); + gtk_widget_show (Log7); + gtk_box_pack_start (GTK_BOX (vbox56), Log7, FALSE, FALSE, 0); + + Log8 = gtk_check_button_new_with_mnemonic (_("VU0 Log")); + gtk_widget_show (Log8); + gtk_box_pack_start (GTK_BOX (vbox56), Log8, FALSE, FALSE, 0); + + Log9 = gtk_check_button_new_with_mnemonic (_("Cop0 Log")); + gtk_widget_show (Log9); + gtk_box_pack_start (GTK_BOX (vbox56), Log9, FALSE, FALSE, 0); + + Log10 = gtk_check_button_new_with_mnemonic (_("Vif Log")); + gtk_widget_show (Log10); + gtk_box_pack_start (GTK_BOX (vbox56), Log10, FALSE, FALSE, 0); + + Log11 = gtk_check_button_new_with_mnemonic (_("SPR Log")); + gtk_widget_show (Log11); + gtk_box_pack_start (GTK_BOX (vbox56), Log11, FALSE, FALSE, 0); + + Log12 = gtk_check_button_new_with_mnemonic (_("GIF Log")); + gtk_widget_show (Log12); + gtk_box_pack_start (GTK_BOX (vbox56), Log12, FALSE, FALSE, 0); + + Log13 = gtk_check_button_new_with_mnemonic (_("Sif Log")); + gtk_widget_show (Log13); + gtk_box_pack_start (GTK_BOX (vbox56), Log13, FALSE, FALSE, 0); + + Log14 = gtk_check_button_new_with_mnemonic (_("IPU Log")); + gtk_widget_show (Log14); + gtk_box_pack_start (GTK_BOX (vbox56), Log14, FALSE, FALSE, 0); + + Log15 = gtk_check_button_new_with_mnemonic (_("VU Micro Log")); + gtk_widget_show (Log15); + gtk_box_pack_start (GTK_BOX (vbox56), Log15, FALSE, FALSE, 0); + + Log16 = gtk_check_button_new_with_mnemonic (_("RPC Log")); + gtk_widget_show (Log16); + gtk_box_pack_start (GTK_BOX (vbox56), Log16, FALSE, FALSE, 0); + + label85 = gtk_label_new (_("EE Logs")); + gtk_widget_show (label85); + gtk_frame_set_label_widget (GTK_FRAME (frame33), label85); + gtk_label_set_use_markup (GTK_LABEL (label85), TRUE); + + frame34 = gtk_frame_new (NULL); + gtk_widget_show (frame34); + gtk_box_pack_start (GTK_BOX (vbox55), frame34, TRUE, TRUE, 0); + gtk_frame_set_shadow_type (GTK_FRAME (frame34), GTK_SHADOW_NONE); + + alignment29 = gtk_alignment_new (0.5, 0.5, 1, 1); + gtk_widget_show (alignment29); + gtk_container_add (GTK_CONTAINER (frame34), alignment29); + gtk_alignment_set_padding (GTK_ALIGNMENT (alignment29), 0, 0, 12, 0); + + vbox57 = gtk_vbox_new (FALSE, 0); + gtk_widget_show (vbox57); + gtk_container_add (GTK_CONTAINER (alignment29), vbox57); + + Log20 = gtk_check_button_new_with_mnemonic (_("IOP Log")); + gtk_widget_show (Log20); + gtk_box_pack_start (GTK_BOX (vbox57), Log20, FALSE, FALSE, 0); + + Log21 = gtk_check_button_new_with_mnemonic (_("Mem Log")); + gtk_widget_show (Log21); + gtk_box_pack_start (GTK_BOX (vbox57), Log21, FALSE, FALSE, 0); + + Log22 = gtk_check_button_new_with_mnemonic (_("Hw Log")); + gtk_widget_show (Log22); + gtk_box_pack_start (GTK_BOX (vbox57), Log22, FALSE, FALSE, 0); + + Log23 = gtk_check_button_new_with_mnemonic (_("Bios Log")); + gtk_widget_show (Log23); + gtk_box_pack_start (GTK_BOX (vbox57), Log23, FALSE, FALSE, 0); + + Log24 = gtk_check_button_new_with_mnemonic (_("Dma Log")); + gtk_widget_show (Log24); + gtk_box_pack_start (GTK_BOX (vbox57), Log24, FALSE, FALSE, 0); + + Log25 = gtk_check_button_new_with_mnemonic (_("Pad Log")); + gtk_widget_show (Log25); + gtk_box_pack_start (GTK_BOX (vbox57), Log25, FALSE, FALSE, 0); + + Log26 = gtk_check_button_new_with_mnemonic (_("Gte Log")); + gtk_widget_show (Log26); + gtk_box_pack_start (GTK_BOX (vbox57), Log26, FALSE, FALSE, 0); + + Log27 = gtk_check_button_new_with_mnemonic (_("Cdr Log")); + gtk_widget_show (Log27); + gtk_box_pack_start (GTK_BOX (vbox57), Log27, FALSE, FALSE, 0); + + Log28 = gtk_check_button_new_with_mnemonic (_("GPU Log")); + gtk_widget_show (Log28); + gtk_box_pack_start (GTK_BOX (vbox57), Log28, FALSE, FALSE, 0); + + label86 = gtk_label_new (_("IOP Logs")); + gtk_widget_show (label86); + gtk_frame_set_label_widget (GTK_FRAME (frame34), label86); + gtk_label_set_use_markup (GTK_LABEL (label86), TRUE); + + frame35 = gtk_frame_new (NULL); + gtk_widget_show (frame35); + gtk_box_pack_start (GTK_BOX (vbox55), frame35, TRUE, TRUE, 0); + gtk_frame_set_shadow_type (GTK_FRAME (frame35), GTK_SHADOW_NONE); + + alignment30 = gtk_alignment_new (0.5, 0.5, 1, 1); + gtk_widget_show (alignment30); + gtk_container_add (GTK_CONTAINER (frame35), alignment30); + gtk_alignment_set_padding (GTK_ALIGNMENT (alignment30), 0, 0, 12, 0); + + vbox58 = gtk_vbox_new (FALSE, 0); + gtk_widget_show (vbox58); + gtk_container_add (GTK_CONTAINER (alignment30), vbox58); + + Log31 = gtk_check_button_new_with_mnemonic (_("Log to STDOUT")); + gtk_widget_show (Log31); + gtk_box_pack_start (GTK_BOX (vbox58), Log31, FALSE, FALSE, 0); + + Log30 = gtk_check_button_new_with_mnemonic (_("SYMs Log")); + gtk_widget_show (Log30); + gtk_box_pack_start (GTK_BOX (vbox58), Log30, FALSE, FALSE, 0); + + label87 = gtk_label_new (_("Misc")); + gtk_widget_show (label87); + gtk_frame_set_label_widget (GTK_FRAME (frame35), label87); + gtk_label_set_use_markup (GTK_LABEL (label87), TRUE); + + dialog_action_area6 = GTK_DIALOG (Logging)->action_area; + gtk_widget_show (dialog_action_area6); + gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area6), GTK_BUTTONBOX_END); + + Logging_Ok = gtk_button_new_from_stock ("gtk-ok"); + gtk_widget_show (Logging_Ok); + gtk_dialog_add_action_widget (GTK_DIALOG (Logging), Logging_Ok, GTK_RESPONSE_OK); + GTK_WIDGET_SET_FLAGS (Logging_Ok, GTK_CAN_DEFAULT); + + Logging2Cancel = gtk_button_new_from_stock ("gtk-cancel"); + gtk_widget_show (Logging2Cancel); + gtk_dialog_add_action_widget (GTK_DIALOG (Logging), Logging2Cancel, GTK_RESPONSE_CANCEL); + GTK_WIDGET_SET_FLAGS (Logging2Cancel, GTK_CAN_DEFAULT); + + g_signal_connect ((gpointer) Logging_Ok, "clicked", + G_CALLBACK (OnLogging_Ok), + NULL); + g_signal_connect ((gpointer) Logging2Cancel, "clicked", + G_CALLBACK (On_Dialog_Cancelled), + NULL); + + /* Store pointers to all widgets, for use by lookup_widget(). */ + GLADE_HOOKUP_OBJECT_NO_REF (Logging, Logging, "Logging"); + GLADE_HOOKUP_OBJECT_NO_REF (Logging, dialog_vbox6, "dialog_vbox6"); + GLADE_HOOKUP_OBJECT (Logging, scrolledwindow4, "scrolledwindow4"); + GLADE_HOOKUP_OBJECT (Logging, viewport2, "viewport2"); + GLADE_HOOKUP_OBJECT (Logging, vbox55, "vbox55"); + GLADE_HOOKUP_OBJECT (Logging, frame33, "frame33"); + GLADE_HOOKUP_OBJECT (Logging, alignment28, "alignment28"); + GLADE_HOOKUP_OBJECT (Logging, vbox56, "vbox56"); + GLADE_HOOKUP_OBJECT (Logging, Log0, "Log0"); + GLADE_HOOKUP_OBJECT (Logging, Log1, "Log1"); + GLADE_HOOKUP_OBJECT (Logging, Log2, "Log2"); + GLADE_HOOKUP_OBJECT (Logging, Log3, "Log3"); + GLADE_HOOKUP_OBJECT (Logging, Log4, "Log4"); + GLADE_HOOKUP_OBJECT (Logging, Log5, "Log5"); + GLADE_HOOKUP_OBJECT (Logging, Log6, "Log6"); + GLADE_HOOKUP_OBJECT (Logging, Log7, "Log7"); + GLADE_HOOKUP_OBJECT (Logging, Log8, "Log8"); + GLADE_HOOKUP_OBJECT (Logging, Log9, "Log9"); + GLADE_HOOKUP_OBJECT (Logging, Log10, "Log10"); + GLADE_HOOKUP_OBJECT (Logging, Log11, "Log11"); + GLADE_HOOKUP_OBJECT (Logging, Log12, "Log12"); + GLADE_HOOKUP_OBJECT (Logging, Log13, "Log13"); + GLADE_HOOKUP_OBJECT (Logging, Log14, "Log14"); + GLADE_HOOKUP_OBJECT (Logging, Log15, "Log15"); + GLADE_HOOKUP_OBJECT (Logging, Log16, "Log16"); + GLADE_HOOKUP_OBJECT (Logging, label85, "label85"); + GLADE_HOOKUP_OBJECT (Logging, frame34, "frame34"); + GLADE_HOOKUP_OBJECT (Logging, alignment29, "alignment29"); + GLADE_HOOKUP_OBJECT (Logging, vbox57, "vbox57"); + GLADE_HOOKUP_OBJECT (Logging, Log20, "Log20"); + GLADE_HOOKUP_OBJECT (Logging, Log21, "Log21"); + GLADE_HOOKUP_OBJECT (Logging, Log22, "Log22"); + GLADE_HOOKUP_OBJECT (Logging, Log23, "Log23"); + GLADE_HOOKUP_OBJECT (Logging, Log24, "Log24"); + GLADE_HOOKUP_OBJECT (Logging, Log25, "Log25"); + GLADE_HOOKUP_OBJECT (Logging, Log26, "Log26"); + GLADE_HOOKUP_OBJECT (Logging, Log27, "Log27"); + GLADE_HOOKUP_OBJECT (Logging, Log28, "Log28"); + GLADE_HOOKUP_OBJECT (Logging, label86, "label86"); + GLADE_HOOKUP_OBJECT (Logging, frame35, "frame35"); + GLADE_HOOKUP_OBJECT (Logging, alignment30, "alignment30"); + GLADE_HOOKUP_OBJECT (Logging, vbox58, "vbox58"); + GLADE_HOOKUP_OBJECT (Logging, Log31, "Log31"); + GLADE_HOOKUP_OBJECT (Logging, Log30, "Log30"); + GLADE_HOOKUP_OBJECT (Logging, label87, "label87"); + GLADE_HOOKUP_OBJECT_NO_REF (Logging, dialog_action_area6, "dialog_action_area6"); + GLADE_HOOKUP_OBJECT (Logging, Logging_Ok, "Logging_Ok"); + GLADE_HOOKUP_OBJECT (Logging, Logging2Cancel, "Logging2Cancel"); + + return Logging; +} + diff --git a/pcsx2/Linux/interface.h b/pcsx2/Linux/interface.h index 823fdf6acd..744699086e 100644 --- a/pcsx2/Linux/interface.h +++ b/pcsx2/Linux/interface.h @@ -1,22 +1,22 @@ -/* - * DO NOT EDIT THIS FILE - it is generated by Glade. - */ - -GtkWidget* create_AdvDlg (void); -GtkWidget* create_SpeedHacksDlg (void); -GtkWidget* create_GameFixDlg (void); -GtkWidget* create_MemWrite32 (void); -GtkWidget* create_CmdLine (void); -GtkWidget* create_DumpRDlg (void); -GtkWidget* create_DumpCDlg (void); -GtkWidget* create_SetBPCDlg (void); -GtkWidget* create_SetBPADlg (void); -GtkWidget* create_SetPCDlg (void); -GtkWidget* create_DebugWnd (void); -GtkWidget* create_ConfDlg (void); -GtkWidget* create_AboutDlg (void); -GtkWidget* create_MainWindow (void); -GtkWidget* create_PatchBrowserWindow (void); -GtkWidget* create_PatchFinderWindow (void); -GtkWidget* create_CpuDlg (void); -GtkWidget* create_Logging (void); +/* + * DO NOT EDIT THIS FILE - it is generated by Glade. + */ + +GtkWidget* create_AdvDlg (void); +GtkWidget* create_SpeedHacksDlg (void); +GtkWidget* create_GameFixDlg (void); +GtkWidget* create_MemWrite32 (void); +GtkWidget* create_CmdLine (void); +GtkWidget* create_DumpRDlg (void); +GtkWidget* create_DumpCDlg (void); +GtkWidget* create_SetBPCDlg (void); +GtkWidget* create_SetBPADlg (void); +GtkWidget* create_SetPCDlg (void); +GtkWidget* create_DebugWnd (void); +GtkWidget* create_ConfDlg (void); +GtkWidget* create_AboutDlg (void); +GtkWidget* create_MainWindow (void); +GtkWidget* create_PatchBrowserWindow (void); +GtkWidget* create_PatchFinderWindow (void); +GtkWidget* create_CpuDlg (void); +GtkWidget* create_Logging (void); diff --git a/pcsx2/Linux/pcsx2.glade b/pcsx2/Linux/pcsx2.glade index e34eb5e762..37d2c37063 100644 --- a/pcsx2/Linux/pcsx2.glade +++ b/pcsx2/Linux/pcsx2.glade @@ -1,8021 +1,8021 @@ - - - - - - - True - Advanced Options - GTK_WINDOW_TOPLEVEL - GTK_WIN_POS_NONE - False - True - False - True - False - False - GDK_WINDOW_TYPE_HINT_DIALOG - GDK_GRAVITY_NORTH_WEST - True - False - True - - - - True - False - 0 - - - - True - GTK_BUTTONBOX_SPREAD - - - - True - True - True - Defaults - True - GTK_RELIEF_NORMAL - True - 0 - - - - - - - True - True - True - gtk-ok - True - GTK_RELIEF_NORMAL - True - -5 - - - - - - - True - True - True - gtk-cancel - True - GTK_RELIEF_NORMAL - True - -6 - - - - - - 0 - False - True - GTK_PACK_END - - - - - - True - False - 0 - - - - True - False - 0 - - - - True - 0 - 0.5 - GTK_SHADOW_NONE - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 0 - 12 - 0 - - - - True - False - 0 - - - - True - 0 - 0.5 - GTK_SHADOW_NONE - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 0 - 12 - 0 - - - - True - False - 0 - - - - True - True - Nearest - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - Negative - True - GTK_RELIEF_NORMAL - True - False - False - True - radio_EE_Round_Near - - - 0 - False - False - - - - - - True - True - Positive - True - GTK_RELIEF_NORMAL - True - False - False - True - radio_EE_Round_Near - - - 0 - False - False - - - - - - True - True - Chop/Zero - True - GTK_RELIEF_NORMAL - True - False - False - True - radio_EE_Round_Near - - - 0 - False - False - - - - - - - - - - True - <b>Round Mode</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - label_item - - - - - 0 - True - True - - - - - - True - 0 - 0.5 - GTK_SHADOW_NONE - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 0 - 12 - 0 - - - - True - False - 0 - - - - True - True - None - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - Normal - True - GTK_RELIEF_NORMAL - True - False - False - True - radio_EE_Clamp_None - - - 0 - False - False - - - - - - True - True - Extra + Preserve Sign - True - GTK_RELIEF_NORMAL - True - False - False - True - radio_EE_Clamp_None - - - 0 - False - False - - - - - - - - - - True - <b>Clamp Mode</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - label_item - - - - - 0 - True - True - - - - - - True - False - 0 - - - - True - True - Flush to Zero - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - Denormals are Zero - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - 0 - True - True - - - - - - - - - - True - <b>EE Recs Options</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - label_item - - - - - 0 - True - True - - - - - - True - 0 - 0.5 - GTK_SHADOW_NONE - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 0 - 12 - 0 - - - - True - False - 0 - - - - True - 0 - 0.5 - GTK_SHADOW_NONE - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 0 - 12 - 0 - - - - True - False - 0 - - - - True - True - Nearest - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - Negative - True - GTK_RELIEF_NORMAL - True - False - False - True - radio_VU_Round_Near - - - 0 - False - False - - - - - - True - True - Positive - True - GTK_RELIEF_NORMAL - True - False - False - True - radio_VU_Round_Near - - - 0 - False - False - - - - - - True - True - Zero - True - GTK_RELIEF_NORMAL - True - False - False - True - radio_VU_Round_Near - - - 0 - False - False - - - - - - - - - - True - <b>Round Mode</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - label_item - - - - - 0 - True - True - - - - - - True - 0 - 0.5 - GTK_SHADOW_NONE - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 0 - 12 - 0 - - - - True - False - 0 - - - - True - True - None - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - Normal - True - GTK_RELIEF_NORMAL - True - False - False - True - radio_VU_Clamp_None - - - 0 - False - False - - - - - - True - True - Extra - True - GTK_RELIEF_NORMAL - True - False - False - True - radio_VU_Clamp_None - - - 0 - False - False - - - - - - True - True - Extra + Preserve Sign - True - GTK_RELIEF_NORMAL - True - False - False - True - radio_VU_Clamp_None - - - 0 - False - False - - - - - - - - - - True - <b>Clamp Mode</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - label_item - - - - - 0 - True - True - - - - - - True - 2 - 2 - False - 0 - 0 - - - - True - True - Flush to Zero - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - 1 - 0 - 1 - fill - - - - - - - True - True - Denormals are Zero - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 1 - 2 - 0 - 1 - fill - - - - - - - True - False - True - Set O & U Flags - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - 1 - 1 - 2 - fill - - - - - - - True - False - True - Software Emulate DaZ - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 1 - 2 - 1 - 2 - fill - - - - - - 0 - True - True - - - - - - - - - - True - <b>VU Recs Options</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - label_item - - - - - 0 - True - True - - - - - 0 - True - True - - - - - - True - False - 0 - - - - True - 0 - 0.5 - GTK_SHADOW_NONE - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 0 - 12 - 0 - - - - True - These options specify how your CPU rounds floating point values. - -Try changing the roundmode for EE if your game hangs, it could make it work again. - False - False - GTK_JUSTIFY_LEFT - True - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - - - - - - True - <b>Round Mode</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - label_item - - - - - 0 - False - False - - - - - - True - 0 - 0.5 - GTK_SHADOW_NONE - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 0 - 12 - 0 - - - - True - These options specify how PCSX2's recompilers will clamp Infinities and NaN (Not a Number) values in the opcode instructions. - -None - No clamping. (Fastest Mode) -Normal - Clamps the result. -Extra - Clamps the operands, the result, and anywhere in between. -Extra + Preserve Sign - Same as ""Extra"", except preserves NaN's sign when clamping the operands. (Slowest Mode) - False - False - GTK_JUSTIFY_LEFT - True - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - - - - - - True - <b>Clamp Mode</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - label_item - - - - - 0 - False - False - - - - - - True - 0 - 0.5 - GTK_SHADOW_NONE - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 0 - 12 - 0 - - - - True - Flush to Zero - Your CPU makes Floating Point Underflows become Zero, so it does less work. (Speed Up) - -Denormals are Zero - Your CPU makes Floating Point Denormals become Zero, so it does less work. (Speed Up) - False - False - GTK_JUSTIFY_LEFT - True - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - - - - - - True - <b>Other Options</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - label_item - - - - - 0 - False - False - - - - - 0 - True - True - - - - - 0 - True - True - - - - - - - - True - PCSX2 Speed Hacks - GTK_WINDOW_TOPLEVEL - GTK_WIN_POS_NONE - False - True - False - True - False - False - GDK_WINDOW_TYPE_HINT_DIALOG - GDK_GRAVITY_NORTH_WEST - True - False - True - - - - True - False - 0 - - - - True - GTK_BUTTONBOX_END - - - - True - True - True - gtk-ok - True - GTK_RELIEF_NORMAL - True - -5 - - - - - - - True - True - True - gtk-cancel - True - GTK_RELIEF_NORMAL - True - -6 - - - - - - 0 - False - True - GTK_PACK_END - - - - - - True - False - 0 - - - - True - These hacks will affect the speed of PCSX2 but possibly compromise compatibility. -If you have problems, Disable all of these and try again. - False - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - True - False - 0 - - - - True - 0 - 0.5 - GTK_SHADOW_ETCHED_IN - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 0 - 12 - 0 - - - - True - False - 2 - - - - True - True - Default Cycle Rate - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - Most compatable option - recommended for everyone with high-end machines. - False - False - GTK_JUSTIFY_LEFT - True - False - 0.289999991655 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - True - True - Use x1.5 Cycle Rate - True - GTK_RELIEF_NORMAL - True - False - False - True - check_default_cycle_rate - - - 0 - False - False - - - - - - True - Moderate speedup, and works well with most games. - False - False - GTK_JUSTIFY_LEFT - True - False - 0.289999991655 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - True - True - Use x2 Cycle Rate - True - GTK_RELIEF_NORMAL - True - False - False - True - check_default_cycle_rate - - - 0 - False - False - - - - - - True - Big speedup! Works well with many games. - False - False - GTK_JUSTIFY_LEFT - True - False - 0.360000014305 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - True - True - Use x3 Cycle Rate - True - GTK_RELIEF_NORMAL - True - False - False - True - check_default_cycle_rate - - - 0 - False - False - - - - - - True - Big speedup, but causes flickering or missing geometry on many games. - False - False - GTK_JUSTIFY_LEFT - True - False - 0.239999994636 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - True - - - 0 - False - False - - - - - - True - Important: X2 & X3 sync hacks *will* cause choppy/skippy audio on many FMV movies. - False - False - GTK_JUSTIFY_LEFT - True - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - - - - - True - <b>frame37</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - label_item - - - - - 0 - True - True - - - - - - True - False - 0 - - - - True - True - Enable IOP x2 Cycle Rate - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - Small speedup, and works well with most games, - False - False - GTK_JUSTIFY_LEFT - True - False - 0.5 - 0.5 - 0 - 0 - check_iop_cycle_rate - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - True - True - WaitCycles Sync Hack - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - Small speedup. Works well with most games, but it may cause certain games to crash, or freeze up during bootup or stage changes. - False - False - GTK_JUSTIFY_LEFT - True - False - 0.5 - 0.5 - 0 - 0 - check_wait_cycles_sync_hack - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - 0 - False - False - - - - - 0 - True - True - - - - - - True - 0 - 0.5 - GTK_SHADOW_ETCHED_IN - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 0 - 12 - 0 - - - - True - True - Escape Hack - Use Esc key to fully exit PCSX2. - True - GTK_RELIEF_NORMAL - True - False - False - True - - - - - - - - True - <b>Miscellaneous</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - label_item - - - - - 0 - False - False - - - - - 0 - False - False - - - - - - - - True - Game Special Fixes - GTK_WINDOW_TOPLEVEL - GTK_WIN_POS_NONE - False - True - False - True - False - False - GDK_WINDOW_TYPE_HINT_DIALOG - GDK_GRAVITY_NORTH_WEST - True - False - True - - - - True - False - 0 - - - - True - GTK_BUTTONBOX_END - - - - True - True - True - gtk-ok - True - GTK_RELIEF_NORMAL - True - -5 - - - - - - - True - True - True - gtk-cancel - True - GTK_RELIEF_NORMAL - True - -6 - - - - - - 0 - False - True - GTK_PACK_END - - - - - - True - 0 - 0.5 - GTK_SHADOW_NONE - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 0 - 12 - 0 - - - - True - False - 0 - - - - True - True - FPU Clamp Hack - Special fix for Tekken 5 and maybe other games. - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - VU Branch Hack - Special fix for Magna Carta; Breaks Crash Bandicoot! - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - VU Add / Sub Hack - Special fix for Tri-Ace games! - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - - - - - True - <b>Some games need special settings. -Configure them here.</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - label_item - - - - - 0 - True - True - - - - - - - - 5 - True - memWrite32 - GTK_WINDOW_TOPLEVEL - GTK_WIN_POS_NONE - False - True - False - True - False - False - GDK_WINDOW_TYPE_HINT_NORMAL - GDK_GRAVITY_NORTH_WEST - True - False - - - - 5 - True - False - 5 - - - - 5 - True - False - 2 - - - - True - Address - False - False - GTK_JUSTIFY_CENTER - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - True - 0x - False - False - GTK_JUSTIFY_CENTER - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - True - True - True - True - 0 - - True - • - False - - - 0 - True - True - - - - - 0 - False - False - - - - - - 5 - True - False - 2 - - - - True - Data - False - False - GTK_JUSTIFY_CENTER - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - True - 0x - False - False - GTK_JUSTIFY_CENTER - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - True - True - True - True - 0 - - True - • - False - - - 0 - True - True - - - - - 0 - True - True - - - - - - True - GTK_BUTTONBOX_DEFAULT_STYLE - 30 - - - - True - True - True - gtk-ok - True - GTK_RELIEF_NORMAL - True - - - - - - - True - True - True - gtk-cancel - True - GTK_RELIEF_NORMAL - True - - - - - - 0 - True - True - - - - - - - - 5 - True - Program arguments - GTK_WINDOW_TOPLEVEL - GTK_WIN_POS_NONE - True - True - False - True - False - False - GDK_WINDOW_TYPE_HINT_NORMAL - GDK_GRAVITY_NORTH_WEST - True - False - - - - 5 - True - False - 5 - - - - True - Fill in the command line arguments for the opened program: - False - False - GTK_JUSTIFY_CENTER - False - False - 0.10000000149 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - 5 - True - False - 2 - - - - True - If you don't know what to write leave it blank - True - True - True - 0 - - True - • - False - - - 0 - True - True - - - - - 0 - False - False - - - - - - True - Note: this is intended for developers only. - False - False - GTK_JUSTIFY_CENTER - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - True - GTK_BUTTONBOX_DEFAULT_STYLE - 30 - - - - True - True - True - gtk-ok - True - GTK_RELIEF_NORMAL - True - - - - - - - True - True - True - gtk-cancel - True - GTK_RELIEF_NORMAL - True - - - - - - 0 - True - True - - - - - - - - 5 - True - Raw Dump - GTK_WINDOW_TOPLEVEL - GTK_WIN_POS_NONE - False - True - False - True - False - False - GDK_WINDOW_TYPE_HINT_NORMAL - GDK_GRAVITY_NORTH_WEST - True - False - - - - 5 - True - False - 5 - - - - True - Set Dump Addr (in Hex): - False - False - GTK_JUSTIFY_CENTER - False - False - 0.10000000149 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - 5 - True - False - 2 - - - - True - From 0x - False - False - GTK_JUSTIFY_CENTER - True - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - True - True - True - True - 0 - - True - • - False - - - 0 - True - True - - - - - 0 - False - False - - - - - - 5 - True - False - 2 - - - - True - To 0x - False - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - True - True - True - True - 0 - - True - • - False - - - 0 - True - True - - - - - 0 - True - True - - - - - - True - Dump File = "dump.txt" - False - False - GTK_JUSTIFY_LEFT - False - False - 0.10000000149 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - True - GTK_BUTTONBOX_DEFAULT_STYLE - 30 - - - - True - True - True - gtk-ok - True - GTK_RELIEF_NORMAL - True - - - - - - - True - True - True - gtk-cancel - True - GTK_RELIEF_NORMAL - True - - - - - - 0 - True - True - - - - - - - - 5 - True - Dump code - GTK_WINDOW_TOPLEVEL - GTK_WIN_POS_NONE - False - True - False - True - False - False - GDK_WINDOW_TYPE_HINT_NORMAL - GDK_GRAVITY_NORTH_WEST - True - False - - - - 5 - True - False - 5 - - - - True - Set Dump Addr (in Hex): - False - False - GTK_JUSTIFY_LEFT - False - False - 0.10000000149 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - 5 - True - False - 2 - - - - True - From 0x - False - False - GTK_JUSTIFY_CENTER - True - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - True - True - True - True - 0 - - True - • - False - - - 0 - True - True - - - - - 0 - False - False - - - - - - 5 - True - False - 2 - - - - True - To 0x - False - False - GTK_JUSTIFY_CENTER - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - True - True - True - True - 0 - - True - • - False - - - 0 - True - True - - - - - 0 - True - True - - - - - - True - Dump File = "dump.txt" - False - False - GTK_JUSTIFY_LEFT - False - False - 0.10000000149 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - True - GTK_BUTTONBOX_DEFAULT_STYLE - 30 - - - - True - True - True - gtk-ok - True - GTK_RELIEF_NORMAL - True - - - - - - - True - True - True - gtk-cancel - True - GTK_RELIEF_NORMAL - True - - - - - - 0 - True - True - - - - - - - - 5 - True - SetBreakPoint Addr - GTK_WINDOW_TOPLEVEL - GTK_WIN_POS_NONE - False - True - False - True - False - False - GDK_WINDOW_TYPE_HINT_NORMAL - GDK_GRAVITY_NORTH_WEST - True - False - - - - 5 - True - False - 5 - - - - True - Set New BP Count (in Hex): - False - False - GTK_JUSTIFY_CENTER - False - False - 0.10000000149 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - 5 - True - False - 2 - - - - True - 0x - False - False - GTK_JUSTIFY_CENTER - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - True - True - True - True - 0 - - True - • - False - - - 0 - True - True - - - - - 0 - False - False - - - - - - True - GTK_BUTTONBOX_DEFAULT_STYLE - 30 - - - - True - True - True - gtk-ok - True - GTK_RELIEF_NORMAL - True - - - - - - - True - True - True - gtk-cancel - True - GTK_RELIEF_NORMAL - True - - - - - - 0 - True - True - - - - - - - - 5 - True - SetBreakPoint Addr - GTK_WINDOW_TOPLEVEL - GTK_WIN_POS_NONE - False - True - False - True - False - False - GDK_WINDOW_TYPE_HINT_NORMAL - GDK_GRAVITY_NORTH_WEST - True - False - - - - 5 - True - False - 5 - - - - True - Set New BP Address (in Hex): - False - False - GTK_JUSTIFY_CENTER - False - False - 0.10000000149 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - 5 - True - False - 2 - - - - True - 0x - False - False - GTK_JUSTIFY_CENTER - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - True - True - True - True - 0 - - True - • - False - - - 0 - True - True - - - - - 0 - False - False - - - - - - True - GTK_BUTTONBOX_DEFAULT_STYLE - 30 - - - - True - True - True - gtk-ok - True - GTK_RELIEF_NORMAL - True - - - - - - - True - True - True - gtk-cancel - True - GTK_RELIEF_NORMAL - True - - - - - - 0 - True - True - - - - - - - - 5 - True - SetPCDlg - GTK_WINDOW_TOPLEVEL - GTK_WIN_POS_NONE - False - True - False - True - False - False - GDK_WINDOW_TYPE_HINT_NORMAL - GDK_GRAVITY_NORTH_WEST - True - False - - - - 5 - True - False - 5 - - - - True - Set New PC Address (in Hex): - False - False - GTK_JUSTIFY_CENTER - False - False - 0.10000000149 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - 5 - True - False - 2 - - - - True - 0x - False - False - GTK_JUSTIFY_CENTER - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - True - True - True - True - 0 - - True - • - False - - - 0 - True - True - - - - - 0 - False - False - - - - - - True - GTK_BUTTONBOX_DEFAULT_STYLE - 30 - - - - True - True - True - gtk-ok - True - GTK_RELIEF_NORMAL - True - - - - - - - True - True - True - gtk-cancel - True - GTK_RELIEF_NORMAL - True - - - - - - 0 - True - True - - - - - - - - 5 - True - PCSX2 Debugger - GTK_WINDOW_TOPLEVEL - GTK_WIN_POS_NONE - False - True - False - True - False - False - GDK_WINDOW_TYPE_HINT_NORMAL - GDK_GRAVITY_NORTH_WEST - True - False - - - - 5 - True - False - 0 - - - - True - False - 5 - - - - True - True - EE Debug Mode - True - GTK_RELIEF_NORMAL - True - False - False - True - - - - 0 - False - False - - - - - - True - True - IOP Debug Mode - True - GTK_RELIEF_NORMAL - True - False - False - True - GtkRadioButton_EE - - - - 0 - False - False - - - - - 0 - False - True - - - - - - 5 - True - False - 0 - - - - True - False - 0 - - - - True - GTK_POLICY_ALWAYS - GTK_POLICY_NEVER - GTK_SHADOW_NONE - GTK_CORNER_TOP_LEFT - - - - True - GTK_SHADOW_IN - - - - True - False - False - False - True - False - False - False - - - - - - - 0 - True - True - - - - - - True - GTK_UPDATE_CONTINUOUS - False - 0 0 412 1 20 2 - - - 0 - False - True - - - - - 0 - True - True - - - - - - True - False - 0 - - - - True - GTK_BUTTONBOX_DEFAULT_STYLE - 0 - - - - True - True - True - Step - True - GTK_RELIEF_NORMAL - True - - - - - - - True - True - True - Skip - True - GTK_RELIEF_NORMAL - True - - - - - - - True - True - True - Go - True - GTK_RELIEF_NORMAL - True - - - - - - - True - True - True - Log On/Off - True - GTK_RELIEF_NORMAL - True - - - - - - 0 - False - True - - - - - - True - GTK_BUTTONBOX_DEFAULT_STYLE - 0 - - - - True - True - True - Set PC - True - GTK_RELIEF_NORMAL - True - - - - - - - True - True - True - Set BP Addr - True - GTK_RELIEF_NORMAL - True - - - - - - - True - True - True - Set BP Count - True - GTK_RELIEF_NORMAL - True - - - - - - - True - True - True - Clear BPs - True - GTK_RELIEF_NORMAL - True - - - - - - 0 - False - True - - - - - - True - GTK_BUTTONBOX_DEFAULT_STYLE - 0 - - - - True - True - True - Dump code - True - GTK_RELIEF_NORMAL - True - - - - - - - True - True - True - Raw Dump - True - GTK_RELIEF_NORMAL - True - - - - - - - True - True - True - Close - True - GTK_RELIEF_NORMAL - True - - - - - - 0 - False - True - - - - - 0 - False - True - - - - - - True - GTK_BUTTONBOX_DEFAULT_STYLE - 10 - - - - True - True - True - memWrite32 - True - GTK_RELIEF_NORMAL - True - - - - - - 0 - False - True - - - - - 0 - True - True - - - - - - - - 10 - True - Conf - GTK_WINDOW_TOPLEVEL - GTK_WIN_POS_NONE - False - False - False - True - False - False - GDK_WINDOW_TYPE_HINT_NORMAL - GDK_GRAVITY_NORTH_WEST - True - False - - - - True - False - 0 - - - - 2 - True - 14 - 2 - False - 0 - 15 - - - - True - Bios - False - False - GTK_JUSTIFY_CENTER - False - False - 0 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 1 - 2 - 12 - 13 - - - - - - - - True - FireWire - False - False - GTK_JUSTIFY_CENTER - False - False - 0 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 1 - 2 - 9 - 10 - - - - - - - - True - GTK_BUTTONBOX_DEFAULT_STYLE - 0 - - - - True - True - True - Configure - True - GTK_RELIEF_NORMAL - True - - - - - - - True - True - True - Test - True - GTK_RELIEF_NORMAL - True - - - - - - - True - True - True - About - True - GTK_RELIEF_NORMAL - True - - - - - - 1 - 2 - 11 - 12 - - - - - - - - True - GTK_BUTTONBOX_DEFAULT_STYLE - 0 - - - - True - True - True - Configure - True - GTK_RELIEF_NORMAL - True - - - - - - - True - True - True - Test - True - GTK_RELIEF_NORMAL - True - - - - - - - True - True - True - About - True - GTK_RELIEF_NORMAL - True - - - - - - 0 - 1 - 11 - 12 - - - - - - - True - Usb - False - False - GTK_JUSTIFY_CENTER - False - False - 0 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - 1 - 9 - 10 - - - - - - - - True - GTK_BUTTONBOX_DEFAULT_STYLE - 0 - - - - True - True - True - Configure - True - GTK_RELIEF_NORMAL - True - - - - - - - True - True - True - Test - True - GTK_RELIEF_NORMAL - True - - - - - - - True - True - True - About - True - GTK_RELIEF_NORMAL - True - - - - - - 1 - 2 - 8 - 9 - - - - - - - - True - Cdvdrom - False - False - GTK_JUSTIFY_CENTER - False - False - 0 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 1 - 2 - 6 - 7 - - - - - - - - True - Dev9 - False - False - GTK_JUSTIFY_CENTER - False - False - 0 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - 1 - 6 - 7 - - - - - - - - True - GTK_BUTTONBOX_DEFAULT_STYLE - 0 - - - - True - True - True - Configure - True - GTK_RELIEF_NORMAL - True - - - - - - - True - True - True - Test - True - GTK_RELIEF_NORMAL - True - - - - - - - True - True - True - About - True - GTK_RELIEF_NORMAL - True - - - - - - 0 - 1 - 8 - 9 - - - - - - - True - GTK_BUTTONBOX_DEFAULT_STYLE - 0 - - - - True - True - True - Configure - True - GTK_RELIEF_NORMAL - True - - - - - - - True - True - True - Test - True - GTK_RELIEF_NORMAL - True - - - - - - - True - True - True - About - True - GTK_RELIEF_NORMAL - True - - - - - - 1 - 2 - 2 - 3 - - - - - - - - True - Sound - False - False - GTK_JUSTIFY_CENTER - False - False - 0 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 1 - 2 - 0 - 1 - - - - - - - - True - Second Controller - False - False - GTK_JUSTIFY_CENTER - False - False - 0 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 1 - 2 - 3 - 4 - - - - - - - - True - First Controller - False - False - GTK_JUSTIFY_CENTER - False - False - 0 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - 1 - 3 - 4 - - - - - - - - True - Graphics - False - False - GTK_JUSTIFY_CENTER - False - False - 0 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - 1 - 0 - 1 - - - - - - - - True - GTK_BUTTONBOX_DEFAULT_STYLE - 0 - - - - True - True - True - Configure - True - GTK_RELIEF_NORMAL - True - - - - - - - True - True - True - Test - True - GTK_RELIEF_NORMAL - True - - - - - - - True - True - True - About - True - GTK_RELIEF_NORMAL - True - - - - - - 0 - 1 - 2 - 3 - - - - - - - True - GTK_BUTTONBOX_DEFAULT_STYLE - 0 - - - - True - True - True - Configure - True - GTK_RELIEF_NORMAL - True - - - - - - - True - True - True - Test - True - GTK_RELIEF_NORMAL - True - - - - - - - True - True - True - About - True - GTK_RELIEF_NORMAL - True - - - - - - 0 - 1 - 5 - 6 - - - - - - - - True - GTK_BUTTONBOX_DEFAULT_STYLE - 0 - - - - True - True - True - Configure - True - GTK_RELIEF_NORMAL - True - - - - - - - True - True - True - Test - True - GTK_RELIEF_NORMAL - True - - - - - - - True - True - True - About - True - GTK_RELIEF_NORMAL - True - - - - - - 1 - 2 - 5 - 6 - - - - - - - True - - False - True - - - 1 - 2 - 10 - 11 - - - - - - True - - False - True - - - 0 - 1 - 10 - 11 - - - - - - True - - False - True - - - 1 - 2 - 7 - 8 - - - - - - True - - False - True - - - 0 - 1 - 7 - 8 - - - - - - True - - False - True - - - 1 - 2 - 4 - 5 - - - - - - True - - False - True - - - 0 - 1 - 4 - 5 - - - - - - True - - False - True - - - 1 - 2 - 1 - 2 - - - - - - True - - False - True - - - 0 - 1 - 1 - 2 - - - - - - True - - False - True - - - 1 - 2 - 13 - 14 - - - - - 0 - True - True - - - - - - True - False - 14 - - - - True - GTK_BUTTONBOX_START - 0 - - - - True - True - True - Select Plugins Dir - True - GTK_RELIEF_NORMAL - True - - - - - - - True - True - True - Select Bios Dir - True - GTK_RELIEF_NORMAL - True - - - - - - 0 - False - True - - - - - - True - GTK_BUTTONBOX_DEFAULT_STYLE - 0 - - - - True - True - True - gtk-ok - True - GTK_RELIEF_NORMAL - True - - - - - - - True - True - True - gtk-cancel - True - GTK_RELIEF_NORMAL - True - - - - - - 0 - True - True - - - - - 0 - True - True - - - - - - - - 10 - True - Pcsx About - GTK_WINDOW_TOPLEVEL - GTK_WIN_POS_NONE - False - True - False - True - False - False - GDK_WINDOW_TYPE_HINT_NORMAL - GDK_GRAVITY_NORTH_WEST - True - False - - - - True - False - 0 - - - - True - False - 0 - - - - True - PCSX2 - -Version x.x - False - False - GTK_JUSTIFY_CENTER - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - 5 - True - 0 - 0.5 - GTK_SHADOW_ETCHED_IN - - - - 5 - True - False - 0 - - - - True - written by... - False - False - GTK_JUSTIFY_CENTER - True - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - - 0 - False - False - - - - - 0 - True - True - - - - - - 5 - True - 0 - 0.5 - GTK_SHADOW_ETCHED_IN - - - - 5 - True - False - 0 - - - - True - greets to... - False - False - GTK_JUSTIFY_CENTER - True - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - - 0 - False - False - - - - - - True - GTK_BUTTONBOX_EDGE - 0 - - - - True - True - True - gtk-ok - True - GTK_RELIEF_NORMAL - True - - - - - - 0 - False - False - - - - - - - - True - PCSX - GTK_WINDOW_TOPLEVEL - GTK_WIN_POS_CENTER - False - True - False - True - False - False - GDK_WINDOW_TYPE_HINT_NORMAL - GDK_GRAVITY_NORTH_WEST - True - False - - - - - - True - False - 0 - - - - True - GTK_PACK_DIRECTION_LTR - GTK_PACK_DIRECTION_LTR - - - - True - _File - True - - - - - - - True - _Run CD - True - - - - - - - True - _Load Elf - True - - - - - - - True - - - - - - True - States - True - - - - - - - True - Load - True - - - - - - - True - Slot 1 - True - - - - - - - True - Slot 2 - True - - - - - - - True - Slot 3 - True - - - - - - - True - Slot 4 - True - - - - - - - True - Slot 5 - True - - - - - - - True - Other... - True - - - - - - - - - - - True - Save - True - - - - - - - True - Slot 1 - True - - - - - - - True - Slot 2 - True - - - - - - - True - Slot 3 - True - - - - - - - True - Slot 4 - True - - - - - - - True - Slot 5 - True - - - - - - - True - Other... - True - - - - - - - - - - - - - - - True - E_xit - True - - - - - - - - - - - True - _Run - True - - - - - - - True - E_xecute - True - - - - - - - True - Re_set - True - - - - - - - True - _Arguments - True - - - - - - - - - - - True - _Config - True - - - - - - - True - _Configure - True - - - - - - - True - - - - - - True - _Graphics - True - - - - - - - True - C_ontrollers - True - - - - - - - True - _Sound - True - - - - - - - True - _Cdvdrom - True - - - - - - - True - D_ev9 - True - - - - - - - True - U_SB - True - - - - - - - True - Fire_Wire - True - - - - - - - True - - - - - - True - C_pu - True - - - - - - - True - Game Fixes - True - - - - - - - True - Speed Hacks - True - - - - - - - True - Advanced - True - - - - - - - - - - - True - _Language - True - - - - - - True - _Misc - True - - - - - - - True - Patch _Browser - True - - - - - - - True - Patch _Finder - True - - - - - - - True - - - - - - True - Enable _Console - True - False - - - - - - - True - Enable _Patches - True - False - - - - - - - - - - - True - _Debug - True - - - - - - - True - Enter Debugger ... - True - - - - - - - True - Logging - True - - - - - - - - - - - True - _Help - True - - - - - - - True - About PCSX2 - Playground... - True - - - - - - - - - - 0 - False - False - - - - - - True - pcsxAbout.bmp - 0.5 - 0.5 - 0 - 0 - - - 1 - True - True - - - - - - True - False - 0 - - - - - - - 0 - True - True - - - - - - - - Patch List - GTK_WINDOW_TOPLEVEL - GTK_WIN_POS_NONE - True - True - False - False - False - False - GDK_WINDOW_TYPE_HINT_DIALOG - GDK_GRAVITY_NORTH_WEST - True - False - - - - True - False - 0 - - - - True - True - GTK_POLICY_ALWAYS - GTK_POLICY_ALWAYS - GTK_SHADOW_IN - GTK_CORNER_TOP_LEFT - - - - True - True - True - False - False - True - False - False - False - - - - - 0 - True - True - - - - - - True - False - 0 - - - - True - True - Enable / Diable - True - GTK_RELIEF_NORMAL - True - - - 0 - False - False - - - - - - True - True - Add Patch - True - GTK_RELIEF_NORMAL - True - - - 0 - False - False - - - - - - True - True - Edit Patch - True - GTK_RELIEF_NORMAL - True - - - 0 - False - False - - - - - - True - True - Add GS2v3-4 - True - GTK_RELIEF_NORMAL - True - - - 0 - False - False - - - - - - True - True - Add Raw - True - GTK_RELIEF_NORMAL - True - - - 0 - False - False - - - - - - True - True - Pnach Writer - True - GTK_RELIEF_NORMAL - True - - - 0 - False - False - - - - - - True - True - Skip Mpeg - True - GTK_RELIEF_NORMAL - True - - - 0 - False - False - - - - - - - - - - - - - - True - True - gtk-close - True - GTK_RELIEF_NORMAL - True - - - 0 - False - False - - - - - 0 - True - True - - - - - - - - True - Patch Finder - GTK_WINDOW_TOPLEVEL - GTK_WIN_POS_NONE - True - True - False - True - False - False - GDK_WINDOW_TYPE_HINT_DIALOG - GDK_GRAVITY_NORTH_WEST - True - False - - - - True - False - 0 - - - - True - False - 0 - - - - True - 0 - 0.5 - GTK_SHADOW_NONE - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 0 - 12 - 0 - - - - True - False - 0 - - - - True - True - EE RAM - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - IOP RAM - True - GTK_RELIEF_NORMAL - True - False - False - True - radiobutton1 - - - 0 - False - False - - - - - - - - - - True - <b>Search In</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - label_item - - - - - 0 - True - True - - - - - - True - 0 - 0.5 - GTK_SHADOW_NONE - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 0 - 12 - 0 - - - - True - 3 - 2 - False - 0 - 0 - - - - True - True - 8 bits - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - 1 - 0 - 1 - fill - - - - - - - True - True - 16 bits - True - GTK_RELIEF_NORMAL - True - False - False - True - radiobutton3 - - - 1 - 2 - 0 - 1 - fill - - - - - - - True - True - 32 bits - True - GTK_RELIEF_NORMAL - True - False - False - True - radiobutton3 - - - 0 - 1 - 1 - 2 - fill - - - - - - - True - True - 64 bits - True - GTK_RELIEF_NORMAL - True - False - False - True - radiobutton3 - - - 1 - 2 - 1 - 2 - fill - - - - - - - True - True - Unsigned - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - 1 - 2 - 3 - fill - - - - - - - - - - - True - <b>Values of Size</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - label_item - - - - - 0 - True - True - - - - - - True - 0 - 0.5 - GTK_SHADOW_NONE - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 0 - 12 - 0 - - - - True - False - 0 - - - - True - True - Equal - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - Greater Then - True - GTK_RELIEF_NORMAL - True - False - False - True - radiobutton7 - - - 0 - False - False - - - - - - True - True - Less Then - True - GTK_RELIEF_NORMAL - True - False - False - True - radiobutton7 - - - 0 - False - False - - - - - - True - True - Greater Then or Equal - True - GTK_RELIEF_NORMAL - True - False - False - True - radiobutton7 - - - 0 - False - False - - - - - - True - True - Less Then or Equal - True - GTK_RELIEF_NORMAL - True - False - False - True - radiobutton7 - - - 0 - False - False - - - - - - True - True - Not Equal - True - GTK_RELIEF_NORMAL - True - False - False - True - radiobutton7 - - - 0 - False - False - - - - - - - - - - True - <b>Being</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - label_item - - - - - 0 - True - True - - - - - - True - 0 - 0.5 - GTK_SHADOW_NONE - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 0 - 12 - 0 - - - - True - False - 0 - - - - True - True - Old Value - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - Specific Value - True - GTK_RELIEF_NORMAL - True - False - False - True - radiobutton13 - - - 0 - False - False - - - - - - True - True - True - True - 0 - - True - * - False - - - 0 - False - False - - - - - - - - - - True - <b>Compared To</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - label_item - - - - - 0 - True - True - - - - - 0 - True - True - - - - - - True - False - 0 - - - - True - False - 0 - - - - True - False - 0 - - - - True - Results: - False - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - True - %s - False - False - GTK_JUSTIFY_CENTER - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - True - True - - - - - - True - Ready to Search - False - False - GTK_JUSTIFY_RIGHT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - True - False - - - - - 0 - False - False - - - - - - True - True - GTK_POLICY_ALWAYS - GTK_POLICY_ALWAYS - GTK_SHADOW_IN - GTK_CORNER_TOP_LEFT - - - - True - True - True - False - False - True - False - False - False - - - - - 0 - True - True - - - - - 0 - True - True - - - - - - True - 2 - 2 - False - 0 - 0 - - - - True - True - gtk-clear - True - GTK_RELIEF_NORMAL - True - - - 0 - 1 - 0 - 1 - - - - - - - True - True - gtk-find - True - GTK_RELIEF_NORMAL - True - - - 1 - 2 - 0 - 1 - - - - - - - True - True - gtk-add - True - GTK_RELIEF_NORMAL - True - - - 0 - 1 - 1 - 2 - - - - - - - True - True - gtk-close - True - GTK_RELIEF_NORMAL - True - - - 1 - 2 - 1 - 2 - - - - - - 0 - False - True - - - - - 0 - True - True - - - - - - - - True - dialog1 - GTK_WINDOW_TOPLEVEL - GTK_WIN_POS_NONE - False - True - False - True - False - False - GDK_WINDOW_TYPE_HINT_DIALOG - GDK_GRAVITY_NORTH_WEST - True - False - True - - - - True - False - 0 - - - - True - GTK_BUTTONBOX_END - - - - True - True - True - gtk-ok - True - GTK_RELIEF_NORMAL - True - 0 - - - - - - - True - True - True - gtk-cancel - True - GTK_RELIEF_NORMAL - True - 0 - - - - - - 0 - False - True - GTK_PACK_END - - - - - - True - False - 0 - - - - True - False - 0 - - - - True - 0 - 0.5 - GTK_SHADOW_ETCHED_IN - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 0 - 12 - 0 - - - - True - False - 0 - - - - True - CPU vendor - False - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - True - Family - False - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - True - Cpu Speed - False - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - True - Features - False - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - - - - - True - - False - True - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - label_item - - - - - 0 - True - True - - - - - - True - True - EERec - EE/IOP recompiler (Need MMX/SSE/SSE2) - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - 5 - True - 0 - 0.5 - GTK_SHADOW_ETCHED_IN - - - - 5 - True - False - 0 - - - - True - True - VU0rec - enable recompiler for VU0 unit - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - VU1rec - enable recompiler for VU1 unit - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - - - True - VU Recompilers - All options are set by default - False - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - label_item - - - - - 0 - True - True - - - - - - True - True - Multi threaded GS mode (MTGS) - (faster on dual core/HT CPUs, requires pcsx2 restart) - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - 0 - True - True - - - - - - True - False - 0 - - - - True - 0 - 0.5 - GTK_SHADOW_ETCHED_IN - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 0 - 12 - 0 - - - - True - False - 0 - - - - True - True - Normal - All frames are rendered as fast as possible - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - Limit - Force frames to normal speeds if too fast - True - GTK_RELIEF_NORMAL - True - False - False - True - GtkRadioButton_LimitNormal - - - 0 - False - False - - - - - - True - True - Frame Skip - In order to achieve normal speeds, - some frames are skipped (faster). - Fps displayed counts skipped frames too - True - GTK_RELIEF_NORMAL - True - False - False - True - GtkRadioButton_LimitNormal - - - 0 - False - False - - - - - - True - True - VU Skip - Same as Frame Skip, but tried to skip more. - Artifacts might be present, but will be faster - True - GTK_RELIEF_NORMAL - True - False - False - True - GtkRadioButton_LimitNormal - - - 0 - False - False - - - - - - - - - - True - Frame Limiting (F4 switches in-game) - False - True - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - label_item - - - - - 0 - True - True - - - - - - True - 0 - 0.5 - GTK_SHADOW_NONE - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 0 - 12 - 0 - - - - True - False - 0 - - - - True - False - 0 - - - - True - Custom FPS Limit (0=auto): - False - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - True - True - - - - - - True - True - 1 - 0 - True - GTK_UPDATE_ALWAYS - False - False - 0 0 9999 1 0 0 - - - 0 - False - True - GTK_PACK_END - - - - - 0 - True - True - - - - - - True - False - 0 - - - - True - Skip Frames when slower than[1]: - False - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - True - True - - - - - - True - True - 1 - 0 - False - GTK_UPDATE_ALWAYS - False - False - 0 0 9999 1 0 0 - - - 0 - False - True - GTK_PACK_END - - - - - 0 - True - True - - - - - - True - False - 0 - - - - True - Consecutive Frames before skipping[2]: - False - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - True - True - - - - - - True - True - 1 - 0 - False - GTK_UPDATE_ALWAYS - False - False - 0 0 9999 1 0 0 - - - 0 - False - True - GTK_PACK_END - - - - - 0 - True - True - - - - - - True - False - 0 - - - - True - Consecutive Frames to skip[3]: - False - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - True - True - - - - - - True - True - 1 - 0 - False - GTK_UPDATE_ALWAYS - False - False - 0 0 9999 1 0 0 - - - 0 - False - True - GTK_PACK_END - - - - - 0 - True - True - - - - - - True - [1] Only skips when slower then this number(0 is auto; 9999 always skips). - False - False - GTK_JUSTIFY_LEFT - True - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - True - [2] Renders this many frames before skipping (0 is default). - False - False - GTK_JUSTIFY_LEFT - True - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - True - [3] Skips this many frames before continuing (0 is default). - False - False - GTK_JUSTIFY_LEFT - True - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - - - - - True - Detailed Settings - False - True - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - label_item - - - - - 0 - True - True - - - - - 0 - True - True - - - - - 0 - True - True - - - - - - - - True - Logging - GTK_WINDOW_TOPLEVEL - GTK_WIN_POS_NONE - False - 200 - 450 - True - False - True - False - False - GDK_WINDOW_TYPE_HINT_DIALOG - GDK_GRAVITY_NORTH_WEST - True - False - True - - - - True - False - 0 - - - - True - GTK_BUTTONBOX_END - - - - True - True - True - gtk-ok - True - GTK_RELIEF_NORMAL - True - -5 - - - - - - - True - True - True - gtk-cancel - True - GTK_RELIEF_NORMAL - True - -6 - - - - - - 0 - False - True - GTK_PACK_END - - - - - - True - True - GTK_POLICY_ALWAYS - GTK_POLICY_ALWAYS - GTK_SHADOW_IN - GTK_CORNER_TOP_LEFT - - - - True - GTK_SHADOW_IN - - - - True - False - 0 - - - - True - 0 - 0.5 - GTK_SHADOW_NONE - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 0 - 12 - 0 - - - - True - False - 0 - - - - True - True - Cpu Log - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - Mem Log - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - Hw Log - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - Dma Log - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - Bios Log - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - Elf Log - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - Fpu Log - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - MMI Log - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - VU0 Log - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - Cop0 Log - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - Vif Log - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - SPR Log - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - GIF Log - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - Sif Log - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - IPU Log - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - VU Micro Log - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - RPC Log - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - - - - - True - <b>EE Logs</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - label_item - - - - - 0 - True - True - - - - - - True - 0 - 0.5 - GTK_SHADOW_NONE - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 0 - 12 - 0 - - - - True - False - 0 - - - - True - True - IOP Log - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - Mem Log - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - Hw Log - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - Bios Log - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - Dma Log - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - Pad Log - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - Gte Log - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - Cdr Log - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - GPU Log - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - - - - - True - <b>IOP Logs</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - label_item - - - - - 0 - True - True - - - - - - True - 0 - 0.5 - GTK_SHADOW_NONE - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 0 - 12 - 0 - - - - True - False - 0 - - - - True - True - Log to STDOUT - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - True - True - SYMs Log - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 0 - False - False - - - - - - - - - - True - <b>Misc</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - label_item - - - - - 0 - True - True - - - - - - - - - 0 - True - True - - - - - - - + + + + + + + True + Advanced Options + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + False + True + False + True + False + False + GDK_WINDOW_TYPE_HINT_DIALOG + GDK_GRAVITY_NORTH_WEST + True + False + True + + + + True + False + 0 + + + + True + GTK_BUTTONBOX_SPREAD + + + + True + True + True + Defaults + True + GTK_RELIEF_NORMAL + True + 0 + + + + + + + True + True + True + gtk-ok + True + GTK_RELIEF_NORMAL + True + -5 + + + + + + + True + True + True + gtk-cancel + True + GTK_RELIEF_NORMAL + True + -6 + + + + + + 0 + False + True + GTK_PACK_END + + + + + + True + False + 0 + + + + True + False + 0 + + + + True + 0 + 0.5 + GTK_SHADOW_NONE + + + + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 12 + 0 + + + + True + False + 0 + + + + True + 0 + 0.5 + GTK_SHADOW_NONE + + + + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 12 + 0 + + + + True + False + 0 + + + + True + True + Nearest + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + Negative + True + GTK_RELIEF_NORMAL + True + False + False + True + radio_EE_Round_Near + + + 0 + False + False + + + + + + True + True + Positive + True + GTK_RELIEF_NORMAL + True + False + False + True + radio_EE_Round_Near + + + 0 + False + False + + + + + + True + True + Chop/Zero + True + GTK_RELIEF_NORMAL + True + False + False + True + radio_EE_Round_Near + + + 0 + False + False + + + + + + + + + + True + <b>Round Mode</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + label_item + + + + + 0 + True + True + + + + + + True + 0 + 0.5 + GTK_SHADOW_NONE + + + + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 12 + 0 + + + + True + False + 0 + + + + True + True + None + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + Normal + True + GTK_RELIEF_NORMAL + True + False + False + True + radio_EE_Clamp_None + + + 0 + False + False + + + + + + True + True + Extra + Preserve Sign + True + GTK_RELIEF_NORMAL + True + False + False + True + radio_EE_Clamp_None + + + 0 + False + False + + + + + + + + + + True + <b>Clamp Mode</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + label_item + + + + + 0 + True + True + + + + + + True + False + 0 + + + + True + True + Flush to Zero + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + Denormals are Zero + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + 0 + True + True + + + + + + + + + + True + <b>EE Recs Options</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + label_item + + + + + 0 + True + True + + + + + + True + 0 + 0.5 + GTK_SHADOW_NONE + + + + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 12 + 0 + + + + True + False + 0 + + + + True + 0 + 0.5 + GTK_SHADOW_NONE + + + + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 12 + 0 + + + + True + False + 0 + + + + True + True + Nearest + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + Negative + True + GTK_RELIEF_NORMAL + True + False + False + True + radio_VU_Round_Near + + + 0 + False + False + + + + + + True + True + Positive + True + GTK_RELIEF_NORMAL + True + False + False + True + radio_VU_Round_Near + + + 0 + False + False + + + + + + True + True + Zero + True + GTK_RELIEF_NORMAL + True + False + False + True + radio_VU_Round_Near + + + 0 + False + False + + + + + + + + + + True + <b>Round Mode</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + label_item + + + + + 0 + True + True + + + + + + True + 0 + 0.5 + GTK_SHADOW_NONE + + + + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 12 + 0 + + + + True + False + 0 + + + + True + True + None + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + Normal + True + GTK_RELIEF_NORMAL + True + False + False + True + radio_VU_Clamp_None + + + 0 + False + False + + + + + + True + True + Extra + True + GTK_RELIEF_NORMAL + True + False + False + True + radio_VU_Clamp_None + + + 0 + False + False + + + + + + True + True + Extra + Preserve Sign + True + GTK_RELIEF_NORMAL + True + False + False + True + radio_VU_Clamp_None + + + 0 + False + False + + + + + + + + + + True + <b>Clamp Mode</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + label_item + + + + + 0 + True + True + + + + + + True + 2 + 2 + False + 0 + 0 + + + + True + True + Flush to Zero + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + 1 + 0 + 1 + fill + + + + + + + True + True + Denormals are Zero + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 1 + 2 + 0 + 1 + fill + + + + + + + True + False + True + Set O & U Flags + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + 1 + 1 + 2 + fill + + + + + + + True + False + True + Software Emulate DaZ + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 1 + 2 + 1 + 2 + fill + + + + + + 0 + True + True + + + + + + + + + + True + <b>VU Recs Options</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + label_item + + + + + 0 + True + True + + + + + 0 + True + True + + + + + + True + False + 0 + + + + True + 0 + 0.5 + GTK_SHADOW_NONE + + + + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 12 + 0 + + + + True + These options specify how your CPU rounds floating point values. + +Try changing the roundmode for EE if your game hangs, it could make it work again. + False + False + GTK_JUSTIFY_LEFT + True + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + + + + + + True + <b>Round Mode</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + label_item + + + + + 0 + False + False + + + + + + True + 0 + 0.5 + GTK_SHADOW_NONE + + + + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 12 + 0 + + + + True + These options specify how PCSX2's recompilers will clamp Infinities and NaN (Not a Number) values in the opcode instructions. + +None - No clamping. (Fastest Mode) +Normal - Clamps the result. +Extra - Clamps the operands, the result, and anywhere in between. +Extra + Preserve Sign - Same as ""Extra"", except preserves NaN's sign when clamping the operands. (Slowest Mode) + False + False + GTK_JUSTIFY_LEFT + True + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + + + + + + True + <b>Clamp Mode</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + label_item + + + + + 0 + False + False + + + + + + True + 0 + 0.5 + GTK_SHADOW_NONE + + + + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 12 + 0 + + + + True + Flush to Zero - Your CPU makes Floating Point Underflows become Zero, so it does less work. (Speed Up) + +Denormals are Zero - Your CPU makes Floating Point Denormals become Zero, so it does less work. (Speed Up) + False + False + GTK_JUSTIFY_LEFT + True + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + + + + + + True + <b>Other Options</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + label_item + + + + + 0 + False + False + + + + + 0 + True + True + + + + + 0 + True + True + + + + + + + + True + PCSX2 Speed Hacks + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + False + True + False + True + False + False + GDK_WINDOW_TYPE_HINT_DIALOG + GDK_GRAVITY_NORTH_WEST + True + False + True + + + + True + False + 0 + + + + True + GTK_BUTTONBOX_END + + + + True + True + True + gtk-ok + True + GTK_RELIEF_NORMAL + True + -5 + + + + + + + True + True + True + gtk-cancel + True + GTK_RELIEF_NORMAL + True + -6 + + + + + + 0 + False + True + GTK_PACK_END + + + + + + True + False + 0 + + + + True + These hacks will affect the speed of PCSX2 but possibly compromise compatibility. +If you have problems, Disable all of these and try again. + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + True + False + 0 + + + + True + 0 + 0.5 + GTK_SHADOW_ETCHED_IN + + + + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 12 + 0 + + + + True + False + 2 + + + + True + True + Default Cycle Rate + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + Most compatable option - recommended for everyone with high-end machines. + False + False + GTK_JUSTIFY_LEFT + True + False + 0.289999991655 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + True + True + Use x1.5 Cycle Rate + True + GTK_RELIEF_NORMAL + True + False + False + True + check_default_cycle_rate + + + 0 + False + False + + + + + + True + Moderate speedup, and works well with most games. + False + False + GTK_JUSTIFY_LEFT + True + False + 0.289999991655 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + True + True + Use x2 Cycle Rate + True + GTK_RELIEF_NORMAL + True + False + False + True + check_default_cycle_rate + + + 0 + False + False + + + + + + True + Big speedup! Works well with many games. + False + False + GTK_JUSTIFY_LEFT + True + False + 0.360000014305 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + True + True + Use x3 Cycle Rate + True + GTK_RELIEF_NORMAL + True + False + False + True + check_default_cycle_rate + + + 0 + False + False + + + + + + True + Big speedup, but causes flickering or missing geometry on many games. + False + False + GTK_JUSTIFY_LEFT + True + False + 0.239999994636 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + True + + + 0 + False + False + + + + + + True + Important: X2 & X3 sync hacks *will* cause choppy/skippy audio on many FMV movies. + False + False + GTK_JUSTIFY_LEFT + True + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + + + + + True + <b>frame37</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + label_item + + + + + 0 + True + True + + + + + + True + False + 0 + + + + True + True + Enable IOP x2 Cycle Rate + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + Small speedup, and works well with most games, + False + False + GTK_JUSTIFY_LEFT + True + False + 0.5 + 0.5 + 0 + 0 + check_iop_cycle_rate + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + True + True + WaitCycles Sync Hack + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + Small speedup. Works well with most games, but it may cause certain games to crash, or freeze up during bootup or stage changes. + False + False + GTK_JUSTIFY_LEFT + True + False + 0.5 + 0.5 + 0 + 0 + check_wait_cycles_sync_hack + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + 0 + False + False + + + + + 0 + True + True + + + + + + True + 0 + 0.5 + GTK_SHADOW_ETCHED_IN + + + + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 12 + 0 + + + + True + True + Escape Hack - Use Esc key to fully exit PCSX2. + True + GTK_RELIEF_NORMAL + True + False + False + True + + + + + + + + True + <b>Miscellaneous</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + label_item + + + + + 0 + False + False + + + + + 0 + False + False + + + + + + + + True + Game Special Fixes + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + False + True + False + True + False + False + GDK_WINDOW_TYPE_HINT_DIALOG + GDK_GRAVITY_NORTH_WEST + True + False + True + + + + True + False + 0 + + + + True + GTK_BUTTONBOX_END + + + + True + True + True + gtk-ok + True + GTK_RELIEF_NORMAL + True + -5 + + + + + + + True + True + True + gtk-cancel + True + GTK_RELIEF_NORMAL + True + -6 + + + + + + 0 + False + True + GTK_PACK_END + + + + + + True + 0 + 0.5 + GTK_SHADOW_NONE + + + + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 12 + 0 + + + + True + False + 0 + + + + True + True + FPU Clamp Hack - Special fix for Tekken 5 and maybe other games. + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + VU Branch Hack - Special fix for Magna Carta; Breaks Crash Bandicoot! + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + VU Add / Sub Hack - Special fix for Tri-Ace games! + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + + + + + True + <b>Some games need special settings. +Configure them here.</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + label_item + + + + + 0 + True + True + + + + + + + + 5 + True + memWrite32 + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + False + True + False + True + False + False + GDK_WINDOW_TYPE_HINT_NORMAL + GDK_GRAVITY_NORTH_WEST + True + False + + + + 5 + True + False + 5 + + + + 5 + True + False + 2 + + + + True + Address + False + False + GTK_JUSTIFY_CENTER + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + True + 0x + False + False + GTK_JUSTIFY_CENTER + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + True + True + True + True + 0 + + True + • + False + + + 0 + True + True + + + + + 0 + False + False + + + + + + 5 + True + False + 2 + + + + True + Data + False + False + GTK_JUSTIFY_CENTER + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + True + 0x + False + False + GTK_JUSTIFY_CENTER + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + True + True + True + True + 0 + + True + • + False + + + 0 + True + True + + + + + 0 + True + True + + + + + + True + GTK_BUTTONBOX_DEFAULT_STYLE + 30 + + + + True + True + True + gtk-ok + True + GTK_RELIEF_NORMAL + True + + + + + + + True + True + True + gtk-cancel + True + GTK_RELIEF_NORMAL + True + + + + + + 0 + True + True + + + + + + + + 5 + True + Program arguments + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + True + True + False + True + False + False + GDK_WINDOW_TYPE_HINT_NORMAL + GDK_GRAVITY_NORTH_WEST + True + False + + + + 5 + True + False + 5 + + + + True + Fill in the command line arguments for the opened program: + False + False + GTK_JUSTIFY_CENTER + False + False + 0.10000000149 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + 5 + True + False + 2 + + + + True + If you don't know what to write leave it blank + True + True + True + 0 + + True + • + False + + + 0 + True + True + + + + + 0 + False + False + + + + + + True + Note: this is intended for developers only. + False + False + GTK_JUSTIFY_CENTER + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + True + GTK_BUTTONBOX_DEFAULT_STYLE + 30 + + + + True + True + True + gtk-ok + True + GTK_RELIEF_NORMAL + True + + + + + + + True + True + True + gtk-cancel + True + GTK_RELIEF_NORMAL + True + + + + + + 0 + True + True + + + + + + + + 5 + True + Raw Dump + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + False + True + False + True + False + False + GDK_WINDOW_TYPE_HINT_NORMAL + GDK_GRAVITY_NORTH_WEST + True + False + + + + 5 + True + False + 5 + + + + True + Set Dump Addr (in Hex): + False + False + GTK_JUSTIFY_CENTER + False + False + 0.10000000149 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + 5 + True + False + 2 + + + + True + From 0x + False + False + GTK_JUSTIFY_CENTER + True + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + True + True + True + True + 0 + + True + • + False + + + 0 + True + True + + + + + 0 + False + False + + + + + + 5 + True + False + 2 + + + + True + To 0x + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + True + True + True + True + 0 + + True + • + False + + + 0 + True + True + + + + + 0 + True + True + + + + + + True + Dump File = "dump.txt" + False + False + GTK_JUSTIFY_LEFT + False + False + 0.10000000149 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + True + GTK_BUTTONBOX_DEFAULT_STYLE + 30 + + + + True + True + True + gtk-ok + True + GTK_RELIEF_NORMAL + True + + + + + + + True + True + True + gtk-cancel + True + GTK_RELIEF_NORMAL + True + + + + + + 0 + True + True + + + + + + + + 5 + True + Dump code + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + False + True + False + True + False + False + GDK_WINDOW_TYPE_HINT_NORMAL + GDK_GRAVITY_NORTH_WEST + True + False + + + + 5 + True + False + 5 + + + + True + Set Dump Addr (in Hex): + False + False + GTK_JUSTIFY_LEFT + False + False + 0.10000000149 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + 5 + True + False + 2 + + + + True + From 0x + False + False + GTK_JUSTIFY_CENTER + True + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + True + True + True + True + 0 + + True + • + False + + + 0 + True + True + + + + + 0 + False + False + + + + + + 5 + True + False + 2 + + + + True + To 0x + False + False + GTK_JUSTIFY_CENTER + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + True + True + True + True + 0 + + True + • + False + + + 0 + True + True + + + + + 0 + True + True + + + + + + True + Dump File = "dump.txt" + False + False + GTK_JUSTIFY_LEFT + False + False + 0.10000000149 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + True + GTK_BUTTONBOX_DEFAULT_STYLE + 30 + + + + True + True + True + gtk-ok + True + GTK_RELIEF_NORMAL + True + + + + + + + True + True + True + gtk-cancel + True + GTK_RELIEF_NORMAL + True + + + + + + 0 + True + True + + + + + + + + 5 + True + SetBreakPoint Addr + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + False + True + False + True + False + False + GDK_WINDOW_TYPE_HINT_NORMAL + GDK_GRAVITY_NORTH_WEST + True + False + + + + 5 + True + False + 5 + + + + True + Set New BP Count (in Hex): + False + False + GTK_JUSTIFY_CENTER + False + False + 0.10000000149 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + 5 + True + False + 2 + + + + True + 0x + False + False + GTK_JUSTIFY_CENTER + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + True + True + True + True + 0 + + True + • + False + + + 0 + True + True + + + + + 0 + False + False + + + + + + True + GTK_BUTTONBOX_DEFAULT_STYLE + 30 + + + + True + True + True + gtk-ok + True + GTK_RELIEF_NORMAL + True + + + + + + + True + True + True + gtk-cancel + True + GTK_RELIEF_NORMAL + True + + + + + + 0 + True + True + + + + + + + + 5 + True + SetBreakPoint Addr + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + False + True + False + True + False + False + GDK_WINDOW_TYPE_HINT_NORMAL + GDK_GRAVITY_NORTH_WEST + True + False + + + + 5 + True + False + 5 + + + + True + Set New BP Address (in Hex): + False + False + GTK_JUSTIFY_CENTER + False + False + 0.10000000149 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + 5 + True + False + 2 + + + + True + 0x + False + False + GTK_JUSTIFY_CENTER + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + True + True + True + True + 0 + + True + • + False + + + 0 + True + True + + + + + 0 + False + False + + + + + + True + GTK_BUTTONBOX_DEFAULT_STYLE + 30 + + + + True + True + True + gtk-ok + True + GTK_RELIEF_NORMAL + True + + + + + + + True + True + True + gtk-cancel + True + GTK_RELIEF_NORMAL + True + + + + + + 0 + True + True + + + + + + + + 5 + True + SetPCDlg + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + False + True + False + True + False + False + GDK_WINDOW_TYPE_HINT_NORMAL + GDK_GRAVITY_NORTH_WEST + True + False + + + + 5 + True + False + 5 + + + + True + Set New PC Address (in Hex): + False + False + GTK_JUSTIFY_CENTER + False + False + 0.10000000149 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + 5 + True + False + 2 + + + + True + 0x + False + False + GTK_JUSTIFY_CENTER + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + True + True + True + True + 0 + + True + • + False + + + 0 + True + True + + + + + 0 + False + False + + + + + + True + GTK_BUTTONBOX_DEFAULT_STYLE + 30 + + + + True + True + True + gtk-ok + True + GTK_RELIEF_NORMAL + True + + + + + + + True + True + True + gtk-cancel + True + GTK_RELIEF_NORMAL + True + + + + + + 0 + True + True + + + + + + + + 5 + True + PCSX2 Debugger + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + False + True + False + True + False + False + GDK_WINDOW_TYPE_HINT_NORMAL + GDK_GRAVITY_NORTH_WEST + True + False + + + + 5 + True + False + 0 + + + + True + False + 5 + + + + True + True + EE Debug Mode + True + GTK_RELIEF_NORMAL + True + False + False + True + + + + 0 + False + False + + + + + + True + True + IOP Debug Mode + True + GTK_RELIEF_NORMAL + True + False + False + True + GtkRadioButton_EE + + + + 0 + False + False + + + + + 0 + False + True + + + + + + 5 + True + False + 0 + + + + True + False + 0 + + + + True + GTK_POLICY_ALWAYS + GTK_POLICY_NEVER + GTK_SHADOW_NONE + GTK_CORNER_TOP_LEFT + + + + True + GTK_SHADOW_IN + + + + True + False + False + False + True + False + False + False + + + + + + + 0 + True + True + + + + + + True + GTK_UPDATE_CONTINUOUS + False + 0 0 412 1 20 2 + + + 0 + False + True + + + + + 0 + True + True + + + + + + True + False + 0 + + + + True + GTK_BUTTONBOX_DEFAULT_STYLE + 0 + + + + True + True + True + Step + True + GTK_RELIEF_NORMAL + True + + + + + + + True + True + True + Skip + True + GTK_RELIEF_NORMAL + True + + + + + + + True + True + True + Go + True + GTK_RELIEF_NORMAL + True + + + + + + + True + True + True + Log On/Off + True + GTK_RELIEF_NORMAL + True + + + + + + 0 + False + True + + + + + + True + GTK_BUTTONBOX_DEFAULT_STYLE + 0 + + + + True + True + True + Set PC + True + GTK_RELIEF_NORMAL + True + + + + + + + True + True + True + Set BP Addr + True + GTK_RELIEF_NORMAL + True + + + + + + + True + True + True + Set BP Count + True + GTK_RELIEF_NORMAL + True + + + + + + + True + True + True + Clear BPs + True + GTK_RELIEF_NORMAL + True + + + + + + 0 + False + True + + + + + + True + GTK_BUTTONBOX_DEFAULT_STYLE + 0 + + + + True + True + True + Dump code + True + GTK_RELIEF_NORMAL + True + + + + + + + True + True + True + Raw Dump + True + GTK_RELIEF_NORMAL + True + + + + + + + True + True + True + Close + True + GTK_RELIEF_NORMAL + True + + + + + + 0 + False + True + + + + + 0 + False + True + + + + + + True + GTK_BUTTONBOX_DEFAULT_STYLE + 10 + + + + True + True + True + memWrite32 + True + GTK_RELIEF_NORMAL + True + + + + + + 0 + False + True + + + + + 0 + True + True + + + + + + + + 10 + True + Conf + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + False + False + False + True + False + False + GDK_WINDOW_TYPE_HINT_NORMAL + GDK_GRAVITY_NORTH_WEST + True + False + + + + True + False + 0 + + + + 2 + True + 14 + 2 + False + 0 + 15 + + + + True + Bios + False + False + GTK_JUSTIFY_CENTER + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 1 + 2 + 12 + 13 + + + + + + + + True + FireWire + False + False + GTK_JUSTIFY_CENTER + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 1 + 2 + 9 + 10 + + + + + + + + True + GTK_BUTTONBOX_DEFAULT_STYLE + 0 + + + + True + True + True + Configure + True + GTK_RELIEF_NORMAL + True + + + + + + + True + True + True + Test + True + GTK_RELIEF_NORMAL + True + + + + + + + True + True + True + About + True + GTK_RELIEF_NORMAL + True + + + + + + 1 + 2 + 11 + 12 + + + + + + + + True + GTK_BUTTONBOX_DEFAULT_STYLE + 0 + + + + True + True + True + Configure + True + GTK_RELIEF_NORMAL + True + + + + + + + True + True + True + Test + True + GTK_RELIEF_NORMAL + True + + + + + + + True + True + True + About + True + GTK_RELIEF_NORMAL + True + + + + + + 0 + 1 + 11 + 12 + + + + + + + True + Usb + False + False + GTK_JUSTIFY_CENTER + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + 1 + 9 + 10 + + + + + + + + True + GTK_BUTTONBOX_DEFAULT_STYLE + 0 + + + + True + True + True + Configure + True + GTK_RELIEF_NORMAL + True + + + + + + + True + True + True + Test + True + GTK_RELIEF_NORMAL + True + + + + + + + True + True + True + About + True + GTK_RELIEF_NORMAL + True + + + + + + 1 + 2 + 8 + 9 + + + + + + + + True + Cdvdrom + False + False + GTK_JUSTIFY_CENTER + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 1 + 2 + 6 + 7 + + + + + + + + True + Dev9 + False + False + GTK_JUSTIFY_CENTER + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + 1 + 6 + 7 + + + + + + + + True + GTK_BUTTONBOX_DEFAULT_STYLE + 0 + + + + True + True + True + Configure + True + GTK_RELIEF_NORMAL + True + + + + + + + True + True + True + Test + True + GTK_RELIEF_NORMAL + True + + + + + + + True + True + True + About + True + GTK_RELIEF_NORMAL + True + + + + + + 0 + 1 + 8 + 9 + + + + + + + True + GTK_BUTTONBOX_DEFAULT_STYLE + 0 + + + + True + True + True + Configure + True + GTK_RELIEF_NORMAL + True + + + + + + + True + True + True + Test + True + GTK_RELIEF_NORMAL + True + + + + + + + True + True + True + About + True + GTK_RELIEF_NORMAL + True + + + + + + 1 + 2 + 2 + 3 + + + + + + + + True + Sound + False + False + GTK_JUSTIFY_CENTER + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 1 + 2 + 0 + 1 + + + + + + + + True + Second Controller + False + False + GTK_JUSTIFY_CENTER + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 1 + 2 + 3 + 4 + + + + + + + + True + First Controller + False + False + GTK_JUSTIFY_CENTER + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + 1 + 3 + 4 + + + + + + + + True + Graphics + False + False + GTK_JUSTIFY_CENTER + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + 1 + 0 + 1 + + + + + + + + True + GTK_BUTTONBOX_DEFAULT_STYLE + 0 + + + + True + True + True + Configure + True + GTK_RELIEF_NORMAL + True + + + + + + + True + True + True + Test + True + GTK_RELIEF_NORMAL + True + + + + + + + True + True + True + About + True + GTK_RELIEF_NORMAL + True + + + + + + 0 + 1 + 2 + 3 + + + + + + + True + GTK_BUTTONBOX_DEFAULT_STYLE + 0 + + + + True + True + True + Configure + True + GTK_RELIEF_NORMAL + True + + + + + + + True + True + True + Test + True + GTK_RELIEF_NORMAL + True + + + + + + + True + True + True + About + True + GTK_RELIEF_NORMAL + True + + + + + + 0 + 1 + 5 + 6 + + + + + + + + True + GTK_BUTTONBOX_DEFAULT_STYLE + 0 + + + + True + True + True + Configure + True + GTK_RELIEF_NORMAL + True + + + + + + + True + True + True + Test + True + GTK_RELIEF_NORMAL + True + + + + + + + True + True + True + About + True + GTK_RELIEF_NORMAL + True + + + + + + 1 + 2 + 5 + 6 + + + + + + + True + + False + True + + + 1 + 2 + 10 + 11 + + + + + + True + + False + True + + + 0 + 1 + 10 + 11 + + + + + + True + + False + True + + + 1 + 2 + 7 + 8 + + + + + + True + + False + True + + + 0 + 1 + 7 + 8 + + + + + + True + + False + True + + + 1 + 2 + 4 + 5 + + + + + + True + + False + True + + + 0 + 1 + 4 + 5 + + + + + + True + + False + True + + + 1 + 2 + 1 + 2 + + + + + + True + + False + True + + + 0 + 1 + 1 + 2 + + + + + + True + + False + True + + + 1 + 2 + 13 + 14 + + + + + 0 + True + True + + + + + + True + False + 14 + + + + True + GTK_BUTTONBOX_START + 0 + + + + True + True + True + Select Plugins Dir + True + GTK_RELIEF_NORMAL + True + + + + + + + True + True + True + Select Bios Dir + True + GTK_RELIEF_NORMAL + True + + + + + + 0 + False + True + + + + + + True + GTK_BUTTONBOX_DEFAULT_STYLE + 0 + + + + True + True + True + gtk-ok + True + GTK_RELIEF_NORMAL + True + + + + + + + True + True + True + gtk-cancel + True + GTK_RELIEF_NORMAL + True + + + + + + 0 + True + True + + + + + 0 + True + True + + + + + + + + 10 + True + Pcsx About + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + False + True + False + True + False + False + GDK_WINDOW_TYPE_HINT_NORMAL + GDK_GRAVITY_NORTH_WEST + True + False + + + + True + False + 0 + + + + True + False + 0 + + + + True + PCSX2 + +Version x.x + False + False + GTK_JUSTIFY_CENTER + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + 5 + True + 0 + 0.5 + GTK_SHADOW_ETCHED_IN + + + + 5 + True + False + 0 + + + + True + written by... + False + False + GTK_JUSTIFY_CENTER + True + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + + 0 + False + False + + + + + 0 + True + True + + + + + + 5 + True + 0 + 0.5 + GTK_SHADOW_ETCHED_IN + + + + 5 + True + False + 0 + + + + True + greets to... + False + False + GTK_JUSTIFY_CENTER + True + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + + 0 + False + False + + + + + + True + GTK_BUTTONBOX_EDGE + 0 + + + + True + True + True + gtk-ok + True + GTK_RELIEF_NORMAL + True + + + + + + 0 + False + False + + + + + + + + True + PCSX + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_CENTER + False + True + False + True + False + False + GDK_WINDOW_TYPE_HINT_NORMAL + GDK_GRAVITY_NORTH_WEST + True + False + + + + + + True + False + 0 + + + + True + GTK_PACK_DIRECTION_LTR + GTK_PACK_DIRECTION_LTR + + + + True + _File + True + + + + + + + True + _Run CD + True + + + + + + + True + _Load Elf + True + + + + + + + True + + + + + + True + States + True + + + + + + + True + Load + True + + + + + + + True + Slot 1 + True + + + + + + + True + Slot 2 + True + + + + + + + True + Slot 3 + True + + + + + + + True + Slot 4 + True + + + + + + + True + Slot 5 + True + + + + + + + True + Other... + True + + + + + + + + + + + True + Save + True + + + + + + + True + Slot 1 + True + + + + + + + True + Slot 2 + True + + + + + + + True + Slot 3 + True + + + + + + + True + Slot 4 + True + + + + + + + True + Slot 5 + True + + + + + + + True + Other... + True + + + + + + + + + + + + + + + True + E_xit + True + + + + + + + + + + + True + _Run + True + + + + + + + True + E_xecute + True + + + + + + + True + Re_set + True + + + + + + + True + _Arguments + True + + + + + + + + + + + True + _Config + True + + + + + + + True + _Configure + True + + + + + + + True + + + + + + True + _Graphics + True + + + + + + + True + C_ontrollers + True + + + + + + + True + _Sound + True + + + + + + + True + _Cdvdrom + True + + + + + + + True + D_ev9 + True + + + + + + + True + U_SB + True + + + + + + + True + Fire_Wire + True + + + + + + + True + + + + + + True + C_pu + True + + + + + + + True + Game Fixes + True + + + + + + + True + Speed Hacks + True + + + + + + + True + Advanced + True + + + + + + + + + + + True + _Language + True + + + + + + True + _Misc + True + + + + + + + True + Patch _Browser + True + + + + + + + True + Patch _Finder + True + + + + + + + True + + + + + + True + Enable _Console + True + False + + + + + + + True + Enable _Patches + True + False + + + + + + + + + + + True + _Debug + True + + + + + + + True + Enter Debugger ... + True + + + + + + + True + Logging + True + + + + + + + + + + + True + _Help + True + + + + + + + True + About PCSX2... + True + + + + + + + + + + 0 + False + False + + + + + + True + pcsxAbout.bmp + 0.5 + 0.5 + 0 + 0 + + + 1 + True + True + + + + + + True + False + 0 + + + + + + + 0 + True + True + + + + + + + + Patch List + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + True + True + False + False + False + False + GDK_WINDOW_TYPE_HINT_DIALOG + GDK_GRAVITY_NORTH_WEST + True + False + + + + True + False + 0 + + + + True + True + GTK_POLICY_ALWAYS + GTK_POLICY_ALWAYS + GTK_SHADOW_IN + GTK_CORNER_TOP_LEFT + + + + True + True + True + False + False + True + False + False + False + + + + + 0 + True + True + + + + + + True + False + 0 + + + + True + True + Enable / Diable + True + GTK_RELIEF_NORMAL + True + + + 0 + False + False + + + + + + True + True + Add Patch + True + GTK_RELIEF_NORMAL + True + + + 0 + False + False + + + + + + True + True + Edit Patch + True + GTK_RELIEF_NORMAL + True + + + 0 + False + False + + + + + + True + True + Add GS2v3-4 + True + GTK_RELIEF_NORMAL + True + + + 0 + False + False + + + + + + True + True + Add Raw + True + GTK_RELIEF_NORMAL + True + + + 0 + False + False + + + + + + True + True + Pnach Writer + True + GTK_RELIEF_NORMAL + True + + + 0 + False + False + + + + + + True + True + Skip Mpeg + True + GTK_RELIEF_NORMAL + True + + + 0 + False + False + + + + + + + + + + + + + + True + True + gtk-close + True + GTK_RELIEF_NORMAL + True + + + 0 + False + False + + + + + 0 + True + True + + + + + + + + True + Patch Finder + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + True + True + False + True + False + False + GDK_WINDOW_TYPE_HINT_DIALOG + GDK_GRAVITY_NORTH_WEST + True + False + + + + True + False + 0 + + + + True + False + 0 + + + + True + 0 + 0.5 + GTK_SHADOW_NONE + + + + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 12 + 0 + + + + True + False + 0 + + + + True + True + EE RAM + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + IOP RAM + True + GTK_RELIEF_NORMAL + True + False + False + True + radiobutton1 + + + 0 + False + False + + + + + + + + + + True + <b>Search In</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + label_item + + + + + 0 + True + True + + + + + + True + 0 + 0.5 + GTK_SHADOW_NONE + + + + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 12 + 0 + + + + True + 3 + 2 + False + 0 + 0 + + + + True + True + 8 bits + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + 1 + 0 + 1 + fill + + + + + + + True + True + 16 bits + True + GTK_RELIEF_NORMAL + True + False + False + True + radiobutton3 + + + 1 + 2 + 0 + 1 + fill + + + + + + + True + True + 32 bits + True + GTK_RELIEF_NORMAL + True + False + False + True + radiobutton3 + + + 0 + 1 + 1 + 2 + fill + + + + + + + True + True + 64 bits + True + GTK_RELIEF_NORMAL + True + False + False + True + radiobutton3 + + + 1 + 2 + 1 + 2 + fill + + + + + + + True + True + Unsigned + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + 1 + 2 + 3 + fill + + + + + + + + + + + True + <b>Values of Size</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + label_item + + + + + 0 + True + True + + + + + + True + 0 + 0.5 + GTK_SHADOW_NONE + + + + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 12 + 0 + + + + True + False + 0 + + + + True + True + Equal + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + Greater Then + True + GTK_RELIEF_NORMAL + True + False + False + True + radiobutton7 + + + 0 + False + False + + + + + + True + True + Less Then + True + GTK_RELIEF_NORMAL + True + False + False + True + radiobutton7 + + + 0 + False + False + + + + + + True + True + Greater Then or Equal + True + GTK_RELIEF_NORMAL + True + False + False + True + radiobutton7 + + + 0 + False + False + + + + + + True + True + Less Then or Equal + True + GTK_RELIEF_NORMAL + True + False + False + True + radiobutton7 + + + 0 + False + False + + + + + + True + True + Not Equal + True + GTK_RELIEF_NORMAL + True + False + False + True + radiobutton7 + + + 0 + False + False + + + + + + + + + + True + <b>Being</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + label_item + + + + + 0 + True + True + + + + + + True + 0 + 0.5 + GTK_SHADOW_NONE + + + + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 12 + 0 + + + + True + False + 0 + + + + True + True + Old Value + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + Specific Value + True + GTK_RELIEF_NORMAL + True + False + False + True + radiobutton13 + + + 0 + False + False + + + + + + True + True + True + True + 0 + + True + * + False + + + 0 + False + False + + + + + + + + + + True + <b>Compared To</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + label_item + + + + + 0 + True + True + + + + + 0 + True + True + + + + + + True + False + 0 + + + + True + False + 0 + + + + True + False + 0 + + + + True + Results: + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + True + %s + False + False + GTK_JUSTIFY_CENTER + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + True + True + + + + + + True + Ready to Search + False + False + GTK_JUSTIFY_RIGHT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + True + False + + + + + 0 + False + False + + + + + + True + True + GTK_POLICY_ALWAYS + GTK_POLICY_ALWAYS + GTK_SHADOW_IN + GTK_CORNER_TOP_LEFT + + + + True + True + True + False + False + True + False + False + False + + + + + 0 + True + True + + + + + 0 + True + True + + + + + + True + 2 + 2 + False + 0 + 0 + + + + True + True + gtk-clear + True + GTK_RELIEF_NORMAL + True + + + 0 + 1 + 0 + 1 + + + + + + + True + True + gtk-find + True + GTK_RELIEF_NORMAL + True + + + 1 + 2 + 0 + 1 + + + + + + + True + True + gtk-add + True + GTK_RELIEF_NORMAL + True + + + 0 + 1 + 1 + 2 + + + + + + + True + True + gtk-close + True + GTK_RELIEF_NORMAL + True + + + 1 + 2 + 1 + 2 + + + + + + 0 + False + True + + + + + 0 + True + True + + + + + + + + True + dialog1 + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + False + True + False + True + False + False + GDK_WINDOW_TYPE_HINT_DIALOG + GDK_GRAVITY_NORTH_WEST + True + False + True + + + + True + False + 0 + + + + True + GTK_BUTTONBOX_END + + + + True + True + True + gtk-ok + True + GTK_RELIEF_NORMAL + True + 0 + + + + + + + True + True + True + gtk-cancel + True + GTK_RELIEF_NORMAL + True + 0 + + + + + + 0 + False + True + GTK_PACK_END + + + + + + True + False + 0 + + + + True + False + 0 + + + + True + 0 + 0.5 + GTK_SHADOW_ETCHED_IN + + + + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 12 + 0 + + + + True + False + 0 + + + + True + CPU vendor + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + True + Family + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + True + Cpu Speed + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + True + Features + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + + + + + True + + False + True + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + label_item + + + + + 0 + True + True + + + + + + True + True + EERec - EE/IOP recompiler (Need MMX/SSE/SSE2) + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + 5 + True + 0 + 0.5 + GTK_SHADOW_ETCHED_IN + + + + 5 + True + False + 0 + + + + True + True + VU0rec - enable recompiler for VU0 unit + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + VU1rec - enable recompiler for VU1 unit + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + + + True + VU Recompilers - All options are set by default + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + label_item + + + + + 0 + True + True + + + + + + True + True + Multi threaded GS mode (MTGS) + (faster on dual core/HT CPUs, requires pcsx2 restart) + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + 0 + True + True + + + + + + True + False + 0 + + + + True + 0 + 0.5 + GTK_SHADOW_ETCHED_IN + + + + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 12 + 0 + + + + True + False + 0 + + + + True + True + Normal - All frames are rendered as fast as possible + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + Limit - Force frames to normal speeds if too fast + True + GTK_RELIEF_NORMAL + True + False + False + True + GtkRadioButton_LimitNormal + + + 0 + False + False + + + + + + True + True + Frame Skip - In order to achieve normal speeds, + some frames are skipped (faster). + Fps displayed counts skipped frames too + True + GTK_RELIEF_NORMAL + True + False + False + True + GtkRadioButton_LimitNormal + + + 0 + False + False + + + + + + True + True + VU Skip - Same as Frame Skip, but tried to skip more. + Artifacts might be present, but will be faster + True + GTK_RELIEF_NORMAL + True + False + False + True + GtkRadioButton_LimitNormal + + + 0 + False + False + + + + + + + + + + True + Frame Limiting (F4 switches in-game) + False + True + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + label_item + + + + + 0 + True + True + + + + + + True + 0 + 0.5 + GTK_SHADOW_NONE + + + + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 12 + 0 + + + + True + False + 0 + + + + True + False + 0 + + + + True + Custom FPS Limit (0=auto): + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + True + True + + + + + + True + True + 1 + 0 + True + GTK_UPDATE_ALWAYS + False + False + 0 0 9999 1 0 0 + + + 0 + False + True + GTK_PACK_END + + + + + 0 + True + True + + + + + + True + False + 0 + + + + True + Skip Frames when slower than[1]: + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + True + True + + + + + + True + True + 1 + 0 + False + GTK_UPDATE_ALWAYS + False + False + 0 0 9999 1 0 0 + + + 0 + False + True + GTK_PACK_END + + + + + 0 + True + True + + + + + + True + False + 0 + + + + True + Consecutive Frames before skipping[2]: + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + True + True + + + + + + True + True + 1 + 0 + False + GTK_UPDATE_ALWAYS + False + False + 0 0 9999 1 0 0 + + + 0 + False + True + GTK_PACK_END + + + + + 0 + True + True + + + + + + True + False + 0 + + + + True + Consecutive Frames to skip[3]: + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + True + True + + + + + + True + True + 1 + 0 + False + GTK_UPDATE_ALWAYS + False + False + 0 0 9999 1 0 0 + + + 0 + False + True + GTK_PACK_END + + + + + 0 + True + True + + + + + + True + [1] Only skips when slower then this number(0 is auto; 9999 always skips). + False + False + GTK_JUSTIFY_LEFT + True + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + True + [2] Renders this many frames before skipping (0 is default). + False + False + GTK_JUSTIFY_LEFT + True + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + True + [3] Skips this many frames before continuing (0 is default). + False + False + GTK_JUSTIFY_LEFT + True + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + + + + + True + Detailed Settings + False + True + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + label_item + + + + + 0 + True + True + + + + + 0 + True + True + + + + + 0 + True + True + + + + + + + + True + Logging + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + False + 200 + 450 + True + False + True + False + False + GDK_WINDOW_TYPE_HINT_DIALOG + GDK_GRAVITY_NORTH_WEST + True + False + True + + + + True + False + 0 + + + + True + GTK_BUTTONBOX_END + + + + True + True + True + gtk-ok + True + GTK_RELIEF_NORMAL + True + -5 + + + + + + + True + True + True + gtk-cancel + True + GTK_RELIEF_NORMAL + True + -6 + + + + + + 0 + False + True + GTK_PACK_END + + + + + + True + True + GTK_POLICY_ALWAYS + GTK_POLICY_ALWAYS + GTK_SHADOW_IN + GTK_CORNER_TOP_LEFT + + + + True + GTK_SHADOW_IN + + + + True + False + 0 + + + + True + 0 + 0.5 + GTK_SHADOW_NONE + + + + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 12 + 0 + + + + True + False + 0 + + + + True + True + Cpu Log + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + Mem Log + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + Hw Log + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + Dma Log + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + Bios Log + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + Elf Log + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + Fpu Log + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + MMI Log + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + VU0 Log + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + Cop0 Log + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + Vif Log + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + SPR Log + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + GIF Log + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + Sif Log + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + IPU Log + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + VU Micro Log + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + RPC Log + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + + + + + True + <b>EE Logs</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + label_item + + + + + 0 + True + True + + + + + + True + 0 + 0.5 + GTK_SHADOW_NONE + + + + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 12 + 0 + + + + True + False + 0 + + + + True + True + IOP Log + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + Mem Log + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + Hw Log + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + Bios Log + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + Dma Log + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + Pad Log + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + Gte Log + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + Cdr Log + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + GPU Log + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + + + + + True + <b>IOP Logs</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + label_item + + + + + 0 + True + True + + + + + + True + 0 + 0.5 + GTK_SHADOW_NONE + + + + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 12 + 0 + + + + True + False + 0 + + + + True + True + Log to STDOUT + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + SYMs Log + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + + + + + True + <b>Misc</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + label_item + + + + + 0 + True + True + + + + + + + + + 0 + True + True + + + + + + + diff --git a/pcsx2/Linux/support.c b/pcsx2/Linux/support.c index 8a9e2d9fb5..00aff29822 100644 --- a/pcsx2/Linux/support.c +++ b/pcsx2/Linux/support.c @@ -1,144 +1,144 @@ -/* - * DO NOT EDIT THIS FILE - it is generated by Glade. - */ - -#ifdef HAVE_CONFIG_H -# include -#endif - -#include -#include -#include -#include -#include - -#include - -#include "support.h" - -GtkWidget* -lookup_widget (GtkWidget *widget, - const gchar *widget_name) -{ - GtkWidget *parent, *found_widget; - - for (;;) - { - if (GTK_IS_MENU (widget)) - parent = gtk_menu_get_attach_widget (GTK_MENU (widget)); - else - parent = widget->parent; - if (!parent) - parent = (GtkWidget*) g_object_get_data (G_OBJECT (widget), "GladeParentKey"); - if (parent == NULL) - break; - widget = parent; - } - - found_widget = (GtkWidget*) g_object_get_data (G_OBJECT (widget), - widget_name); - if (!found_widget) - g_warning ("Widget not found: %s", widget_name); - return found_widget; -} - -static GList *pixmaps_directories = NULL; - -/* Use this function to set the directory containing installed pixmaps. */ -void -add_pixmap_directory (const gchar *directory) -{ - pixmaps_directories = g_list_prepend (pixmaps_directories, - g_strdup (directory)); -} - -/* This is an internally used function to find pixmap files. */ -static gchar* -find_pixmap_file (const gchar *filename) -{ - GList *elem; - - /* We step through each of the pixmaps directory to find it. */ - elem = pixmaps_directories; - while (elem) - { - gchar *pathname = g_strdup_printf ("%s%s%s", (gchar*)elem->data, - G_DIR_SEPARATOR_S, filename); - if (g_file_test (pathname, G_FILE_TEST_EXISTS)) - return pathname; - g_free (pathname); - elem = elem->next; - } - return NULL; -} - -/* This is an internally used function to create pixmaps. */ -GtkWidget* -create_pixmap (GtkWidget *widget, - const gchar *filename) -{ - gchar *pathname = NULL; - GtkWidget *pixmap; - - if (!filename || !filename[0]) - return gtk_image_new (); - - pathname = find_pixmap_file (filename); - - if (!pathname) - { - g_warning (_("Couldn't find pixmap file: %s"), filename); - return gtk_image_new (); - } - - pixmap = gtk_image_new_from_file (pathname); - g_free (pathname); - return pixmap; -} - -/* This is an internally used function to create pixmaps. */ -GdkPixbuf* -create_pixbuf (const gchar *filename) -{ - gchar *pathname = NULL; - GdkPixbuf *pixbuf; - GError *error = NULL; - - if (!filename || !filename[0]) - return NULL; - - pathname = find_pixmap_file (filename); - - if (!pathname) - { - g_warning (_("Couldn't find pixmap file: %s"), filename); - return NULL; - } - - pixbuf = gdk_pixbuf_new_from_file (pathname, &error); - if (!pixbuf) - { - fprintf (stderr, "Failed to load pixbuf file: %s: %s\n", - pathname, error->message); - g_error_free (error); - } - g_free (pathname); - return pixbuf; -} - -/* This is used to set ATK action descriptions. */ -void -glade_set_atk_action_description (AtkAction *action, - const gchar *action_name, - const gchar *description) -{ - gint n_actions, i; - - n_actions = atk_action_get_n_actions (action); - for (i = 0; i < n_actions; i++) - { - if (!strcmp (atk_action_get_name (action, i), action_name)) - atk_action_set_description (action, i, description); - } -} - +/* + * DO NOT EDIT THIS FILE - it is generated by Glade. + */ + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include +#include +#include +#include +#include + +#include + +#include "support.h" + +GtkWidget* +lookup_widget (GtkWidget *widget, + const gchar *widget_name) +{ + GtkWidget *parent, *found_widget; + + for (;;) + { + if (GTK_IS_MENU (widget)) + parent = gtk_menu_get_attach_widget (GTK_MENU (widget)); + else + parent = widget->parent; + if (!parent) + parent = (GtkWidget*) g_object_get_data (G_OBJECT (widget), "GladeParentKey"); + if (parent == NULL) + break; + widget = parent; + } + + found_widget = (GtkWidget*) g_object_get_data (G_OBJECT (widget), + widget_name); + if (!found_widget) + g_warning ("Widget not found: %s", widget_name); + return found_widget; +} + +static GList *pixmaps_directories = NULL; + +/* Use this function to set the directory containing installed pixmaps. */ +void +add_pixmap_directory (const gchar *directory) +{ + pixmaps_directories = g_list_prepend (pixmaps_directories, + g_strdup (directory)); +} + +/* This is an internally used function to find pixmap files. */ +static gchar* +find_pixmap_file (const gchar *filename) +{ + GList *elem; + + /* We step through each of the pixmaps directory to find it. */ + elem = pixmaps_directories; + while (elem) + { + gchar *pathname = g_strdup_printf ("%s%s%s", (gchar*)elem->data, + G_DIR_SEPARATOR_S, filename); + if (g_file_test (pathname, G_FILE_TEST_EXISTS)) + return pathname; + g_free (pathname); + elem = elem->next; + } + return NULL; +} + +/* This is an internally used function to create pixmaps. */ +GtkWidget* +create_pixmap (GtkWidget *widget, + const gchar *filename) +{ + gchar *pathname = NULL; + GtkWidget *pixmap; + + if (!filename || !filename[0]) + return gtk_image_new (); + + pathname = find_pixmap_file (filename); + + if (!pathname) + { + g_warning (_("Couldn't find pixmap file: %s"), filename); + return gtk_image_new (); + } + + pixmap = gtk_image_new_from_file (pathname); + g_free (pathname); + return pixmap; +} + +/* This is an internally used function to create pixmaps. */ +GdkPixbuf* +create_pixbuf (const gchar *filename) +{ + gchar *pathname = NULL; + GdkPixbuf *pixbuf; + GError *error = NULL; + + if (!filename || !filename[0]) + return NULL; + + pathname = find_pixmap_file (filename); + + if (!pathname) + { + g_warning (_("Couldn't find pixmap file: %s"), filename); + return NULL; + } + + pixbuf = gdk_pixbuf_new_from_file (pathname, &error); + if (!pixbuf) + { + fprintf (stderr, "Failed to load pixbuf file: %s: %s\n", + pathname, error->message); + g_error_free (error); + } + g_free (pathname); + return pixbuf; +} + +/* This is used to set ATK action descriptions. */ +void +glade_set_atk_action_description (AtkAction *action, + const gchar *action_name, + const gchar *description) +{ + gint n_actions, i; + + n_actions = atk_action_get_n_actions (action); + for (i = 0; i < n_actions; i++) + { + if (!strcmp (atk_action_get_name (action, i), action_name)) + atk_action_set_description (action, i, description); + } +} + diff --git a/pcsx2/Linux/support.h b/pcsx2/Linux/support.h index 160bae001c..a32649e53c 100644 --- a/pcsx2/Linux/support.h +++ b/pcsx2/Linux/support.h @@ -1,69 +1,69 @@ -/* - * DO NOT EDIT THIS FILE - it is generated by Glade. - */ - -#ifdef HAVE_CONFIG_H -# include -#endif - -#include - -/* - * Standard gettext macros. - */ -#ifdef ENABLE_NLS -# include -# undef _ -# define _(String) dgettext (PACKAGE, String) -# define Q_(String) g_strip_context ((String), gettext (String)) -# ifdef gettext_noop -# define N_(String) gettext_noop (String) -# else -# define N_(String) (String) -# endif -#else -# define textdomain(String) (String) -# define gettext(String) (String) -# define dgettext(Domain,Message) (Message) -# define dcgettext(Domain,Message,Type) (Message) -# define bindtextdomain(Domain,Directory) (Domain) -# define _(String) (String) -# define Q_(String) g_strip_context ((String), (String)) -# define N_(String) (String) -#endif - - -/* - * Public Functions. - */ - -/* - * This function returns a widget in a component created by Glade. - * Call it with the toplevel widget in the component (i.e. a window/dialog), - * or alternatively any widget in the component, and the name of the widget - * you want returned. - */ -GtkWidget* lookup_widget (GtkWidget *widget, - const gchar *widget_name); - - -/* Use this function to set the directory containing installed pixmaps. */ -void add_pixmap_directory (const gchar *directory); - - -/* - * Private Functions. - */ - -/* This is used to create the pixmaps used in the interface. */ -GtkWidget* create_pixmap (GtkWidget *widget, - const gchar *filename); - -/* This is used to create the pixbufs used in the interface. */ -GdkPixbuf* create_pixbuf (const gchar *filename); - -/* This is used to set ATK action descriptions. */ -void glade_set_atk_action_description (AtkAction *action, - const gchar *action_name, - const gchar *description); - +/* + * DO NOT EDIT THIS FILE - it is generated by Glade. + */ + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include + +/* + * Standard gettext macros. + */ +#ifdef ENABLE_NLS +# include +# undef _ +# define _(String) dgettext (PACKAGE, String) +# define Q_(String) g_strip_context ((String), gettext (String)) +# ifdef gettext_noop +# define N_(String) gettext_noop (String) +# else +# define N_(String) (String) +# endif +#else +# define textdomain(String) (String) +# define gettext(String) (String) +# define dgettext(Domain,Message) (Message) +# define dcgettext(Domain,Message,Type) (Message) +# define bindtextdomain(Domain,Directory) (Domain) +# define _(String) (String) +# define Q_(String) g_strip_context ((String), (String)) +# define N_(String) (String) +#endif + + +/* + * Public Functions. + */ + +/* + * This function returns a widget in a component created by Glade. + * Call it with the toplevel widget in the component (i.e. a window/dialog), + * or alternatively any widget in the component, and the name of the widget + * you want returned. + */ +GtkWidget* lookup_widget (GtkWidget *widget, + const gchar *widget_name); + + +/* Use this function to set the directory containing installed pixmaps. */ +void add_pixmap_directory (const gchar *directory); + + +/* + * Private Functions. + */ + +/* This is used to create the pixmaps used in the interface. */ +GtkWidget* create_pixmap (GtkWidget *widget, + const gchar *filename); + +/* This is used to create the pixbufs used in the interface. */ +GdkPixbuf* create_pixbuf (const gchar *filename); + +/* This is used to set ATK action descriptions. */ +void glade_set_atk_action_description (AtkAction *action, + const gchar *action_name, + const gchar *description); +