Skip to content

Commit 7fc6cfe

Browse files
committed
Cleanups and version bump.
1 parent 220ca74 commit 7fc6cfe

File tree

15 files changed

+83
-83
lines changed

15 files changed

+83
-83
lines changed

src/mame/audio/dcs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1165,7 +1165,7 @@ static void sdrc_remap_memory(running_machine *machine)
11651165

11661166
/* update the bank pointers */
11671167
sdrc_update_bank_pointers(machine);
1168-
1168+
11691169
/* reinstall the polling hotspot */
11701170
if (dcs.polling_offset)
11711171
dcs_polling_base = memory_install_readwrite16_handler(cpu_get_address_space(dcs.cpu, ADDRESS_SPACE_DATA), dcs.polling_offset, dcs.polling_offset, 0, 0, dcs_polling_r, dcs_polling_w);

src/mame/drivers/cntsteer.c

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ static VIDEO_START( cntsteer )
8484

8585
tilemap_set_transparent_pen(fg_tilemap,0);
8686

87-
// tilemap_set_flip(bg_tilemap, TILEMAP_FLIPX | TILEMAP_FLIPY);
87+
// tilemap_set_flip(bg_tilemap, TILEMAP_FLIPX | TILEMAP_FLIPY);
8888
}
8989

9090
static VIDEO_START( zerotrgt )
@@ -94,7 +94,7 @@ static VIDEO_START( zerotrgt )
9494

9595
tilemap_set_transparent_pen(fg_tilemap,0);
9696

97-
// tilemap_set_flip(bg_tilemap, TILEMAP_FLIPX | TILEMAP_FLIPY);
97+
// tilemap_set_flip(bg_tilemap, TILEMAP_FLIPX | TILEMAP_FLIPY);
9898
}
9999

100100
/*
@@ -167,22 +167,22 @@ static VIDEO_UPDATE( zerotrgt )
167167

168168
rot_val = rotation_sign ? (-rotation_x) : (rotation_x);
169169

170-
// popmessage("%d %02x %02x",rot_val,rotation_sign,rotation_x);
170+
// popmessage("%d %02x %02x",rot_val,rotation_sign,rotation_x);
171171

172172
if(rot_val > 90) { rot_val = 90; }
173173
if(rot_val < -90) { rot_val = -90; }
174174

175175
/*
176-
(u, v) = (a + cx + dy, b - dx + cy) when (x, y)=screen and (u, v) = tilemap
177-
*/
176+
(u, v) = (a + cx + dy, b - dx + cy) when (x, y)=screen and (u, v) = tilemap
177+
*/
178178
/*
179-
1
180-
0----|----0
181-
-1
182-
0
183-
0----|----1
184-
0
185-
*/
179+
1
180+
0----|----0
181+
-1
182+
0
183+
0----|----1
184+
0
185+
*/
186186
/*65536*z*cos(a), 65536*z*sin(a), -65536*z*sin(a), 65536*z*cos(a)*/
187187
p1 = -65536*1*cos(2*M_PI*(rot_val)/1024);
188188
p2 = -65536*1*sin(2*M_PI*(rot_val)/1024);

src/mame/drivers/cultures.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,18 +101,18 @@ static WRITE8_HANDLER( cpu_bankswitch_w )
101101

