Portable-install change: Renamed the file PCSX2 looks for to know when it should run in portable mode.

The new file name is simply "portable_install" (no file extension).
Since it doesn't have an extension anymore it won't look like there's something to configure in it.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4258 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2011-01-24 18:57:06 +00:00
parent ac865c74ad
commit 4647bdadd9
2 changed files with 3 additions and 3 deletions

View File

@ -76,8 +76,8 @@ enum UserLocalDataType
// Uses the directory containing PCSX2.exe, or the current working directory (if the PCSX2
// directory could not be determined). This is considered 'portable' mode, and is typically
// detected by PCSX2 on application startup, by looking for a pcsx2_portable.ini file in
// said locations.
// detected by PCSX2 on application startup, by looking for a file simply called "portable_install"
// (no file extension) in said locations.
UserLocalFolder_Portable,
};

View File

@ -51,7 +51,7 @@ static wxFileName GetPortableIniPath()
wxString programFullPath = wxStandardPaths::Get().GetExecutablePath();
wxDirName programDir( wxFileName(programFullPath).GetPath() );
return programDir + "pcsx2_portable.ini";
return programDir + "portable_install";
}
static wxString GetMsg_PortableModeRights()