From 4647bdadd9b61ee0af695206379863ca5e5542a9 Mon Sep 17 00:00:00 2001 From: ramapcsx2 Date: Mon, 24 Jan 2011 18:57:06 +0000 Subject: [PATCH] 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 --- pcsx2/gui/AppConfig.h | 4 ++-- pcsx2/gui/AppUserMode.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pcsx2/gui/AppConfig.h b/pcsx2/gui/AppConfig.h index 1749029336..394ee555b7 100644 --- a/pcsx2/gui/AppConfig.h +++ b/pcsx2/gui/AppConfig.h @@ -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, }; diff --git a/pcsx2/gui/AppUserMode.cpp b/pcsx2/gui/AppUserMode.cpp index fe11117eb0..4dc3cd4d3b 100644 --- a/pcsx2/gui/AppUserMode.cpp +++ b/pcsx2/gui/AppUserMode.cpp @@ -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()