102102
static WRITE8_HANDLER( bg0_videoram_w )
103103
{
104-
104+
105105
if(video_bank==0)
106106
{
107107
int r,g,b,datax;
108108
paletteram[offset] = data;
109109
offset>>=1;
110110
datax=paletteram[offset*2]+256*paletteram[offset*2+1];
111-
111+
112112
r=((datax>>7)&0x1e)|((datax&0x4000)?0x1:0);
113113
g=((datax>>3)&0x1e)|((datax&0x2000)?0x1:0);
114114
b=((datax<<1)&0x1e)|((datax&0x1000)?0x1:0);
115-
115+
116116
palette_set_color_rgb(space->machine, offset, pal5bit(r), pal5bit(g), pal5bit(b));
117117
}
118118
else
@@ -332,7 +332,7 @@ GFXDECODE_END
332332
//WRONG!
333333
static PALETTE_INIT( cultures )
334334
{
335-
335+
336336
}
337337

338338

src/mame/drivers/deco32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ static WRITE32_HANDLER( fghthist_eeprom_w )
362362
eeprom_set_clock_line((data & 0x20) ? ASSERT_LINE : CLEAR_LINE);
363363
eeprom_write_bit(data & 0x10);
364364
eeprom_set_cs_line((data & 0x40) ? CLEAR_LINE : ASSERT_LINE);
365-
365+
366366
deco32_pri_w(space,0,data&0x1,0xffffffff); /* Bit 0 - layer priority toggle */
367367
}
368368
else if (!ACCESSING_BITS_8_15)

src/mame/drivers/esd16.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -986,7 +986,7 @@ ROM_START( hedpanio ) /* Story line & game instructions in English, copyright ye
986986
//ROM_CONTINUE( 0x10000, 0x14000)
987987
ROM_LOAD( "esd3.su06", 0x00000, 0x0c000, CRC(a88d4424) SHA1(eefb5ac79632931a36f360713c482cd079891f91) ) /* AT27C020 mask rom */
988988
ROM_CONTINUE( 0x10000, 0x34000)
989-
989+
990990
ROM_REGION( 0x600000, "gfx1", ROMREGION_DISPOSE ) /* Sprites, 16x16x5 */
991991
ROM_LOAD( "sm1.bin", 0x000000, 0x200000, CRC(8083813f) SHA1(9492e7e844e45d59f0506f69d40c338b27bd3ce3) )
992992
ROM_LOAD( "sm2.bin", 0x200000, 0x200000, CRC(7a9610e4) SHA1(21ae3ec3fbddfc66416c109b091bd885d5ba0558) )
@@ -997,7 +997,7 @@ ROM_START( hedpanio ) /* Story line & game instructions in English, copyright ye
997997
ROM_REGION( 0x400000, "gfx2", ROMREGION_DISPOSE ) /* Layers, 16x16x8 */
998998
ROM_LOAD16_BYTE( "sm3.bin", 0x000000, 0x200000, CRC(94dd4cfc) SHA1(a3f9c49611f0bc9d26166dafb44e2c5ebbb31127) )
999999
ROM_LOAD16_BYTE( "sm4.bin", 0x000001, 0x200000, CRC(6da0fb9e) SHA1(c4e7487953f45c5f6ce2ebe558b4c325f6ec54eb) )
1000-
1000+
10011001
ROM_REGION( 0x20000, "oki", 0 ) /* Samples */
10021002
ROM_LOAD( "esd4.rom", 0x000000, 0x020000, CRC(d7ca6806) SHA1(8ad668bfb5b7561cc0f3e36dfc3c936b136a4274) )
10031003
ROM_END

