diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-01-12 04:37:52 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-01-12 04:37:52 +0000 |
| commit | 2db43c9279b994dfaf5f7f74c17b86d6b637aefd (patch) | |
| tree | d2224f1c394cf88f5ba912602f861c312c037159 /gui/LnxMain.c | |
| parent | 06a4408a28c4b5c2d65bd042e4a17a2b122c9f68 (diff) | |
| download | pcsxr-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/LnxMain.c')
| -rw-r--r-- | gui/LnxMain.c | 9 |
1 files changed, 5 insertions, 4 deletions
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 { |
