From 09bb4dd533d5c43999d8b39d4bc5a999cc444116 Mon Sep 17 00:00:00 2001 From: ramapcsx2 Date: Thu, 28 Aug 2008 15:26:49 +0000 Subject: [PATCH] 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 --- pcsx2/DebugTools/Debug.h | 6 +++--- pcsx2/windows/ini.c | 4 ---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/pcsx2/DebugTools/Debug.h b/pcsx2/DebugTools/Debug.h index a3ecc88f75..e2b7eb0616 100644 --- a/pcsx2/DebugTools/Debug.h +++ b/pcsx2/DebugTools/Debug.h @@ -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&& diff --git a/pcsx2/windows/ini.c b/pcsx2/windows/ini.c index ef58e25176..6a22778c9f 100644 --- a/pcsx2/windows/ini.c +++ b/pcsx2/windows/ini.c @@ -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);