summaryrefslogtreecommitdiff
path: root/libpcsxcore/misc.c
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-05-08 01:16:38 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-05-08 01:16:38 +0000
commit4d39defcb59600513ff65a688c54f3d6b13ca63a (patch)
treec1b89b128f8c7f53a277a8cac28979d02357d083 /libpcsxcore/misc.c
parentaaaf3199b1afd1e5f88f23ce40305a5df5455599 (diff)
downloadpcsxr-4d39defcb59600513ff65a688c54f3d6b13ca63a.tar.gz
more cleanups.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47580 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore/misc.c')
-rw-r--r--libpcsxcore/misc.c21
1 files changed, 1 insertions, 20 deletions
diff --git a/libpcsxcore/misc.c b/libpcsxcore/misc.c
index 6d4b9e92..0d801f7b 100644
--- a/libpcsxcore/misc.c
+++ b/libpcsxcore/misc.c
@@ -18,7 +18,7 @@
***************************************************************************/
/*
-* Miscellaneous functions, including savesates and CD-ROM loading.
+* Miscellaneous functions, including savestates and CD-ROM loading.
*/
#include "misc.h"
@@ -26,9 +26,6 @@
#include "mdec.h"
#include "ppf.h"
-int Log = 0;
-FILE *emuLog = NULL;
-
char CdromId[10] = "";
char CdromLabel[33] = "";
@@ -638,22 +635,6 @@ int RecvPcsxInfo() {
return 0;
}
-void __Log(char *fmt, ...) {
- va_list list;
-#ifdef LOG_STDOUT
- char tmp[1024];
-#endif
-
- va_start(list, fmt);
-#ifndef LOG_STDOUT
- vfprintf(emuLog, fmt, list);
-#else
- vsprintf(tmp, fmt, list);
- SysPrintf(tmp);
-#endif
- va_end(list);
-}
-
// remove the leading and trailing spaces in a string
void trim(char *str) {
int pos = 0;