mirror of
https://github.com/holub/mame
synced 2025-05-30 17:41:47 +03:00
removed some unused legacy functions / flagged a few more things as deprecated / reduced the DEPRECATED noise a bit for now nw)
This commit is contained in:
parent
ab7bfd7876
commit
9ff47111da
@ -143,7 +143,7 @@ typedef device_delegate<void (device_t &)> device_interrupt_delegate;
|
||||
|
||||
// IRQ callback to be called by executing devices when an IRQ is actually taken
|
||||
typedef device_delegate<int (device_t &, int)> device_irq_acknowledge_delegate;
|
||||
ATTR_DEPRECATED typedef int (*device_irq_acknowledge_callback)(device_t *device, int irqnum);
|
||||
/*ATTR_DEPRECATED*/ typedef int (*device_irq_acknowledge_callback)(device_t *device, int irqnum);
|
||||
|
||||
|
||||
|
||||
|
@ -134,7 +134,7 @@
|
||||
typedef delegate<void ()> driver_callback_delegate;
|
||||
|
||||
// legacy callback functions
|
||||
typedef void (*legacy_callback_func)(running_machine &machine);
|
||||
/*ATTR_DEPRECATED*/ typedef void (*legacy_callback_func)(running_machine &machine);
|
||||
|
||||
|
||||
// ======================> driver_device
|
||||
@ -166,7 +166,7 @@ public:
|
||||
|
||||
// inline configuration helpers
|
||||
static void static_set_game(device_t &device, const game_driver &game);
|
||||
static void static_set_callback(device_t &device, callback_type type, legacy_callback_func callback);
|
||||
ATTR_DEPRECATED static void static_set_callback(device_t &device, callback_type type, legacy_callback_func callback);
|
||||
static void static_set_callback(device_t &device, callback_type type, driver_callback_delegate callback);
|
||||
|
||||
// generic helpers
|
||||
|
@ -558,6 +558,4 @@ void generic_pulse_irq_line(device_t *device, int irqline, int cycles) { device-
|
||||
|
||||
// legacy
|
||||
INTERRUPT_GEN( irq2_line_hold ) { device->machine().driver_data()->irq2_line_hold(*device); }
|
||||
INTERRUPT_GEN( irq2_line_pulse ) { device->machine().driver_data()->irq2_line_pulse(*device); }
|
||||
INTERRUPT_GEN( irq2_line_assert ) { device->machine().driver_data()->irq2_line_assert(*device); }
|
||||
|
||||
|
@ -106,12 +106,9 @@ void set_led_status(running_machine &machine, int num, int value);
|
||||
|
||||
/* ----- interrupt enable and vector helpers ----- */
|
||||
|
||||
void generic_pulse_irq_line(device_t *device, int irqline, int cycles); // legacy
|
||||
ATTR_DEPRECATED void generic_pulse_irq_line(device_t *device, int irqline, int cycles);
|
||||
|
||||
|
||||
// legacy
|
||||
INTERRUPT_GEN( irq2_line_hold );
|
||||
INTERRUPT_GEN( irq2_line_pulse );
|
||||
INTERRUPT_GEN( irq2_line_assert );
|
||||
ATTR_DEPRECATED INTERRUPT_GEN( irq2_line_hold );
|
||||
|
||||
#endif /* __MACHINE_GENERIC_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user