diff options
| author | 2012-09-17 06:49:13 +0000 | |
|---|---|---|
| committer | 2012-09-17 06:49:13 +0000 | |
| commit | e25c13f2532730ebf50d0cffa0147393fd8e0228 (patch) | |
| tree | a6c25d1de7041f26afed559dbc6670fa550e6b41 /src/mess/video | |
| parent | f97e8f00818bd8d898facc206ed33ab72cf10a75 (diff) | |
Clean-ups and version bumpmame0147
note: hoarded dump removed too from coco_cart.xml, this will not be tolerated
Diffstat (limited to 'src/mess/video')
| -rw-r--r-- | src/mess/video/733_asr.c | 2 | ||||
| -rw-r--r-- | src/mess/video/733_asr.h | 2 | ||||
| -rw-r--r-- | src/mess/video/911_chr.h | 2 | ||||
| -rw-r--r-- | src/mess/video/911_vdt.c | 2 | ||||
| -rw-r--r-- | src/mess/video/911_vdt.h | 4 | ||||
| -rw-r--r-- | src/mess/video/apollo.c | 2 | ||||
| -rw-r--r-- | src/mess/video/apple1.c | 2 | ||||
| -rw-r--r-- | src/mess/video/crt.c | 4 | ||||
| -rw-r--r-- | src/mess/video/dl1416.c | 2 | ||||
| -rw-r--r-- | src/mess/video/epnick.c | 4 | ||||
| -rw-r--r-- | src/mess/video/isa_vga_ati.c | 4 | ||||
| -rw-r--r-- | src/mess/video/isa_vga_ati.h | 2 | ||||
| -rw-r--r-- | src/mess/video/mos6566.c | 4 | ||||
| -rw-r--r-- | src/mess/video/newport.c | 8 | ||||
| -rw-r--r-- | src/mess/video/vic4567.h | 2 | ||||
| -rw-r--r-- | src/mess/video/vic6567.h | 2 |
16 files changed, 24 insertions, 24 deletions
diff --git a/src/mess/video/733_asr.c b/src/mess/video/733_asr.c index 73272696c96..f3361311f99 100644 --- a/src/mess/video/733_asr.c +++ b/src/mess/video/733_asr.c @@ -34,7 +34,7 @@ enum asr_scroll_step = 8 }; -struct asr_t +struct asr_t { #if 0 UINT8 OutQueue[ASROutQueueSize]; diff --git a/src/mess/video/733_asr.h b/src/mess/video/733_asr.h index a48ed344891..e461b2033cb 100644 --- a/src/mess/video/733_asr.h +++ b/src/mess/video/733_asr.h @@ -9,7 +9,7 @@ enum asr733_chr_region_len = 128*asr733_single_char_len }; -struct asr733_init_params_t +struct asr733_init_params_t { void (*int_callback)(running_machine &machine, int state); }; diff --git a/src/mess/video/911_chr.h b/src/mess/video/911_chr.h index fe72017cee9..06b4e9bc89c 100644 --- a/src/mess/video/911_chr.h +++ b/src/mess/video/911_chr.h @@ -75,7 +75,7 @@ enum /* structure used to describe differences between national character sets and US character set */ /* much more compact than defining the complete 128-char vector */ -struct char_override_t +struct char_override_t { unsigned char char_index; /* char to replace */ unsigned short symbol_index; /* replacement symbol */ diff --git a/src/mess/video/911_vdt.c b/src/mess/video/911_vdt.c index c471b197656..0fd88bdc19f 100644 --- a/src/mess/video/911_vdt.c +++ b/src/mess/video/911_vdt.c @@ -79,7 +79,7 @@ static const unsigned short vdt911_palette[] = 2, 1 /* low intensity, reverse */ }; -struct vdt_t +struct vdt_t { vdt911_screen_size_t screen_size; /* char_960 for 960-char, 12-line model; char_1920 for 1920-char, 24-line model */ vdt911_model_t model; /* country code */ diff --git a/src/mess/video/911_vdt.h b/src/mess/video/911_vdt.h index c9204c77eb7..4b37c043366 100644 --- a/src/mess/video/911_vdt.h +++ b/src/mess/video/911_vdt.h @@ -20,7 +20,7 @@ enum GFXDECODE_EXTERN( vdt911 ); enum vdt911_screen_size_t { char_960, char_1920 }; -enum vdt911_model_t +enum vdt911_model_t { vdt911_model_US, vdt911_model_UK, @@ -33,7 +33,7 @@ enum vdt911_model_t vdt911_model_FrenchWP /* French word processing */ }; -struct vdt911_init_params_t +struct vdt911_init_params_t { vdt911_screen_size_t screen_size; vdt911_model_t model; diff --git a/src/mess/video/apollo.c b/src/mess/video/apollo.c index bf74247e929..3b4e0f10a63 100644 --- a/src/mess/video/apollo.c +++ b/src/mess/video/apollo.c @@ -843,7 +843,7 @@ const device_type APOLLO_MONO19I = &device_creator<apollo_mono19i_device>; apollo_mono19i_device::apollo_mono19i_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : apollo_mono_device(mconfig, APOLLO_MONO19I, "Apollo 19\" Monochrome Screen", tag, owner, clock) -{ +{ } //------------------------------------------------- diff --git a/src/mess/video/apple1.c b/src/mess/video/apple1.c index f0d0243e594..f094ccecd4a 100644 --- a/src/mess/video/apple1.c +++ b/src/mess/video/apple1.c @@ -186,7 +186,7 @@ static terminal_t *terminal_create( terminal_t *term; int char_width, char_height; apple1_state *state = machine.driver_data<apple1_state>(); - + char_width = machine.gfx[gfx]->width(); char_height = machine.gfx[gfx]->height(); diff --git a/src/mess/video/crt.c b/src/mess/video/crt.c index ca3f34b8cf4..48b4798dd29 100644 --- a/src/mess/video/crt.c +++ b/src/mess/video/crt.c @@ -32,7 +32,7 @@ Theory of operation: #include "video/crt.h" -struct point +struct point { int intensity; /* current intensity of the pixel */ /* a node is not in the list when (intensity == -1) */ @@ -44,7 +44,7 @@ enum intensity_pixel_not_in_list = -1 /* special value that tells that the node is not in list */ }; -struct crt_t +struct crt_t { point *list; /* array of (crt_window_width*crt_window_height) point */ int *list_head; /* head of the list of lit pixels (index in the array) */ diff --git a/src/mess/video/dl1416.c b/src/mess/video/dl1416.c index 8a25fc74d9e..f9e0a1dccd1 100644 --- a/src/mess/video/dl1416.c +++ b/src/mess/video/dl1416.c @@ -266,7 +266,7 @@ WRITE8_DEVICE_HANDLER( dl1416_data_w ) if (intf->update) intf->update(device, i, pattern); } - } + } } } else /* cursor enable is not set, so standard write */ diff --git a/src/mess/video/epnick.c b/src/mess/video/epnick.c index d020401c922..5bd81760def 100644 --- a/src/mess/video/epnick.c +++ b/src/mess/video/epnick.c @@ -43,7 +43,7 @@ /* Nick executes a Display list, in the form of a list of Line Parameter Tables, this is the form of the data */ -struct LPT_ENTRY +struct LPT_ENTRY { unsigned char SC; /* scanlines in this modeline (two's complement) */ unsigned char MB; /* the MODEBYTE (defines video display mode) */ @@ -56,7 +56,7 @@ struct LPT_ENTRY unsigned char COL[8]; /* COL0..COL7 */ }; -struct NICK_STATE +struct NICK_STATE { /* horizontal position */ unsigned char HorizontalClockCount; diff --git a/src/mess/video/isa_vga_ati.c b/src/mess/video/isa_vga_ati.c index 180a3088f60..5d02810c16b 100644 --- a/src/mess/video/isa_vga_ati.c +++ b/src/mess/video/isa_vga_ati.c @@ -1,8 +1,8 @@ /* * isa_vga_ati.c * - * Implementation of the ATi Graphics Ultra ISA Video card - * - Uses ATi 28800-6 (VGA Wonder) and ATi 38800-1 (Mach8, 8514/A clone) + * Implementation of the ATi Graphics Ultra ISA Video card + * - Uses ATi 28800-6 (VGA Wonder) and ATi 38800-1 (Mach8, 8514/A clone) * * Created on: 9/09/2012 */ diff --git a/src/mess/video/isa_vga_ati.h b/src/mess/video/isa_vga_ati.h index b4972cb826e..53f13da7c07 100644 --- a/src/mess/video/isa_vga_ati.h +++ b/src/mess/video/isa_vga_ati.h @@ -1,7 +1,7 @@ /* * isa_vga_ati.h * - * Header for ATi Graphics Ultra ISA video card + * Header for ATi Graphics Ultra ISA video card * * Created on: 9/09/2012 */ diff --git a/src/mess/video/mos6566.c b/src/mess/video/mos6566.c index 2eeadd3bcf1..ed03f97b216 100644 --- a/src/mess/video/mos6566.c +++ b/src/mess/video/mos6566.c @@ -281,7 +281,7 @@ inline void mos6566_device::vic2_clear_interrupt( int mask ) inline UINT8 mos6566_device::read_videoram(offs_t offset) { m_last_data = space(AS_0)->read_byte(offset & 0x3fff); - + return m_last_data; } @@ -799,7 +799,7 @@ void mos6566_device::device_reset() m_spr_ptr[i] = 0; m_mc_base[i] = 0; m_mc[i] = 0; - + for (int j = 0; j < 4; j++) { m_spr_draw_data[i][j] = 0; diff --git a/src/mess/video/newport.c b/src/mess/video/newport.c index 8813d000da5..42fc6d2eb77 100644 --- a/src/mess/video/newport.c +++ b/src/mess/video/newport.c @@ -52,7 +52,7 @@ static WRITE32_HANDLER( newport_xmap1_w ); static READ32_HANDLER( newport_vc2_r ); static WRITE32_HANDLER( newport_vc2_w ); -struct VC2_t +struct VC2_t { UINT16 nRegister[0x21]; UINT16 nRAM[0x8000]; @@ -79,7 +79,7 @@ struct VC2_t #define VC2_DISPLAYCTRL pNVID->VC2.nRegister[0x10] #define VC2_CONFIG pNVID->VC2.nRegister[0x1f] -struct XMAP_t +struct XMAP_t { UINT32 nRegister[0x08]; UINT32 nModeTable[0x20]; @@ -100,7 +100,7 @@ struct XMAP_t #define XMAP1_MODETBLIDX pNVID->XMAP1.nRegister[0x07] -struct REX3_t +struct REX3_t { UINT32 nDrawMode1; UINT32 nDrawMode0; @@ -180,7 +180,7 @@ struct REX3_t }; -struct CMAP_t +struct CMAP_t { UINT16 nPaletteIndex; UINT32 nPalette[0x10000]; diff --git a/src/mess/video/vic4567.h b/src/mess/video/vic4567.h index 9116e3c3432..c510bf8844e 100644 --- a/src/mess/video/vic4567.h +++ b/src/mess/video/vic4567.h @@ -26,7 +26,7 @@ typedef void (*vic3_port_changed_callback) (running_machine &, int); typedef UINT8 (*vic3_c64mem_callback)(running_machine &machine, int offset); -enum vic3_type +enum vic3_type { VIC4567_NTSC, VIC4567_PAL diff --git a/src/mess/video/vic6567.h b/src/mess/video/vic6567.h index ebdb5183c8d..4314827d5e2 100644 --- a/src/mess/video/vic6567.h +++ b/src/mess/video/vic6567.h @@ -14,7 +14,7 @@ TYPE DEFINITIONS ***************************************************************************/ -enum vic2_type +enum vic2_type { VIC6567, // VIC II NTSC VIC6569, // VIC II PAL |