src/mame/drivers/igspoker.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1380,7 +1380,7 @@ static const gfx_layout charlayout8bpp =
13801380
{
13811381
8, 8, /* 8*8 characters */
13821382
RGN_FRAC(1, 1),
1383-
8,
1383+
8,
13841384
{ 0,1,2,3,4,5,6,7 },
13851385
{ 0,8,16,24,32,40,48,56 },
13861386
{ 0*64,1*64,2*64,3*64,4*64,5*64,6*64,7*64 },
@@ -1990,7 +1990,7 @@ ROM_START( citalian )
19901990
ROM_LOAD( "9.bin", 0x0000, 0x40000, CRC(dd213b5c) SHA1(82e32aa44eee227d7424553a743df48606bbd48e) )
19911991

19921992
ROM_REGION( 0x2dd, "plds",0 )
1993-
ROM_LOAD( "palce22v10h.u44.bad.dump", 0x000, 0x2dd, BAD_DUMP CRC(5c4e9024) SHA1(e9d1e4df3d79c21f4ce053a84bb7b7a43d650f91) )
1993+
ROM_LOAD( "palce22v10h.u44.bad.dump", 0x000, 0x2dd, BAD_DUMP CRC(5c4e9024) SHA1(e9d1e4df3d79c21f4ce053a84bb7b7a43d650f91) )
19941994
ROM_END
19951995

19961996
ROM_START( citaliana )

src/mame/drivers/pzletime.c

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
/*****************************************************************************************
22
3-
Puzzle Time (Prototype)
4-
Elettronica Video-Games S.R.L, 199?
5-
6-
driver by Angelo Salese and Pierpaolo Prazzoli
7-
dump and info provided by Yoshi
8-
9-
Notes:
10-
- Is the brightness effect right or there's a different video effect?
11-
- In the service menu, where you can configure game options, and when you have to
12-
choose the Game Mode, you can't see what is selected, becase the 2 halves of the
13-
palette used by txt tilemap have the same data. Is it a real game bug?
3+
Puzzle Time (Prototype)
4+
Elettronica Video-Games S.R.L, 199?
5+
6+
driver by Angelo Salese and Pierpaolo Prazzoli
7+
dump and info provided by Yoshi
8+
9+
Notes:
10+
- Is the brightness effect right or there's a different video effect?
11+
- In the service menu, where you can configure game options, and when you have to
12+
choose the Game Mode, you can't see what is selected, becase the 2 halves of the
13+
palette used by txt tilemap have the same data. Is it a real game bug?
1414
1515
*****************************************************************************************/
1616

@@ -47,7 +47,7 @@ static VIDEO_START( pzletime )
4747
{
4848
mid_tilemap = tilemap_create(machine, get_mid_tile_info,tilemap_scan_cols, 16,16,64,16);
4949
txt_tilemap = tilemap_create(machine, get_txt_tile_info,tilemap_scan_rows, 8, 8,64,32);
50-
50+
5151
tilemap_set_transparent_pen(mid_tilemap,0);
5252
tilemap_set_transparent_pen(txt_tilemap,0);
5353
}
@@ -61,7 +61,7 @@ static VIDEO_UPDATE( pzletime )
6161

6262
tilemap_set_scrolly(txt_tilemap, 0, tilemap_regs[0]-3);
6363
tilemap_set_scrollx(txt_tilemap, 0, tilemap_regs[1]);
64-
64+
6565
tilemap_set_scrolly(mid_tilemap, 0, tilemap_regs[2]-3);
6666
tilemap_set_scrollx(mid_tilemap, 0, tilemap_regs[3]-7);
6767

@@ -82,7 +82,7 @@ static VIDEO_UPDATE( pzletime )
8282
}
8383
}
8484
}
85-
85+
8686
tilemap_draw(bitmap,cliprect,mid_tilemap, 0,0);
8787

8888
{
@@ -92,20 +92,20 @@ static VIDEO_UPDATE( pzletime )
9292
{
9393
if(spriteram16[offs+0] == 8)
9494
break;
95-
96-
spr_offs = spriteram16[offs+3] & 0x0fff;
95+
96+
spr_offs = spriteram16[offs+3] & 0x0fff;
9797
sy = 0x200-(spriteram16[offs+0] & 0x1ff)-35;
9898
sx = (spriteram16[offs+1] & 0x1ff)-30;
9999
colour = (spriteram16[offs+0] & 0xf000)>>12;
100-
100+
101101
// is spriteram16[offs+0] & 0x200 flipy? it's always set
102-
102+
103103
drawgfx(bitmap,screen->machine->gfx[1],spr_offs,colour,0,1,sx,sy,cliprect,TRANSPARENCY_PEN,0);
104104
}
105105
}
106-
106+
107107
tilemap_draw(bitmap,cliprect,txt_tilemap,0,0);
108-
108+
109109
return 0;
110110
}
111111

