2012-12-19 09:30:18 +00:00
|
|
|
/****************************************************************************
|
|
|
|
* *
|
2015-11-10 05:21:49 +00:00
|
|
|
* Project64 - A Nintendo 64 emulator. *
|
2012-12-19 09:30:18 +00:00
|
|
|
* http://www.pj64-emu.com/ *
|
|
|
|
* Copyright (C) 2012 Project64. All rights reserved. *
|
|
|
|
* *
|
|
|
|
* License: *
|
|
|
|
* GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html *
|
|
|
|
* *
|
|
|
|
****************************************************************************/
|
|
|
|
#pragma once
|
|
|
|
|
2016-04-21 04:30:26 +00:00
|
|
|
/* vsprintf() needs to have both of these included. */
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdarg.h>
|
|
|
|
|
2016-06-27 07:26:35 +00:00
|
|
|
#define CPU_Message(Message,... ) if (g_bRecompilerLogging) { Recompiler_Log_Message(Message,## __VA_ARGS__); }
|
2010-11-12 05:30:08 +00:00
|
|
|
|
2016-06-27 07:26:35 +00:00
|
|
|
void Recompiler_Log_Message (const char * Message, ...);
|
|
|
|
void Start_Recompiler_Log (void);
|
|
|
|
void Stop_Recompiler_Log (void);
|
2010-11-12 05:30:08 +00:00
|
|
|
|
2016-06-27 07:26:35 +00:00
|
|
|
extern bool g_bRecompilerLogging;
|