psxbios: make noisy bios prints optional
authornotaz <notasas@gmail.com>
Tue, 14 Dec 2010 17:00:42 +0000 (19:00 +0200)
committernotaz <notasas@gmail.com>
Thu, 16 Dec 2010 16:37:56 +0000 (18:37 +0200)
libpcsxcore/psxbios.c

index f2751b8..b135b52 100644 (file)
@@ -26,6 +26,9 @@
 #include "psxbios.h"
 #include "psxhw.h"
 
+#undef SysPrintf
+#define SysPrintf if (Config.PsxOut) printf
+
 char *biosA0n[256] = {
 // 0x00
        "open",         "lseek",        "read",         "write",