@@ -142,9 +142,9 @@ static WRITE16_HANDLER( ticket_w )
142142
static WRITE16_HANDLER( video_regs_w )
143143
{
144144
int i;
145-
145+
146146
COMBINE_DATA(&video_regs[offset]);
147-
147+
148148
if(offset == 0)
149149
{
150150
if(video_regs[0] > 0)
@@ -205,7 +205,7 @@ static INPUT_PORTS_START( pzletime )
205205
PORT_BIT( 0x0040, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(eeprom_bit_r, NULL) /* eeprom */
206206
PORT_BIT( 0x0080, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(ticket_status_r, NULL) /* ticket dispenser */
207207
PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNKNOWN )
208-
208+
209209
PORT_START("INPUT")
210210
PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1)
211211
PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1)
@@ -270,7 +270,7 @@ static MACHINE_DRIVER_START( pzletime )
270270
MDRV_CPU_ADD("cpu",M68000,10000000)
271271
MDRV_CPU_PROGRAM_MAP(pzletime_map,0)
272272
MDRV_CPU_VBLANK_INT("screen",irq4_line_hold)
273-
273+
274274
/* video hardware */
275275
MDRV_SCREEN_ADD("screen", RASTER)
276276
MDRV_SCREEN_REFRESH_RATE(60)
@@ -300,7 +300,7 @@ MACHINE_DRIVER_END
300300
***************************************************************************/
301301

302302
ROM_START( pzletime )
303-
ROM_REGION( 0x400000, "cpu", 0 )
303+
ROM_REGION( 0x400000, "cpu", 0 )
304304
ROM_LOAD16_BYTE( "5.bin", 0x000000, 0x80000, CRC(78b027dc) SHA1(6719908a075ecf0666bb817ac8a31056a7f315c6) )
305305
ROM_LOAD16_BYTE( "1.bin", 0x000001, 0x80000, CRC(0a69cbc7) SHA1(bae8b5746209c6773da27acaec7bd535a69019d2) )
306306
ROM_LOAD16_BYTE( "6.bin", 0x100000, 0x80000, CRC(526733ef) SHA1(21a921416d1ae7b9d49789d70ae99f240b012489) )
@@ -309,10 +309,10 @@ ROM_START( pzletime )
309309
ROM_LOAD16_BYTE( "3.bin", 0x200001, 0x80000, CRC(1ddacade) SHA1(78f09fdb541e369765abfdf39607ca8f4c771d16) )
310310
ROM_LOAD16_BYTE( "8.bin", 0x300000, 0x80000, CRC(be7cf043) SHA1(5dadafb6f89f2fc373b77b18746b461117228f08) )
311311
ROM_LOAD16_BYTE( "4.bin", 0x300001, 0x80000, CRC(374ab900) SHA1(bd7f649bdf2927c1f5cb53492a08cc66c4658a72) )
312-
312+
313313
ROM_REGION( 0x80000, "user1", 0 ) /* Samples */
314314
ROM_LOAD( "12.bin", 0x00000, 0x80000, CRC(203897c1) SHA1(c2495871c796bc7f2dabca1630317313b5aa740a) )
315-
315+
316316
ROM_REGION( 0x100000, "oki", 0 )
317317
ROM_COPY( "user1", 0x000000, 0x000000, 0x020000 )
318318
ROM_COPY( "user1", 0x000000, 0x020000, 0x020000 )
@@ -322,7 +322,7 @@ ROM_START( pzletime )
322322
ROM_COPY( "user1", 0x040000, 0x0a0000, 0x020000 )
323323
ROM_COPY( "user1", 0x000000, 0x0c0000, 0x020000 )
324324
ROM_COPY( "user1", 0x060000, 0x0e0000, 0x020000 )
325-
325+
326326
ROM_REGION( 0x80000, "gfx1", ROMREGION_DISPOSE )
327327
ROM_LOAD( "10.bin", 0x00000, 0x80000, CRC(d6ed11a5) SHA1(585aad4e962e7c9ba33e96d4d53e2feddd1a6cd9) )
328328

0 commit comments

Comments
 (0)