diff options
| author | 2013-09-17 06:47:03 +0000 | |
|---|---|---|
| committer | 2013-09-17 06:47:03 +0000 | |
| commit | 96aa5e1c086b4927456dc88b925d8ec112f0482e (patch) | |
| tree | f59d136c51d4a065f39e3ab0d73981526c4d156b /src/emu/video | |
| parent | a7d12daf5b4c3374e8ad47a003ac7fff73d5c8fc (diff) | |
Cleanups and version bumpmame0150
Diffstat (limited to 'src/emu/video')
| -rw-r--r-- | src/emu/video/315_5124.h | 2 | ||||
| -rw-r--r-- | src/emu/video/dl1416.c | 2 | ||||
| -rw-r--r-- | src/emu/video/hd63484.h | 8 | ||||
| -rw-r--r-- | src/emu/video/huc6260.c | 2 | ||||
| -rw-r--r-- | src/emu/video/huc6261.c | 2 | ||||
| -rw-r--r-- | src/emu/video/i8275.h | 2 | ||||
| -rw-r--r-- | src/emu/video/i8275x.h | 6 | ||||
| -rw-r--r-- | src/emu/video/polynew.h | 2 | ||||
| -rw-r--r-- | src/emu/video/v9938.h | 14 |
9 files changed, 19 insertions, 21 deletions
diff --git a/src/emu/video/315_5124.h b/src/emu/video/315_5124.h index 4685e500274..b1a51352787 100644 --- a/src/emu/video/315_5124.h +++ b/src/emu/video/315_5124.h @@ -76,7 +76,7 @@ public: DECLARE_WRITE8_MEMBER( register_write ); DECLARE_READ8_MEMBER( vcount_read ); DECLARE_READ8_MEMBER( hcount_read ); - + DECLARE_PALETTE_INIT( sega315_5124 ); void hcount_latch() { hcount_latch_at_hpos( m_screen->hpos() ); }; diff --git a/src/emu/video/dl1416.c b/src/emu/video/dl1416.c index fe53baad7b8..436e494bea4 100644 --- a/src/emu/video/dl1416.c +++ b/src/emu/video/dl1416.c @@ -139,7 +139,7 @@ void dl1416_device::device_start() save_item(NAME(m_cursor_enable)); save_item(NAME(m_write_enable)); save_item(NAME(m_digit_ram)); - + m_update_func.resolve(m_update, *this); } diff --git a/src/emu/video/hd63484.h b/src/emu/video/hd63484.h index 7491311f576..2a154c612ec 100644 --- a/src/emu/video/hd63484.h +++ b/src/emu/video/hd63484.h @@ -48,7 +48,7 @@ protected: virtual void device_config_complete(); virtual void device_start(); virtual void device_reset(); - + private: // internal state UINT16 * m_ram; @@ -64,7 +64,7 @@ private: INT16 m_cpx, m_cpy; int m_regno; - + void doclr16( int opcode, UINT16 fill, int *dst, INT16 _ax, INT16 _ay ); void docpy16( int opcode, int src, int *dst, INT16 _ax, INT16 _ay ); int org_first_pixel( int _org_dpd ); @@ -76,9 +76,9 @@ private: void line( INT16 sx, INT16 sy, INT16 ex, INT16 ey, INT16 col ); void circle( INT16 sx, INT16 sy, UINT16 r, INT16 col ); void paint( int sx, int sy, int col ); - + void command_w(UINT16 cmd); - + }; extern ATTR_DEPRECATED const device_type HD63484; diff --git a/src/emu/video/huc6260.c b/src/emu/video/huc6260.c index e68a77ae0c3..d2c8af73bfa 100644 --- a/src/emu/video/huc6260.c +++ b/src/emu/video/huc6260.c @@ -62,7 +62,7 @@ void huc6260_device::device_config_complete() huc6260_device::huc6260_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : device_t(mconfig, HUC6260, "HuC6260", tag, owner, clock, "huc6260", __FILE__), + : device_t(mconfig, HUC6260, "HuC6260", tag, owner, clock, "huc6260", __FILE__), device_video_interface(mconfig, *this) { } diff --git a/src/emu/video/huc6261.c b/src/emu/video/huc6261.c index 3067c4ffa51..cb8b7fd8c07 100644 --- a/src/emu/video/huc6261.c +++ b/src/emu/video/huc6261.c @@ -38,7 +38,7 @@ void huc6261_device::device_config_complete() huc6261_device::huc6261_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : device_t(mconfig, HUC6261, "HuC6261", tag, owner, clock, "huc6261", __FILE__), + : device_t(mconfig, HUC6261, "HuC6261", tag, owner, clock, "huc6261", __FILE__), device_video_interface(mconfig, *this) { // Set up UV lookup table diff --git a/src/emu/video/i8275.h b/src/emu/video/i8275.h index 18109ef654a..c343632ebd6 100644 --- a/src/emu/video/i8275.h +++ b/src/emu/video/i8275.h @@ -59,7 +59,7 @@ struct i8275_interface }; -class i8275_device : public device_t, +class i8275_device : public device_t, public device_video_interface, public i8275_interface { diff --git a/src/emu/video/i8275x.h b/src/emu/video/i8275x.h index 741c477b8c1..36f09dc74ef 100644 --- a/src/emu/video/i8275x.h +++ b/src/emu/video/i8275x.h @@ -50,11 +50,9 @@ downcast<i8275x_device *>(device)->set_drq_callback(DEVCB2_##_drq); #define MCFG_I8275_IRQ_CALLBACK(_irq) \ - downcast<i8275x_device *>(device)->set_irq_callback(DEVCB2_##_irq); \ - + downcast<i8275x_device *>(device)->set_irq_callback(DEVCB2_##_irq); #define MCFG_I8275_HRTC_CALLBACK(_hrtc) \ - downcast<i8275x_device *>(device)->set_hrtc_callback(DEVCB2_##_hrtc); \ - + downcast<i8275x_device *>(device)->set_hrtc_callback(DEVCB2_##_hrtc); #define MCFG_I8275_VRTC_CALLBACK(_vrtc) \ downcast<i8275x_device *>(device)->set_vrtc_callback(DEVCB2_##_vrtc); diff --git a/src/emu/video/polynew.h b/src/emu/video/polynew.h index 2b51d3f3607..5703db7fc96 100644 --- a/src/emu/video/polynew.h +++ b/src/emu/video/polynew.h @@ -249,7 +249,7 @@ private: // queue management running_machine & m_machine; - screen_device * m_screen; + screen_device * m_screen; osd_work_queue * m_queue; // work queue // arrays diff --git a/src/emu/video/v9938.h b/src/emu/video/v9938.h index c1ef73d40e0..4ec6b07262b 100644 --- a/src/emu/video/v9938.h +++ b/src/emu/video/v9938.h @@ -55,7 +55,7 @@ extern const device_type V9958; // ======================> v99x8_device -class v99x8_device : public device_t, +class v99x8_device : public device_t, public device_memory_interface, public device_video_interface { @@ -77,9 +77,9 @@ public: DECLARE_READ8_MEMBER( read ); DECLARE_WRITE8_MEMBER( write ); - + DECLARE_PALETTE_INIT(v9938); - + UINT8 vram_r(); UINT8 status_r(); void palette_w(UINT8 data); @@ -245,7 +245,7 @@ class v9938_device : public v99x8_device { public: v9938_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - + protected: virtual machine_config_constructor device_mconfig_additions() const; }; @@ -254,9 +254,9 @@ class v9958_device : public v99x8_device { public: v9958_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - - DECLARE_PALETTE_INIT(v9958); - + + DECLARE_PALETTE_INIT(v9958); + protected: virtual machine_config_constructor device_mconfig_additions() const; }; |
