From b59859784f3d86b70fbf024fcce878c44a92d9e8 Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Mon, 5 Oct 2009 08:12:50 +0000 Subject: git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@31115 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- plugins/dfcdrom/cdr.c | 12 +- plugins/dfcdrom/cfgCdr.glade | 923 ++++++++++++++++++------------------------- 2 files changed, 386 insertions(+), 549 deletions(-) (limited to 'plugins/dfcdrom') diff --git a/plugins/dfcdrom/cdr.c b/plugins/dfcdrom/cdr.c index d6529a4d..f16a1c3a 100644 --- a/plugins/dfcdrom/cdr.c +++ b/plugins/dfcdrom/cdr.c @@ -569,17 +569,17 @@ void ExecCfg(char *arg) { strcpy(cfg, "./cfgDFCdrom"); if (stat(cfg, &buf) != -1) { - strcat(cfg, " "); - strcat(cfg, arg); - system(cfg); + if (fork() == 0) { + execl(cfg, "cfgDFCdrom", arg, NULL); + } return; } strcpy(cfg, "./cfg/DFCdrom"); if (stat(cfg, &buf) != -1) { - strcat(cfg, " "); - strcat(cfg, arg); - system(cfg); + if (fork() == 0) { + execl(cfg, "cfgDFCdrom", arg, NULL); + } return; } diff --git a/plugins/dfcdrom/cfgCdr.glade b/plugins/dfcdrom/cfgCdr.glade index 60fa04af..c926cf08 100644 --- a/plugins/dfcdrom/cfgCdr.glade +++ b/plugins/dfcdrom/cfgCdr.glade @@ -1,549 +1,386 @@ - - - + - - - 5 - True - CDR configuration - GTK_WINDOW_TOPLEVEL - GTK_WIN_POS_CENTER - True - True - False - False - - - - - True - False - 0 - - - - True - GTK_BUTTONBOX_END - - - - True - True - True - gtk-cancel - True - GTK_RELIEF_NORMAL - -6 - - - - - - - True - True - True - gtk-ok - True - GTK_RELIEF_NORMAL - -5 - - - - - - 0 - False - True - GTK_PACK_END - - - - - - True - False - 0 - - - - True - 0 - 0.5 - GTK_SHADOW_ETCHED_IN - - - - 10 - True - False - True - False - True - False - - - - True - chose yor cdrom device or type its path if it's not listed - True - True - True - 0 - - True - * - True - - - - - - True - GTK_SELECTION_BROWSE - - - - - - - - True - Select cdrom device - False - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - - - label_item - - - - - 0 - True - True - - - - - - True - 0 - 0.5 - GTK_SHADOW_ETCHED_IN - - - - True - False - 0 - - - - 5 - True - False - 0 - - - - True - Select read mode: - False - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 5 - 5 - - - 0 - False - False - - - - - - 5 - True - True - 0 - - - - - - - True - Normal (No Cache) - True - - - - - - True - Threaded - Faster (With Cache) - True - - - - - - - 1 - True - True - - - - - 0 - False - False - - - - - - True - - - 0 - True - True - - - - - - 5 - True - False - 5 - - - - True - Cache Size (Def. 64): - False - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - - - 0 - False - False - - - - - - True - True - 1 - 0 - True - GTK_UPDATE_ALWAYS - False - False - 32 32 2048 1 16 16 - - - 0 - True - True - - - - - 0 - True - True - - - - - - True - - - 0 - True - True - - - - - - 5 - True - False - 5 - - - - True - Cdrom Speed (Def. 0 = MAX): - False - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - - - 0 - False - False - - - - - - True - True - 1 - 0 - True - GTK_UPDATE_ALWAYS - False - False - 0 0 100 1 4 4 - - - 0 - True - True - - - - - 0 - True - True - - - - - - True - - hseparator - - - - 0 - True - True - - - - - - 10 - True - True - Enable subQ read - True - GTK_RELIEF_NORMAL - False - False - True - - - 0 - False - False - - - - - - - - True - Options - False - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - - - label_item - - - - - 0 - True - True - - - - - 0 - True - True - - - - - - - - 10 - 300 - 200 - True - About CDR - GTK_WINDOW_TOPLEVEL - GTK_WIN_POS_CENTER - False - True - True - True - - - - True - False - 0 - - - - True - GTK_BUTTONBOX_END - - - - True - True - True - gtk-ok - True - GTK_RELIEF_NORMAL - -5 - - - - - - 0 - False - True - GTK_PACK_END - - - - - - 10 - True - False - 0 - - - - True - <span size="xx-large"><b>CDR plugin</b></span> - False - True - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 5 - 5 - - - 0 - False - False - - - - - - True - linux CDR plugin for Pcsx + + + + True + 5 + CDR configuration + True + center + normal + False + + + + True + vertical + + + True + vertical + + + True + 0 + + + True + 10 + False + + + True + True + chose yor cdrom device or type its path if it's not listed + True + + + 0 + + + + + True + browse + + + + + + + True + Select cdrom device + + + label_item + + + + + 0 + + + + + True + 0 + + + True + vertical + + + True + 5 + + + True + 5 + 5 + Select read mode: + + + False + False + 0 + + + + + True + True + False + 5 + + + 1 + 1 + + + + + False + False + 0 + + + + + True + + + 1 + + + + + True + 5 + 5 + + + True + Cache Size (Def. 64): + + + False + False + 0 + + + + + True + True + 32 32 2048 1 16 16 + 1 + True + + + 1 + + + + + 2 + + + + + True + + + 3 + + + + + True + 5 + 5 + + + True + Cdrom Speed (Def. 0 = MAX): + + + False + False + 0 + + + + + True + True + 0 0 100 1 4 4 + 1 + True + + + 1 + + + + + 4 + + + + + True + + hseparator + + + + 5 + + + + + Enable subchannel read + True + True + False + 10 + True + True + + + False + False + 6 + + + + + + + True + Options + + + label_item + + + + + 1 + + + + + 1 + + + + + True + end + + + gtk-cancel + -6 + True + True + True + False + True + + + + False + False + 0 + + + + + gtk-ok + -5 + True + True + True + False + True + + + + False + False + 1 + + + + + False + end + 0 + + + + + + + 300 + 200 + True + 10 + About CDR + center + True + normal + + + True + vertical + + + True + 10 + vertical + + + True + 5 + 5 + <span size="xx-large"><b>CDR plugin</b></span> + True + + + False + False + 0 + + + + + True + 5 + 5 + linux CDR plugin for Pcsx - False - False - GTK_JUSTIFY_FILL - False - False - 0.5 - 0.5 - 5 - 5 - - - 0 - False - False - - - - - - True - <small>(c) linuzappz linuzappz@hotmail.com + fill + + + False + False + 1 + + + + + True + 5 + 5 + <small>(c) linuzappz linuzappz@hotmail.com xobro _xobro_@tin.it</small> - False - True - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 5 - 5 - - - 0 - False - False - - - - - 0 - True - True - - - - - - + True + + + False + False + 2 + + + + + 2 + + + + + True + end + + + gtk-ok + -5 + True + True + True + False + True + + + + False + False + 0 + + + + + False + end + 0 + + + + + -- cgit v1.2.3