mirror of
https://github.com/holub/mame
synced 2025-04-25 09:50:04 +03:00
Remove #include <cstdarg> from emu.h and move it into source files that still require it
This commit is contained in:
parent
edaa86db88
commit
e178fbd281
@ -20,6 +20,7 @@
|
||||
|
||||
#include "corestr.h"
|
||||
|
||||
#include <cstdarg>
|
||||
#include <cstdio>
|
||||
#include <algorithm>
|
||||
|
||||
|
@ -10,6 +10,8 @@
|
||||
#include "emu.h"
|
||||
#include "dma.h"
|
||||
|
||||
#include <cstdarg>
|
||||
|
||||
#define VERBOSE_LEVEL ( 0 )
|
||||
|
||||
static inline void ATTR_PRINTF(3,4) verboselog( device_t& device, int n_level, const char *s_fmt, ... )
|
||||
|
@ -11,6 +11,8 @@
|
||||
#include "gte.h"
|
||||
|
||||
#if 0
|
||||
#include <cstdarg>
|
||||
|
||||
void ATTR_PRINTF(2,3) GTELOG( uint32_t pc, const char *a, ...)
|
||||
{
|
||||
va_list va;
|
||||
|
@ -11,6 +11,8 @@
|
||||
#include "psx.h"
|
||||
#include "irq.h"
|
||||
|
||||
#include <cstdarg>
|
||||
|
||||
#define VERBOSE_LEVEL ( 0 )
|
||||
|
||||
#define PSX_IRQ_MASK ( 0x7fd )
|
||||
|
@ -13,6 +13,8 @@
|
||||
#include "mdec.h"
|
||||
#include "dma.h"
|
||||
|
||||
#include <cstdarg>
|
||||
|
||||
#define VERBOSE_LEVEL ( 0 )
|
||||
|
||||
static inline void ATTR_PRINTF(3,4) verboselog( device_t& device, int n_level, const char *s_fmt, ... )
|
||||
|
@ -10,6 +10,8 @@
|
||||
#include "emu.h"
|
||||
#include "rcnt.h"
|
||||
|
||||
#include <cstdarg>
|
||||
|
||||
#define VERBOSE_LEVEL ( 0 )
|
||||
|
||||
static inline void ATTR_PRINTF(3,4) verboselog( device_t& device, int n_level, const char *s_fmt, ... )
|
||||
|
@ -10,6 +10,8 @@
|
||||
#include "emu.h"
|
||||
#include "sio.h"
|
||||
|
||||
#include <cstdarg>
|
||||
|
||||
#define VERBOSE_LEVEL ( 0 )
|
||||
|
||||
static inline void ATTR_PRINTF(3,4) verboselog( device_t& device, int n_level, const char *s_fmt, ... )
|
||||
|
@ -11,6 +11,8 @@
|
||||
#include "emu.h"
|
||||
#include "adc083x.h"
|
||||
|
||||
#include <cstdarg>
|
||||
|
||||
#define VERBOSE_LEVEL ( 0 )
|
||||
|
||||
static inline void ATTR_PRINTF( 3, 4 ) verboselog( int n_level, device_t &device, const char *s_fmt, ... )
|
||||
|
@ -10,6 +10,7 @@
|
||||
#include "emu.h"
|
||||
#include "ds1204.h"
|
||||
|
||||
#include <cstdarg>
|
||||
#include <cstdio>
|
||||
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
||||
#include "emu.h"
|
||||
#include "ds1205.h"
|
||||
|
||||
#include <cstdarg>
|
||||
#include <cstdio>
|
||||
|
||||
|
||||
|
@ -11,6 +11,8 @@
|
||||
#include "emu.h"
|
||||
#include "machine/ds2401.h"
|
||||
|
||||
#include <cstdarg>
|
||||
|
||||
#define VERBOSE_LEVEL 0
|
||||
|
||||
inline void ds2401_device::verboselog(int n_level, const char *s_fmt, ...)
|
||||
|
@ -25,6 +25,8 @@ there are two standard values.
|
||||
#include "emu.h"
|
||||
#include "machine/i2cmem.h"
|
||||
|
||||
#include <cstdarg>
|
||||
|
||||
constexpr int STATE_IDLE(0);
|
||||
constexpr int STATE_DEVSEL(1);
|
||||
constexpr int STATE_ADDRESSHIGH(2);
|
||||
|
@ -16,6 +16,7 @@
|
||||
#include "screen.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstdarg>
|
||||
|
||||
|
||||
#define S3C44B0_INTCON (0x00 / 4) // Interrupt Control
|
||||
|
@ -16,6 +16,8 @@
|
||||
#include "emu.h"
|
||||
#include "machine/x76f041.h"
|
||||
|
||||
#include <cstdarg>
|
||||
|
||||
#define VERBOSE_LEVEL ( 0 )
|
||||
|
||||
inline void ATTR_PRINTF( 3, 4 ) x76f041_device::verboselog( int n_level, const char *s_fmt, ... )
|
||||
|
@ -14,6 +14,8 @@
|
||||
#include "emu.h"
|
||||
#include "machine/x76f100.h"
|
||||
|
||||
#include <cstdarg>
|
||||
|
||||
#define VERBOSE_LEVEL ( 0 )
|
||||
|
||||
inline void ATTR_PRINTF( 3, 4 ) x76f100_device::verboselog( int n_level, const char *s_fmt, ... )
|
||||
|
@ -41,6 +41,7 @@
|
||||
#include "wavwrite.h"
|
||||
|
||||
#include <atomic>
|
||||
#include <cstdarg>
|
||||
#include <iostream>
|
||||
|
||||
|
||||
|
@ -15,6 +15,8 @@
|
||||
|
||||
#include "screen.h"
|
||||
|
||||
#include <cstdarg>
|
||||
|
||||
|
||||
namespace {
|
||||
|
||||
|
@ -11,6 +11,8 @@
|
||||
#include "emu.h"
|
||||
#include "video/gf4500.h"
|
||||
|
||||
#include <cstdarg>
|
||||
|
||||
#define VERBOSE_LEVEL ( 0 )
|
||||
|
||||
static inline void ATTR_PRINTF(3,4) verboselog( device_t &device, int n_level, const char *s_fmt, ...)
|
||||
|
@ -28,7 +28,6 @@
|
||||
#include <map>
|
||||
#include <unordered_map>
|
||||
#include <unordered_set>
|
||||
#include <cstdarg>
|
||||
|
||||
// core emulator headers -- must be first (profiler needs attotime, attotime needs xtal)
|
||||
#include "emucore.h"
|
||||
|
@ -16,6 +16,7 @@
|
||||
#include "formats/atari_dsk.h"
|
||||
|
||||
#include <cctype>
|
||||
#include <cstdarg>
|
||||
|
||||
|
||||
#define VERBOSE_SERIAL 0
|
||||
|
@ -178,6 +178,7 @@
|
||||
#include "emupal.h"
|
||||
#include "speaker.h"
|
||||
|
||||
#include <cstdarg>
|
||||
#include <cstdio>
|
||||
|
||||
|
||||
|
@ -11,6 +11,8 @@
|
||||
#include "machine/s3c2410.h"
|
||||
#include "screen.h"
|
||||
|
||||
#include <cstdarg>
|
||||
|
||||
#define VERBOSE_LEVEL ( 0 )
|
||||
|
||||
struct lcd_spi_t
|
||||
|
@ -14,6 +14,8 @@
|
||||
#include "emu.h"
|
||||
#include "zs01.h"
|
||||
|
||||
#include <cstdarg>
|
||||
|
||||
#define VERBOSE_LEVEL ( 0 )
|
||||
|
||||
inline void ATTR_PRINTF( 3, 4 ) zs01_device::verboselog( int n_level, const char *s_fmt, ... )
|
||||
|
@ -18,6 +18,8 @@
|
||||
#include "softlist_dev.h"
|
||||
#include "speaker.h"
|
||||
|
||||
#include <cstdarg>
|
||||
|
||||
|
||||
namespace {
|
||||
|
||||
|
@ -322,6 +322,8 @@ Pin 22 Solder Side - Gun 2 Trigger
|
||||
#include "screen.h"
|
||||
#include "speaker.h"
|
||||
|
||||
#include <cstdarg>
|
||||
|
||||
#define C76_SPEEDUP ( 1 ) /* sound cpu idle skipping */
|
||||
#define VERBOSE_LEVEL ( 0 )
|
||||
|
||||
|
@ -1105,6 +1105,8 @@ The lever must be wired to analog port 0 (pin B22 parts side) of the Namco 48-wa
|
||||
#include "screen.h"
|
||||
#include "speaker.h"
|
||||
|
||||
#include <cstdarg>
|
||||
|
||||
|
||||
#define VERBOSE_LEVEL ( 0 )
|
||||
|
||||
|
@ -20,6 +20,8 @@
|
||||
#include "softlist_dev.h"
|
||||
#include "speaker.h"
|
||||
|
||||
#include <cstdarg>
|
||||
|
||||
|
||||
/* Sound Registers */
|
||||
#define SOUNDCNT_L HWLO(0x080) /* 0x4000080 2 R/W Control Stereo/Volume/Enable */
|
||||
|
@ -17,6 +17,8 @@
|
||||
#include "emu.h"
|
||||
#include "nds.h"
|
||||
|
||||
#include <cstdarg>
|
||||
|
||||
#define VERBOSE_LEVEL (0)
|
||||
|
||||
// Measured value from GBATEK. Actual crystal unknown.
|
||||
|
@ -69,6 +69,8 @@ end
|
||||
#include "machine/smartmed.h"
|
||||
#include "screen.h"
|
||||
|
||||
#include <cstdarg>
|
||||
|
||||
#define PALM_Z22_BATTERY_LEVEL 75
|
||||
|
||||
#define VERBOSE_LEVEL ( 0 )
|
||||
|
@ -42,6 +42,8 @@
|
||||
#include "dm7000.h"
|
||||
#include "screen.h"
|
||||
|
||||
#include <cstdarg>
|
||||
|
||||
#define VERBOSE_LEVEL ( 9 )
|
||||
|
||||
static inline void ATTR_PRINTF(3,4) verboselog( device_t &device, int n_level, const char *s_fmt, ...)
|
||||
|
@ -14,6 +14,8 @@
|
||||
#include "screen.h"
|
||||
#include "speaker.h"
|
||||
|
||||
#include <cstdarg>
|
||||
|
||||
|
||||
#define VERBOSE_LEVEL ( 0 )
|
||||
|
||||
|
@ -11,6 +11,8 @@
|
||||
#include "emu.h"
|
||||
#include "docg3.h"
|
||||
|
||||
#include <cstdarg>
|
||||
|
||||
#define VERBOSE_LEVEL ( 0 )
|
||||
|
||||
static inline void ATTR_PRINTF(3,4) verboselog( device_t &device, int n_level, const char *s_fmt, ... )
|
||||
|
Loading…
Reference in New Issue
Block a user