Changed small logging code to something a little nicer :p

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@65 a6443dda-0b58-4228-96e9-037be469359c
This commit is contained in:
ramapcsx2 2008-08-28 15:26:49 +00:00 committed by Gregory Hainaut
parent 79bdfb72f8
commit 09bb4dd533
2 changed files with 3 additions and 7 deletions

View File

@ -104,11 +104,11 @@ void __Log(char *fmt, ...);
#else // PCSX2_DEVBUILD
#define varLog 0
#define Log 0
//NOTE: uncomment these if you want them in release to public builds
//#define varLog 0
//#define Log 0
//
//#define CPU_LOG 0&&
//#define MEM_LOG 0&&
//#define HW_LOG 0&&

View File

@ -175,11 +175,7 @@ void SaveConfig() {
//Misc
sprintf(szValue,"%u",Conf->Patch);
WritePrivateProfileString("Misc","Patch",szValue,szIniFile);
#ifdef PCSX2_DEVBUILD
sprintf(szValue,"%x",varLog);
#else
sprintf(szValue,"%x",0);
#endif
WritePrivateProfileString("Misc","varLog",szValue,szIniFile);
sprintf(szValue,"%u",Conf->Hacks);
WritePrivateProfileString("Misc","Hacks",szValue,szIniFile);