mirror of
https://github.com/holub/mame
synced 2025-04-18 22:49:58 +03:00
fix compile (nw)
This commit is contained in:
parent
ec785c5c8d
commit
8dd980348d
@ -2681,5 +2681,5 @@ void sh2_device::execute_set_input(int irqline, int state)
|
||||
}
|
||||
}
|
||||
|
||||
#include "sh2comn.c"
|
||||
#include "sh2drc.c"
|
||||
#include "sh2comn.cpp"
|
||||
#include "sh2drc.cpp"
|
||||
|
@ -2,7 +2,7 @@
|
||||
// copyright-holders:Aaron Giles
|
||||
/***************************************************************************
|
||||
|
||||
32031ops.c
|
||||
32031ops.cpp
|
||||
|
||||
TMS32031/2 emulator
|
||||
|
||||
|
@ -846,4 +846,4 @@ void tms3203x_device::execute_run()
|
||||
// CORE OPCODES
|
||||
//**************************************************************************
|
||||
|
||||
#include "32031ops.c"
|
||||
#include "32031ops.cpp"
|
||||
|
@ -105,7 +105,7 @@ void tms32051_device::DM_WRITE16(UINT16 address, UINT16 data)
|
||||
m_data->write_word(address << 1, data);
|
||||
}
|
||||
|
||||
#include "32051ops.c"
|
||||
#include "32051ops.cpp"
|
||||
#include "32051ops.h"
|
||||
|
||||
void tms32051_device::op_group_be()
|
||||
|
@ -641,35 +641,35 @@ const tms340x0_device::pixblt_b_op_func tms340x0_device::s_fill_op_table[] =
|
||||
/* 1bpp cases */
|
||||
#define BITS_PER_PIXEL 1
|
||||
#define FUNCTION_NAME(base) base##_1_op0
|
||||
#include "34010gfx.c"
|
||||
#include "34010gfx.cpp"
|
||||
#undef FUNCTION_NAME
|
||||
#undef BITS_PER_PIXEL
|
||||
|
||||
/* 2bpp cases */
|
||||
#define BITS_PER_PIXEL 2
|
||||
#define FUNCTION_NAME(base) base##_2_op0
|
||||
#include "34010gfx.c"
|
||||
#include "34010gfx.cpp"
|
||||
#undef FUNCTION_NAME
|
||||
#undef BITS_PER_PIXEL
|
||||
|
||||
/* 4bpp cases */
|
||||
#define BITS_PER_PIXEL 4
|
||||
#define FUNCTION_NAME(base) base##_4_op0
|
||||
#include "34010gfx.c"
|
||||
#include "34010gfx.cpp"
|
||||
#undef FUNCTION_NAME
|
||||
#undef BITS_PER_PIXEL
|
||||
|
||||
/* 8bpp cases */
|
||||
#define BITS_PER_PIXEL 8
|
||||
#define FUNCTION_NAME(base) base##_8_op0
|
||||
#include "34010gfx.c"
|
||||
#include "34010gfx.cpp"
|
||||
#undef FUNCTION_NAME
|
||||
#undef BITS_PER_PIXEL
|
||||
|
||||
/* 16bpp cases */
|
||||
#define BITS_PER_PIXEL 16
|
||||
#define FUNCTION_NAME(base) base##_16_op0
|
||||
#include "34010gfx.c"
|
||||
#include "34010gfx.cpp"
|
||||
#undef FUNCTION_NAME
|
||||
#undef BITS_PER_PIXEL
|
||||
|
||||
@ -687,35 +687,35 @@ const tms340x0_device::pixblt_b_op_func tms340x0_device::s_fill_op_table[] =
|
||||
/* 1bpp cases */
|
||||
#define BITS_PER_PIXEL 1
|
||||
#define FUNCTION_NAME(base) base##_1_opx
|
||||
#include "34010gfx.c"
|
||||
#include "34010gfx.cpp"
|
||||
#undef FUNCTION_NAME
|
||||
#undef BITS_PER_PIXEL
|
||||
|
||||
/* 2bpp cases */
|
||||
#define BITS_PER_PIXEL 2
|
||||
#define FUNCTION_NAME(base) base##_2_opx
|
||||
#include "34010gfx.c"
|
||||
#include "34010gfx.cpp"
|
||||
#undef FUNCTION_NAME
|
||||
#undef BITS_PER_PIXEL
|
||||
|
||||
/* 4bpp cases */
|
||||
#define BITS_PER_PIXEL 4
|
||||
#define FUNCTION_NAME(base) base##_4_opx
|
||||
#include "34010gfx.c"
|
||||
#include "34010gfx.cpp"
|
||||
#undef FUNCTION_NAME
|
||||
#undef BITS_PER_PIXEL
|
||||
|
||||
/* 8bpp cases */
|
||||
#define BITS_PER_PIXEL 8
|
||||
#define FUNCTION_NAME(base) base##_8_opx
|
||||
#include "34010gfx.c"
|
||||
#include "34010gfx.cpp"
|
||||
#undef FUNCTION_NAME
|
||||
#undef BITS_PER_PIXEL
|
||||
|
||||
/* 16bpp cases */
|
||||
#define BITS_PER_PIXEL 16
|
||||
#define FUNCTION_NAME(base) base##_16_opx
|
||||
#include "34010gfx.c"
|
||||
#include "34010gfx.cpp"
|
||||
#undef FUNCTION_NAME
|
||||
#undef BITS_PER_PIXEL
|
||||
|
||||
@ -734,35 +734,35 @@ const tms340x0_device::pixblt_b_op_func tms340x0_device::s_fill_op_table[] =
|
||||
/* 1bpp cases */
|
||||
#define BITS_PER_PIXEL 1
|
||||
#define FUNCTION_NAME(base) base##_1_op0_trans
|
||||
#include "34010gfx.c"
|
||||
#include "34010gfx.cpp"
|
||||
#undef FUNCTION_NAME
|
||||
#undef BITS_PER_PIXEL
|
||||
|
||||
/* 2bpp cases */
|
||||
#define BITS_PER_PIXEL 2
|
||||
#define FUNCTION_NAME(base) base##_2_op0_trans
|
||||
#include "34010gfx.c"
|
||||
#include "34010gfx.cpp"
|
||||
#undef FUNCTION_NAME
|
||||
#undef BITS_PER_PIXEL
|
||||
|
||||
/* 4bpp cases */
|
||||
#define BITS_PER_PIXEL 4
|
||||
#define FUNCTION_NAME(base) base##_4_op0_trans
|
||||
#include "34010gfx.c"
|
||||
#include "34010gfx.cpp"
|
||||
#undef FUNCTION_NAME
|
||||
#undef BITS_PER_PIXEL
|
||||
|
||||
/* 8bpp cases */
|
||||
#define BITS_PER_PIXEL 8
|
||||
#define FUNCTION_NAME(base) base##_8_op0_trans
|
||||
#include "34010gfx.c"
|
||||
#include "34010gfx.cpp"
|
||||
#undef FUNCTION_NAME
|
||||
#undef BITS_PER_PIXEL
|
||||
|
||||
/* 16bpp cases */
|
||||
#define BITS_PER_PIXEL 16
|
||||
#define FUNCTION_NAME(base) base##_16_op0_trans
|
||||
#include "34010gfx.c"
|
||||
#include "34010gfx.cpp"
|
||||
#undef FUNCTION_NAME
|
||||
#undef BITS_PER_PIXEL
|
||||
|
||||
@ -780,35 +780,35 @@ const tms340x0_device::pixblt_b_op_func tms340x0_device::s_fill_op_table[] =
|
||||
/* 1bpp cases */
|
||||
#define BITS_PER_PIXEL 1
|
||||
#define FUNCTION_NAME(base) base##_1_opx_trans
|
||||
#include "34010gfx.c"
|
||||
#include "34010gfx.cpp"
|
||||
#undef FUNCTION_NAME
|
||||
#undef BITS_PER_PIXEL
|
||||
|
||||
/* 2bpp cases */
|
||||
#define BITS_PER_PIXEL 2
|
||||
#define FUNCTION_NAME(base) base##_2_opx_trans
|
||||
#include "34010gfx.c"
|
||||
#include "34010gfx.cpp"
|
||||
#undef FUNCTION_NAME
|
||||
#undef BITS_PER_PIXEL
|
||||
|
||||
/* 4bpp cases */
|
||||
#define BITS_PER_PIXEL 4
|
||||
#define FUNCTION_NAME(base) base##_4_opx_trans
|
||||
#include "34010gfx.c"
|
||||
#include "34010gfx.cpp"
|
||||
#undef FUNCTION_NAME
|
||||
#undef BITS_PER_PIXEL
|
||||
|
||||
/* 8bpp cases */
|
||||
#define BITS_PER_PIXEL 8
|
||||
#define FUNCTION_NAME(base) base##_8_opx_trans
|
||||
#include "34010gfx.c"
|
||||
#include "34010gfx.cpp"
|
||||
#undef FUNCTION_NAME
|
||||
#undef BITS_PER_PIXEL
|
||||
|
||||
/* 16bpp cases */
|
||||
#define BITS_PER_PIXEL 16
|
||||
#define FUNCTION_NAME(base) base##_16_opx_trans
|
||||
#include "34010gfx.c"
|
||||
#include "34010gfx.cpp"
|
||||
#undef FUNCTION_NAME
|
||||
#undef BITS_PER_PIXEL
|
||||
|
||||
|
@ -458,14 +458,14 @@ UINT32 tms340x0_device::raster_op_21(UINT32 newpix, UINT32 oldpix) { return (old
|
||||
OPCODE TABLE & IMPLEMENTATIONS
|
||||
***************************************************************************/
|
||||
|
||||
#include "34010fld.c"
|
||||
#include "34010fld.cpp"
|
||||
|
||||
/* includes the static function prototypes and the master opcode table */
|
||||
#include "34010tbl.c"
|
||||
#include "34010tbl.cpp"
|
||||
|
||||
/* includes the actual opcode implementations */
|
||||
#include "34010ops.c"
|
||||
#include "34010gfx.c"
|
||||
#include "34010ops.cpp"
|
||||
#include "34010gfx.cpp"
|
||||
|
||||
|
||||
|
||||
|
@ -251,7 +251,7 @@ static void raster_generic_2tmu(void *dest, INT32 scanline, const poly_extent *e
|
||||
#define RASTERIZER_ENTRY(fbzcp, alpha, fog, fbz, tex0, tex1) \
|
||||
RASTERIZER(fbzcp##_##alpha##_##fog##_##fbz##_##tex0##_##tex1, (((tex0) == 0xffffffff) ? 0 : ((tex1) == 0xffffffff) ? 1 : 2), fbzcp, fbz, alpha, fog, tex0, tex1)
|
||||
|
||||
#include "voodoo.c"
|
||||
#include "voodoo.cpp"
|
||||
|
||||
#undef RASTERIZER_ENTRY
|
||||
|
||||
@ -268,7 +268,7 @@ static void raster_generic_2tmu(void *dest, INT32 scanline, const poly_extent *e
|
||||
|
||||
static const raster_info predef_raster_table[] =
|
||||
{
|
||||
#include "voodoo.c"
|
||||
#include "voodoo.cpp"
|
||||
{ 0 }
|
||||
};
|
||||
|
||||
|
@ -146,15 +146,15 @@ maketree: $(sort $(OBJDIRS))
|
||||
# generic rules
|
||||
#-------------------------------------------------
|
||||
|
||||
$(OBJ)/%.o: $(SRC)/%.c
|
||||
$(OBJ)/%.o: $(SRC)/%.cpp
|
||||
@echo Compiling $<...
|
||||
$(CC) $(CDEFS) $(CFLAGS) -c $< -o $@
|
||||
|
||||
$(OBJ)/%.pp: $(SRC)/%.c | $(OSPREBUILD)
|
||||
$(OBJ)/%.pp: $(SRC)/%.cpp | $(OSPREBUILD)
|
||||
@echo Compiling $<...
|
||||
$(CC) $(CDEFS) $(CFLAGS) -E $< -o $@
|
||||
|
||||
$(OBJ)/%.s: $(SRC)/%.c | $(OSPREBUILD)
|
||||
$(OBJ)/%.s: $(SRC)/%.cpp | $(OSPREBUILD)
|
||||
@echo Compiling $<...
|
||||
$(CC) $(CDEFS) $(CFLAGS) -S $< -o $@
|
||||
|
||||
|
@ -409,7 +409,7 @@ ADDRESS_MAP_END
|
||||
#define USE_FRONTIERS 1
|
||||
#define USE_FIXED_STV 1
|
||||
|
||||
#include "nl_kidniki.c"
|
||||
#include "nl_kidniki.cpp"
|
||||
|
||||
NETLIST_START(kidniki_interface)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user