mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-16 03:00:36 +01:00
Removed all trailing whitespace in *.c *.cpp *.h because it irritates me.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2897 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
1 parent
790cd55608
commit
4457fe40fc
1267 files changed
+17269
-17269
No files matched your search
@@ -15,7 +15,7 @@
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
|
||||
#include <string>
|
||||
using namespace std;
|
||||
|
||||
@@ -40,19 +40,19 @@ void setLoggingState()
|
||||
}
|
||||
}
|
||||
|
||||
EXPORT_C_(void) DEV9about()
|
||||
EXPORT_C_(void) DEV9about()
|
||||
{
|
||||
SysMessage("Dev9null: A simple null plugin.");
|
||||
}
|
||||
|
||||
EXPORT_C_(void) DEV9configure()
|
||||
EXPORT_C_(void) DEV9configure()
|
||||
{
|
||||
LoadConfig();
|
||||
PluginNullConfigure("Since this is a null plugin, all that is really configurable is logging.", conf.Log);
|
||||
SaveConfig();
|
||||
}
|
||||
}
|
||||
|
||||
void LoadConfig()
|
||||
void LoadConfig()
|
||||
{
|
||||
string IniPath = s_strIniPath + "/Dev9null.ini";
|
||||
if (!Ini.Open(IniPath, READ_FILE))
|
||||
@@ -61,12 +61,12 @@ void LoadConfig()
|
||||
SaveConfig();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
conf.Log = Ini.ReadInt("logging",0);
|
||||
Ini.Close();
|
||||
}
|
||||
|
||||
void SaveConfig()
|
||||
void SaveConfig()
|
||||
{
|
||||
string IniPath = s_strIniPath + "/Dev9null.ini";
|
||||
if (!Ini.Open(IniPath, WRITE_FILE))
|
||||
@@ -74,7 +74,7 @@ void SaveConfig()
|
||||
Dev9Log.WriteLn("Failed to open %s", IniPath.c_str());
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Ini.WriteInt("logging", conf.Log);
|
||||
Ini.Close();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user