MSVC 2003 doesn't support vararg macros

This commit is contained in:
twinaphex 2014-06-25 03:25:45 +02:00
parent f30dc90362
commit 2fe571f401
2 changed files with 11 additions and 3 deletions

View File

@ -32,7 +32,10 @@
#include "input/multitap.h"
#define PSX_FIODBGINFO(format, ...) { /* printf(format " -- timestamp=%d -- PAD temp\n", ## __VA_ARGS__, timestamp); */ }
//#define PSX_FIODBGINFO(format, ...) { /* printf(format " -- timestamp=%d -- PAD temp\n", ## __VA_ARGS__, timestamp); */ }
static void PSX_FIODBGINFO(const char *format, ...)
{
}
namespace MDFN_IEN_PSX
{

View File

@ -68,15 +68,20 @@
system, though this will obviously need to change if we ever emulate the SPU with better precision than per-sample(pair).
*/
#define SPUIRQ_DBG(format, ...) { printf("[SPUIRQDBG] " format " -- Voice 22 CA=0x%06x,LA=0x%06x\n", ## __VA_ARGS__, Voices[22].CurAddr, Voices[22].LoopAddr); }
#include "psx.h"
#include "cdc.h"
#include "spu.h"
#include "../../libretro.h"
uint32_t IntermediateBufferPos;
int16_t IntermediateBuffer[4096][2];
//#define SPUIRQ_DBG(format, ...) { printf("[SPUIRQDBG] " format " -- Voice 22 CA=0x%06x,LA=0x%06x\n", ## __VA_ARGS__, Voices[22].CurAddr, Voices[22].LoopAddr); }
static INLINE void SPUIRQ_DBG(const char *fmt, ...)
{
}
namespace MDFN_IEN_PSX
{