diff options
Diffstat (limited to 'src/emu/cpu/mips/psx.c')
-rw-r--r-- | src/emu/cpu/mips/psx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cpu/mips/psx.c b/src/emu/cpu/mips/psx.c index 1860b606f49..f82c5890347 100644 --- a/src/emu/cpu/mips/psx.c +++ b/src/emu/cpu/mips/psx.c @@ -129,7 +129,7 @@ static const UINT32 mips_mtc0_writemask[]= }; #if 0 -void GTELOG(const char *a,...) +void ATTR_PRINTF(1,2) GTELOG(const char *a,...) { va_list va; char s_text[ 1024 ]; @@ -139,7 +139,7 @@ void GTELOG(const char *a,...) logerror( "%08x: GTE: %08x %s\n", mipscpu.pc, INS_COFUN( mipscpu.op ), s_text ); } #else -INLINE void GTELOG(const char *a, ...) {} +INLINE void ATTR_PRINTF(1,2) GTELOG(const char *a, ...) {} #endif static UINT32 getcp2dr( int n_reg ); |