Fixes so MESS on PowerPC OS X builds and works again. MAME is still a lost cause. [R. Belmont]

This commit is contained in:
R. Belmont 2012-09-15 22:16:53 +00:00
parent ab97dc30ef
commit 000f9d27ed
2 changed files with 7 additions and 1 deletions

View File

@ -108,10 +108,14 @@ ATTR_COLD void NETLIST_NAME(_name)(netlist_setup_t &netlist) \
netlist.parse((char *)downcast<netlist_t &>(netlist.netlist()).machine().root_device().memregion(_name)->base()); \
#if defined(__GNUC__) && (__GNUC__ >= 3)
#if !defined(__ppc__) && !defined (__PPC__) && !defined(__ppc64__) && !defined(__PPC64__)
#define ATTR_ALIGN __attribute__ ((aligned(128)))
#else
#define ATTR_ALIGN
#endif
#else
#define ATTR_ALIGN
#endif
//============================================================
// MACROS / netlist devices
@ -1125,6 +1129,7 @@ public:
// construction/destruction
netlist_mame_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
virtual ~netlist_mame_device() {}
static void static_set_constructor(device_t &device, void (*setup_func)(netlist_setup_t &));
@ -1168,6 +1173,7 @@ class netlist_mame_device::on_device_start
{
public:
virtual bool OnDeviceStart() = 0;
virtual ~on_device_start() {}
};
// device finder template

View File

@ -4014,7 +4014,7 @@ static void ibm8514_wait_draw_vector()
bool draw = ibm8514.wait_vector_draw;
UINT8 count = ibm8514.wait_vector_count;
UINT32 offset;
UINT8 data_size;
UINT8 data_size = 0;
int x;
if(s3.bus_size == 0) // 8-bit