mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-16 19:14:18 +01:00
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:
1 parent
d6a1ff4a93
commit
20f5dbde3d
33 files changed
+391
-1972
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user