summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-01-12 04:37:52 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-01-12 04:37:52 +0000
commit2db43c9279b994dfaf5f7f74c17b86d6b637aefd (patch)
treed2224f1c394cf88f5ba912602f861c312c037159 /gui
parent06a4408a28c4b5c2d65bd042e4a17a2b122c9f68 (diff)
downloadpcsxr-2db43c9279b994dfaf5f7f74c17b86d6b637aefd.tar.gz
- Fixed: -psxout/-slowboot not effective for GNU/Linux.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@62027 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'gui')
-rw-r--r--gui/Config.c2
-rw-r--r--gui/LnxMain.c9
2 files changed, 6 insertions, 5 deletions
diff --git a/gui/Config.c b/gui/Config.c
index aff4f1ef..8ee8bd81 100644
--- a/gui/Config.c
+++ b/gui/Config.c
@@ -128,7 +128,7 @@ int LoadConfig(PcsxConfig *Conf) {
Config.PsxAuto = GetValueb(data, "PsxAuto");
Config.Cdda = GetValueb(data, "Cdda");
Config.Debug = GetValueb(data, "Dbg");
- Config.PsxOut = GetValueb(data, "PsxOut");
+ Config.PsxOut = (Config.PsxOut || GetValueb(data, "PsxOut"));
Config.SpuIrq = GetValueb(data, "SpuIrq");
Config.RCntFix = GetValueb(data, "RCntFix");
Config.VSyncWA = GetValueb(data, "VSyncWA");
diff --git a/gui/LnxMain.c b/gui/LnxMain.c
index 247bf105..585ceab6 100644
--- a/gui/LnxMain.c
+++ b/gui/LnxMain.c
@@ -284,6 +284,8 @@ int main(int argc, char *argv[]) {
textdomain (GETTEXT_PACKAGE);
#endif
+ memset(&Config, 0, sizeof(PcsxConfig));
+
// what is the name of the config file?
// it may be redefined by -cfg on the command line
strcpy(cfgfile_basename, "pcsx.cfg");
@@ -349,7 +351,6 @@ int main(int argc, char *argv[]) {
}
}
- memset(&Config, 0, sizeof(PcsxConfig));
strcpy(Config.Net, "Disabled");
if (UseGui) gtk_init(NULL, NULL);
@@ -427,9 +428,9 @@ int main(int argc, char *argv[]) {
CheckCdrom();
- // Auto-detect: get region first, then rcnt-bios reset
- SysReset();
-
+ // Auto-detect: get region first, then rcnt-bios reset
+ SysReset();
+
if (file[0] != '\0') {
Load(file);
} else {