diff options
Diffstat (limited to 'src/mess/video')
| -rw-r--r-- | src/mess/video/cgenie.c | 6 | ||||
| -rw-r--r-- | src/mess/video/fm7.c | 2 | ||||
| -rw-r--r-- | src/mess/video/pc_aga.h | 2 | ||||
| -rw-r--r-- | src/mess/video/rmnimbus.c | 4 | ||||
| -rw-r--r-- | src/mess/video/tx0.c | 1 | ||||
| -rw-r--r-- | src/mess/video/vic4567.h | 6 |
6 files changed, 10 insertions, 11 deletions
diff --git a/src/mess/video/cgenie.c b/src/mess/video/cgenie.c index ca6f6cfa42f..bc8231d0d0e 100644 --- a/src/mess/video/cgenie.c +++ b/src/mess/video/cgenie.c @@ -57,7 +57,7 @@ void cgenie_state::cgenie_offset_xy() Write to an indexed register of the 6845 CRTC ***************************************************************************/ WRITE8_MEMBER( cgenie_state::cgenie_register_w ) -{ +{ //int addr; switch (m_crt.idx) @@ -166,7 +166,7 @@ WRITE8_MEMBER( cgenie_state::cgenie_index_w ) Read from an indexed register of the 6845 CRTC ***************************************************************************/ READ8_MEMBER( cgenie_state::cgenie_register_r ) -{ +{ return cgenie_get_register(m_crt.idx); } @@ -217,7 +217,7 @@ int cgenie_state::cgenie_get_register(int indx) Read the index register of the 6845 CRTC ***************************************************************************/ READ8_MEMBER( cgenie_state::cgenie_index_r ) -{ +{ return m_crt.idx; } diff --git a/src/mess/video/fm7.c b/src/mess/video/fm7.c index 126623ecb53..a4d0a3817b9 100644 --- a/src/mess/video/fm7.c +++ b/src/mess/video/fm7.c @@ -645,7 +645,7 @@ READ8_MEMBER(fm7_state::fm7_vram_r) return 0xff; if(m_alu.command & 0x80) // ALU active, writes to VRAM even when reading it (go figure) - { + { fm7_alu_function(offset+page); } diff --git a/src/mess/video/pc_aga.h b/src/mess/video/pc_aga.h index 971fd5ea018..acf3414cf75 100644 --- a/src/mess/video/pc_aga.h +++ b/src/mess/video/pc_aga.h @@ -44,4 +44,4 @@ DECLARE_WRITE8_HANDLER( pc200_cga_w ); DECLARE_READ16_HANDLER( pc200_cga16le_r ); DECLARE_WRITE16_HANDLER( pc200_cga16le_w ); -#endif
\ No newline at end of file +#endif diff --git a/src/mess/video/rmnimbus.c b/src/mess/video/rmnimbus.c index efb9c4d6302..86055d6a9b5 100644 --- a/src/mess/video/rmnimbus.c +++ b/src/mess/video/rmnimbus.c @@ -82,7 +82,7 @@ static void video_regdump(running_machine &machine, int ref, int params, const c */ READ16_MEMBER(rmnimbus_state::nimbus_video_io_r) -{ +{ int pc=space.device().safe_pc(); UINT16 result; @@ -242,7 +242,7 @@ UINT16 rmnimbus_state::read_reg_00A() */ WRITE16_MEMBER(rmnimbus_state::nimbus_video_io_w) -{ +{ int pc=space.device().safe_pc(); if(offset<reg028) diff --git a/src/mess/video/tx0.c b/src/mess/video/tx0.c index 31b495d8313..cb760ba5317 100644 --- a/src/mess/video/tx0.c +++ b/src/mess/video/tx0.c @@ -54,7 +54,6 @@ void tx0_state::screen_eof_tx0(screen_device &screen, bool state) */ void tx0_state::tx0_plot(int x, int y) { - /* compute pixel coordinates and plot */ x = x*crt_window_width/0777; y = y*crt_window_height/0777; diff --git a/src/mess/video/vic4567.h b/src/mess/video/vic4567.h index 1aca87cab0c..664ea89d01c 100644 --- a/src/mess/video/vic4567.h +++ b/src/mess/video/vic4567.h @@ -25,14 +25,14 @@ struct vic3_interface const char *screen; const char *cpu; - vic3_type type; + vic3_type type; devcb_read8 x_cb; devcb_read8 y_cb; - devcb_read8 button_cb; + devcb_read8 button_cb; devcb_read8 dma_read; - devcb_read8 dma_read_color; + devcb_read8 dma_read_color; devcb_write_line irq; devcb_write8 port_changed; |
