diff options
Diffstat (limited to 'src/mame/video')
-rw-r--r-- | src/mame/video/dc.c | 4 | ||||
-rw-r--r-- | src/mame/video/leland.c | 8 | ||||
-rw-r--r-- | src/mame/video/neogeo.c | 2 | ||||
-rw-r--r-- | src/mame/video/taito_f3.c | 2 | ||||
-rw-r--r-- | src/mame/video/tx1.c | 30 |
5 files changed, 23 insertions, 23 deletions
diff --git a/src/mame/video/dc.c b/src/mame/video/dc.c index b15b7267edb..94bf9cfe7e8 100644 --- a/src/mame/video/dc.c +++ b/src/mame/video/dc.c @@ -634,7 +634,7 @@ static void computedilated(void) static void testdrawline(bitmap_t *bitmap, int index, int from, int to) { UINT32 *bmpaddr; -int ix, iy, i, inc, x, y, dx, dy, plotx, ploty; +int ix, iy, i, inc, x, y, dx, dy, plotx, ploty; if ((state_ta.grab[index].showvertices[to].x < 0) || (state_ta.grab[index].showvertices[to].x > 639)) return; @@ -660,7 +660,7 @@ int ix, iy, i, inc, x, y, dx, dy, plotx, ploty; if (x > inc) { x -= inc; - plotx += (dx ? dx/ix : 0); + plotx += (dx ? dx/ix : 0); bmpaddr = BITMAP_ADDR32(bitmap,ploty,plotx); *bmpaddr = MAKE_RGB(0, 0, 255); } diff --git a/src/mame/video/leland.c b/src/mame/video/leland.c index da76f5503de..1f6f12677e9 100644 --- a/src/mame/video/leland.c +++ b/src/mame/video/leland.c @@ -55,17 +55,17 @@ static TIMER_CALLBACK( scanline_callback ) int scanline = param; /* update the DACs */ - + if (!(leland_dac_control & 0x01)) leland_dac_update(0, leland_video_ram[(last_scanline) * 256 + 160]); if (!(leland_dac_control & 0x02)) leland_dac_update(1, leland_video_ram[(last_scanline) * 256 + 161]); - + last_scanline = scanline; scanline = (scanline+1) % 256; - + if (scanline == 0) { /* turn off the DACs at the start of the frame */ @@ -90,7 +90,7 @@ static VIDEO_START( leland ) /* reset videoram */ memset(leland_video_ram, 0, VRAM_SIZE); - + /* scanline timer */ scanline_timer = timer_alloc(scanline_callback, NULL); timer_adjust_oneshot(scanline_timer, video_screen_get_time_until_pos(machine->primary_screen, 0, 0), 0); diff --git a/src/mame/video/neogeo.c b/src/mame/video/neogeo.c index 8a1f82fe625..02b9fd3ddb9 100644 --- a/src/mame/video/neogeo.c +++ b/src/mame/video/neogeo.c @@ -903,7 +903,7 @@ VIDEO_START( neogeo ) state_save_register_global(auto_animation_frame_counter); state_save_register_postload(machine, regenerate_pens, NULL); - + region_zoomy = memory_region(machine, "zoomy"); } diff --git a/src/mame/video/taito_f3.c b/src/mame/video/taito_f3.c index 198346299a5..e7b361f9b4e 100644 --- a/src/mame/video/taito_f3.c +++ b/src/mame/video/taito_f3.c @@ -2557,7 +2557,7 @@ static void scanline_draw(running_machine *machine, bitmap_t *bitmap, const rect /* sprite priority==playfield priority - GSEEKER (plane leaving hangar) --> sprite + GSEEKER (plane leaving hangar) --> sprite BUBSYMPH (title) ---> sprite DARIUSG (ZONE V' BOSS) ---> playfield */ diff --git a/src/mame/video/tx1.c b/src/mame/video/tx1.c index a3eb1ce4f7a..2d0ee5a8459 100644 --- a/src/mame/video/tx1.c +++ b/src/mame/video/tx1.c @@ -198,7 +198,7 @@ WRITE16_HANDLER( tx1_bankcs_w ) if ( !(offset & 0x40) ) { /* TODO: Looks safe to remove this */ -// if ( offset & 2 ) +// if ( offset & 2 ) tx1_vregs.h_val += tx1_vregs.h_inc; } } @@ -455,7 +455,7 @@ static void tx1_draw_road(running_machine *machine, UINT8 *bitmap) UINT8 hc1_u, hc1_l; UINT8 hc0_u, hc0_l; - + UINT32 bnkls, bnkcs, bnkrs; UINT32 rl, rc, rr; @@ -590,7 +590,7 @@ static void tx1_draw_road(running_machine *machine, UINT8 *bitmap) stl = !stlf || v0 || (!v2 && !scchgf) || scchgf; selb = (!v2 && !scchgf) || v2; - rltmp = + rltmp = (v2 && !v0 && !va10) || (!v2 && v0 && !va10) || (v2 && !v0 && !va11) @@ -599,7 +599,7 @@ static void tx1_draw_road(running_machine *machine, UINT8 *bitmap) || (!v2 && v1 && !v0) || (!v2 && !v1 && v0); - rctmp = + rctmp = (v2 && !v0 && va9 && va8) || (!v2 && v0 && va9 && va8) || (v2 && !v0 && !va11) @@ -608,7 +608,7 @@ static void tx1_draw_road(running_machine *machine, UINT8 *bitmap) || (!v2 && v1 && !v0) || (!v2 && !v1 && v0); - rrtmp = + rrtmp = (v2 && !v0 && !va11 && !va10) || (!v2 && v0 && !va11 && !va10) || (v2 && !v0 && va9) @@ -834,8 +834,8 @@ static void tx1_draw_road(running_machine *machine, UINT8 *bitmap) /* Update bank counter */ bank_cnt = (bank_cnt + 1) & 0x7ff; - } - + } + tx1_vregs.h_val += tx1_vregs.h_inc; /* Finally, increment the bank accumulator */ @@ -1073,7 +1073,7 @@ static void tx1_draw_objects(running_machine *machine, UINT8 *bitmap) else color = ~ic162[prom_addr] & 0x3f; -// *BITMAP_ADDR16(bitmap, y, x) = machine->pens[TX1_COLORS_OBJ + color]; +// *BITMAP_ADDR16(bitmap, y, x) = machine->pens[TX1_COLORS_OBJ + color]; *(bitmap + 768*y + x) = 0x40 | color; } } @@ -1378,7 +1378,7 @@ static void buggyboy_draw_char(running_machine *machine, UINT8 *bitmap, int wide { UINT32 tilenum; UINT16 ram_val; - + if (wide) ram_val = buggyboy_vram[((y_offs << 4) & 0xf80) + ((x_offs >> 3) & 0x7f)]; else @@ -2122,11 +2122,11 @@ static void buggyboy_draw_objs(running_machine *machine, UINT8 *bitmap, int wide UINT32 low_addr = ((x_acc >> (FRAC + 3)) & x_mask); /* - Objects are grouped by width (either 16, 8 or 4 tiles) in - the LUT ROMs. The ROM address lines therefore indicate - width and are used to determine the correct scan order - when x-flip is set. - */ + Objects are grouped by width (either 16, 8 or 4 tiles) in + the LUT ROMs. The ROM address lines therefore indicate + width and are used to determine the correct scan order + when x-flip is set. + */ if (gxflip) { UINT32 xor_mask; @@ -2455,7 +2455,7 @@ VIDEO_UPDATE( buggyboy ) memset(bb_obj_bmp, 0, 768*240); buggyboy_draw_char(screen->machine, bb_chr_bmp, 1); -// buggyboy_draw_road(screen->machine, bb_rod_bmp, 1); +// buggyboy_draw_road(screen->machine, bb_rod_bmp, 1); buggyboy_draw_objs(screen->machine, bb_obj_bmp, 1); bb_combine_layers(screen->machine, bitmap, 0); |