FWnull & USBnull have been converted to use PS2Enull.h as well.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2420 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
arcum42 committed 2010-01-09 05:11:18 +00:00
1 parent d6a1ff4a93
commit 20f5dbde3d
33 files changed
+391 -1972

No files matched your search

+16 -2
View File
@@ -26,6 +26,20 @@ extern string s_strIniPath;
extern PluginLog Dev9Log;
PluginConf Ini;
void setLoggingState()
{
if (conf.Log)
{
Dev9Log.WriteToConsole = true;
Dev9Log.WriteToFile = true;
}
else
{
Dev9Log.WriteToConsole = false;
Dev9Log.WriteToFile = false;
}
}
EXPORT_C_(void) DEV9about()
{
SysMessage("Dev9null: A simple null plugin.");
@@ -43,7 +57,7 @@ void LoadConfig()
string IniPath = s_strIniPath + "/Dev9null.ini";
if (!Ini.Open(IniPath, READ_FILE))
{
Dev9Log.WriteLn("Failed to open %s\n", IniPath.c_str());
Dev9Log.WriteLn("Failed to open %s", IniPath.c_str());
SaveConfig();
return;
}
@@ -57,7 +71,7 @@ void SaveConfig()
string IniPath = s_strIniPath + "/Dev9null.ini";
if (!Ini.Open(IniPath, WRITE_FILE))
{
Dev9Log.WriteLn("Failed to open %s\n", IniPath.c_str());
Dev9Log.WriteLn("Failed to open %s", IniPath.c_str());
return;
}