Skip to content

Commit 0fdce58

Browse files
committed
Cleanups and version bump.
1 parent 66bddc0 commit 0fdce58

File tree

10 files changed

+60
-60
lines changed

10 files changed

+60
-60
lines changed

src/emu/cpu/cdp1802/cdp1802.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@ static CPU_EXECUTE( cdp1802 )
896896
/* execute initialization cycle */
897897
cpustate->state = CDP1802_STATE_1_INIT;
898898
cdp1802_run(device);
899-
899+
900900
/* next state is IDLE */
901901
cpustate->state = CDP1802_STATE_1_EXECUTE;
902902
}

src/mame/drivers/cischeat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1769,7 +1769,7 @@ static INTERRUPT_GEN( interrupt_armchmp2)
17691769
{
17701770
case 0: cpu_set_input_line(device, 4, HOLD_LINE); break;
17711771
case 14: cpu_set_input_line(device, 2, HOLD_LINE); break;
1772-
1772+
17731773
default: break;
17741774
}
17751775
}

src/mame/drivers/cliffhgr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ static TIMER_CALLBACK( cliff_irq_callback )
199199
/* if we have a valid code, trigger an IRQ */
200200
if (phillips_code & 0x800000)
201201
{
202-
// printf("%2d:code = %06X\n", param, phillips_code);
202+
// printf("%2d:code = %06X\n", param, phillips_code);
203203
cputag_set_input_line(machine, "maincpu", 0, ASSERT_LINE);
204204
}
205205

src/mame/drivers/darkhors.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ static const gfx_layout layout_16x16x8_jclub2 =
619619
};
620620

621621
static GFXDECODE_START( jclub2 )
622-
//GFXDECODE_ENTRY( "maincpu", 0, layout_16x16x8_jclub2, 0, 0x10000/64 ) // color codes should be doubled
622+
//GFXDECODE_ENTRY( "maincpu", 0, layout_16x16x8_jclub2, 0, 0x10000/64 ) // color codes should be doubled
623623
GFXDECODE_END
624624

625625

@@ -679,12 +679,12 @@ VIDEO_START(jclub2)
679679
if (machine->gfx[jclub2_gfx_index] == 0)
680680
break;
681681

682-
assert(jclub2_gfx_index != MAX_GFX_ELEMENTS);
682+
assert(jclub2_gfx_index != MAX_GFX_ELEMENTS);
683683

684684
/* create the char set (gfx will then be updated dynamically from RAM) */
685685
machine->gfx[jclub2_gfx_index] = gfx_element_alloc(machine, &layout_16x16x8_jclub2, (UINT8 *)jclub2_tileram, machine->config->total_colors / 16, 0);
686686

687-
687+
688688
}
689689

690690
VIDEO_UPDATE(jclub2)

src/mame/drivers/deco_ld.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ Data East 3-boardset, same hardware as Bega's Battle & Road Blaster, Sony
1818
LDP-1000
1919
MACH3 conversion kit (ROMs, disc, decals), Pioneer PR-8210
2020
21-
There are four versions of the laserdisc.
21+
There are four versions of the laserdisc.
2222
2323
Pioneer (08359)
24-
Data East (Japan), LDS-301 with an orange label
24+
Data East (Japan), LDS-301 with an orange label
2525
Data East (USA), LDS-301A with a green label
2626
Sony (a1090731704132a)
2727
@@ -35,7 +35,7 @@ which has a similar Sony label.
3535
I peeled the Data East labels off an orange and a green labelled disc and
3636
the labels underneath were identical to the Sony labelled disc (Sony Japan,
3737
disc No.a1090731704132a).
38-
38+
3939
Physical appearances aside, the Sony and Pioneer pressed discs have
4040
identical content.
4141

src/mame/drivers/mpoker.c

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
| |___|___|___|___| |
4242
| | | | | |
4343
| |
44-
| 74LS253N 74LS253N 74LS253N 74LS253 |
44+
| 74LS253N 74LS253N 74LS253N 74LS253 |
4545
| _____________ |
4646
| | 4700uF 35V | MC7812CT |
4747
| -| Capacitor |- |
@@ -63,7 +63,7 @@
6363
| | | 74LS367N 74LS161N 74LS161N 74LS04N DM7404N |
6464
| | | |
6565
| | | 74LS245PC _________ 74LS74N LM3302N |
66-
| | | | Z80 CPU | |
66+
| | | | Z80 CPU | |
6767
| | | 74LS245PC |___U1____| MM2114N-3 74LS174N 74LS166J |
6868
| | | _____ |
6969
| |_| 74LS138N 74LS245PC 74LS245PC MM2114N-3 74LS157N |_U68_| |
@@ -148,7 +148,7 @@
148148
* CPU clock derived from #defined crystal.
149149
* 8000-8007 Output ports.
150150
* Coin related counters.
151-
* Sound components and trigger found at 8000-8003, bit2.
151+
* Sound components and trigger found at 8000-8003, bit2.
152152
* Full lamps support.
153153
* PCBs layouts & technical notes.
154154
@@ -158,10 +158,10 @@
158158
159159
- Still analyze 8000-8007 offset range remaining bits.
160160
These writes sounds like a BCD valueset.
161-
Maybe were intended formerly to send some data to 7seg display unit.
161+
Maybe were intended formerly to send some data to 7seg display unit.
162162
163163
- Color system (no bipolar PROMs in the system)
164-
164+
165165
166166
**********************************************************************************/
167167

@@ -227,7 +227,7 @@ static READ8_HANDLER( mixport_r )
227227
228228
Spark-Watchdog... The system expect status changes on bit1, otherwise stop the hardware with an error message.
229229
The line seems to be tied to a clock. We can't use XORed status due to the nested checks.
230-
If you change the status *every* read, the HW stucks.
230+
If you change the status *every* read, the HW stucks.
231231
*/
232232
static int mixdata;
233233

@@ -250,7 +250,7 @@ static READ8_HANDLER( mixport_r )
250250

251251
//static WRITE8_HANDLER( muxed_w )
252252
//{
253-
// popmessage("written : %02X %02X %02X %02X %02X %02X %02X %02X", data & 0x01, data & 0x02, data & 0x04, data & 0x08, data & 0x10, data & 0x20, data & 0x40, data & 0x80);
253+
// popmessage("written : %02X %02X %02X %02X %02X %02X %02X %02X", data & 0x01, data & 0x02, data & 0x04, data & 0x08, data & 0x10, data & 0x20, data & 0x40, data & 0x80);
254254
//}
255255

256256
/***** Port 8000 *****
@@ -440,13 +440,13 @@ static WRITE8_HANDLER( outport7_w )
440440
441441
//static WRITE8_HANDLER( sound_w )
442442
//{
443-
// dac_data_w(devtag_get_device(space->machine, "dac"), data);
443+
// dac_data_w(devtag_get_device(space->machine, "dac"), data);
444444
//}
445445
*/
446446

447447
static ADDRESS_MAP_START( main_map, ADDRESS_SPACE_PROGRAM, 8 )
448448
AM_RANGE(0x0000, 0x2fff) AM_ROM
449-
// AM_RANGE(0x0158, 0x0158) AM_WRITE (muxed_w)
449+
// AM_RANGE(0x0158, 0x0158) AM_WRITE (muxed_w)
450450
AM_RANGE(0x3800, 0x38ff) AM_RAM AM_BASE(&generic_nvram) AM_SIZE(&generic_nvram_size) /* NVRAM = 2x SCM5101E */
451451
AM_RANGE(0x4000, 0x47ff) AM_RAM AM_BASE(&mpoker_video) /* 4x MM2114N-3 */
452452
AM_RANGE(0x8000, 0x8000) AM_READ_PORT("SW1")
@@ -467,17 +467,17 @@ ADDRESS_MAP_END
467467
static INPUT_PORTS_START( mpoker )
468468

469469
PORT_START("IN1")
470-
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_1) PORT_NAME("Bet")
471-
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_2) PORT_NAME("Deal/Draw")
472-
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_N) PORT_NAME("Cancel Discards")
473-
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_M) PORT_NAME("Stand (Hold all Cards)")
474-
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_Z) PORT_NAME("Discard 1")
475-
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_X) PORT_NAME("Discard 2")
476-
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_CODE(KEYCODE_C) PORT_NAME("Discard 3")
477-
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_CODE(KEYCODE_V) PORT_NAME("Discard 4")
470+
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_1) PORT_NAME("Bet")
471+
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_2) PORT_NAME("Deal/Draw")
472+
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_N) PORT_NAME("Cancel Discards")
473+
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_M) PORT_NAME("Stand (Hold all Cards)")
474+
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_Z) PORT_NAME("Discard 1")
475+
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_X) PORT_NAME("Discard 2")
476+
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_CODE(KEYCODE_C) PORT_NAME("Discard 3")
477+
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_CODE(KEYCODE_V) PORT_NAME("Discard 4")
478478

479479
PORT_START("IN2")
480-
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON9 ) PORT_CODE(KEYCODE_B) PORT_NAME("Discard 5")
480+
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON9 ) PORT_CODE(KEYCODE_B) PORT_NAME("Discard 5")
481481
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_9) PORT_NAME("Stats")
482482
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_Q) PORT_NAME("Payout")
483483
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2)
@@ -495,7 +495,7 @@ static INPUT_PORTS_START( mpoker )
495495
PORT_DIPSETTING( 0x04, DEF_STR( 4C_1C ) )
496496
PORT_DIPSETTING( 0x05, "5 Coins/2 Credits" )
497497
PORT_DIPSETTING( 0x06, DEF_STR( 2C_1C ) )
498-
// PORT_DIPSETTING( 0x07, DEF_STR( 1C_1C ) ) --> damn check... you can't set 2 different bits pointing to the same coinage.
498+
// PORT_DIPSETTING( 0x07, DEF_STR( 1C_1C ) ) --> damn check... you can't set 2 different bits pointing to the same coinage.
499499
PORT_DIPSETTING( 0x0f, DEF_STR( 1C_1C ) )
500500
PORT_DIPSETTING( 0x0e, DEF_STR( 1C_2C ) )
501501
PORT_DIPSETTING( 0x0d, DEF_STR( 2C_5C ) )
@@ -578,9 +578,9 @@ static MACHINE_DRIVER_START( mpoker )
578578
MDRV_VIDEO_UPDATE(mpoker)
579579

580580
/* sound hardware */
581-
// MDRV_SPEAKER_STANDARD_MONO("mono")
582-
// MDRV_SOUND_ADD("dac", DAC, 0)
583-
// MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
581+
// MDRV_SPEAKER_STANDARD_MONO("mono")
582+
// MDRV_SOUND_ADD("dac", DAC, 0)
583+
// MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
584584
MACHINE_DRIVER_END
585585

586586
ROM_START( mpoker )

src/mame/drivers/taitogn.c

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -306,15 +306,15 @@ Bottom
306306
Super Puzzle Bobble (Japan)
307307
Usagi
308308
309-
Type 3 (PCMCIA Compact Flash Adaptor + Compact Flash card, sealed together with the game´s label)
309+
Type 3 (PCMCIA Compact Flash Adaptor + Compact Flash card, sealed together with the game?s label)
310310
------
311-
312-
The Compact Flash card is read protected, it is a custom Sandisk SDCFB-64 Card (64MByte)
313-
314-
Confirmed usage on.... (not all games listed)
315-
Otenami Haiken Final
316-
Kollon
317-
Zooo
311+
312+
The Compact Flash card is read protected, it is a custom Sandisk SDCFB-64 Card (64MByte)
313+
314+
Confirmed usage on.... (not all games listed)
315+
Otenami Haiken Final
316+
Kollon
317+
Zooo
318318
*/
319319

320320
#include "driver.h"
@@ -341,16 +341,16 @@ static void rf5c296_reg_w(ATTR_UNUSED running_machine *machine, UINT8 reg, UINT8
341341
switch (reg)
342342
{
343343
// Interrupt and General Control Register
344-
case 0x03:
344+
case 0x03:
345345
// Check for card reset
346346
if (!(data & 0x40))
347347
{
348348
devtag_reset(machine, "card");
349349
locked = 0x1ff;
350-
ide_set_gnet_readlock (devtag_get_device(machine, "card"), 1);
350+
ide_set_gnet_readlock (devtag_get_device(machine, "card"), 1);
351351
}
352352
break;
353-
353+
354354
default:
355355
break;
356356
}
@@ -549,7 +549,7 @@ static WRITE32_HANDLER(control_w)
549549

550550
UINT32 p = control;
551551
const device_config *mb3773 = devtag_get_device(space->machine, "mb3773");
552-
552+
553553
COMBINE_DATA(&control);
554554

555555
mb3773_set_ck(mb3773, 0, (control & 0x20) >> 5);
@@ -946,7 +946,7 @@ static MACHINE_DRIVER_START( coh3002t )
946946
MDRV_AT28C16_ADD( "at28c16", 0 )
947947
MDRV_IDE_CONTROLLER_ADD( "card", 0 )
948948
MDRV_NVRAM_HANDLER( coh3002t )
949-
949+
950950
MDRV_MB3773_ADD("mb3773")
951951
MACHINE_DRIVER_END
952952

src/mame/machine/naomibd.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,24 +45,24 @@
4545
4646
Cartridge protection info from Deunan Knute:
4747
48-
NAOMI cart can hold up to 256MB of data (well, 512 is possible too I guess), so the highest bits are used for other, dark and scary purposes.
48+
NAOMI cart can hold up to 256MB of data (well, 512 is possible too I guess), so the highest bits are used for other, dark and scary purposes.
4949
I call those bits "mode selector".
5050
5151
First it's important to note that DMA and PIO seem to have separate address counters, as well as separate mode selector registers.
5252
5353
* bit 31 (mode bit 3) is auto-advance bit
54-
When set to one the address will be automatically incremented when data is read, so you need only set it once and can just keep polling
55-
the PIO port. When zero it will stay on current address. Now this works exactly the same for DMA, and even if DMA engine is 32-byte
54+
When set to one the address will be automatically incremented when data is read, so you need only set it once and can just keep polling
55+
the PIO port. When zero it will stay on current address. Now this works exactly the same for DMA, and even if DMA engine is 32-byte
5656
per block it will repeatedly read only the first 16-bit word.
5757
5858
* bit 30 (mode bit 2) is most often as special mode switch
5959
DMA transfer with this bit set will hang. PIO will return semi-random data (floating bus?). So one function of that bit is "disable".
60-
PIO read will return all ones if DMA mode has this bit cleared, so it seems you can do either PIO or DMA but not both at the same time.
60+
PIO read will return all ones if DMA mode has this bit cleared, so it seems you can do either PIO or DMA but not both at the same time.
6161
In other words, disable DMA once before using PIO (most games using both access types do that when the DMA terminates).
6262
This bit is also used to reset the chip's internal protection mechanism on "Oh! My Goddess" to a known state.
6363
6464
* bit 29 (mode bit 1) is address shuffle bit
65-
It's actually the opposite, when set the addressing is following the chip layout and when cleared the protection chip will have it's fun
65+
It's actually the opposite, when set the addressing is following the chip layout and when cleared the protection chip will have it's fun
6666
with address lines 10 to 23(?). It's not a simple swap function, rather a lookup table and one with repeating results too.
6767
The few games I got to work never made any use of that bit, it's always set for all normal reads.
6868
@@ -133,11 +133,11 @@ static naomibd_config_table naomibd_translate_tbl[] =
133133
{
134134
{ "doa2", { 0x500, 0, 0x20504, 0x20000, 0x40508, 0x40000, 0x6050c, 0x60000, 0x80510, 0x80000,
135135
0xa0514, 0xa0000, 0xc0518, 0xc0000, 0xe051c, 0xe0000, 0x100520,0x100000, 0x118a3a, 0x120000,
136-
0x12c0d8, 0x140000, 0x147e22, 0x160000, 0x1645ce, 0x180000, 0x17c6b2, 0x1a0000,
136+
0x12c0d8, 0x140000, 0x147e22, 0x160000, 0x1645ce, 0x180000, 0x17c6b2, 0x1a0000,
137137
0x19902e, 0x1c0000, 0x1b562a, 0x1e0000, 0xffffffff, 0xffffffff } },
138138
{ "doa2m", { 0x500, 0, 0x20504, 0x20000, 0x40508, 0x40000, 0x6050c, 0x60000, 0x80510, 0x80000,
139139
0xa0514, 0xa0000, 0xc0518, 0xc0000, 0xe051c, 0xe0000, 0x100520,0x100000, 0x11a5b4, 0x120000,
140-
0x12e7c4, 0x140000, 0x1471f6, 0x160000, 0x1640c4, 0x180000, 0x1806ca, 0x1a0000,
140+
0x12e7c4, 0x140000, 0x1471f6, 0x160000, 0x1640c4, 0x180000, 0x1806ca, 0x1a0000,
141141
0x199df4, 0x1c0000, 0x1b5d0a, 0x1e0000, 0xffffffff, 0xffffffff } },
142142
};
143143

src/mame/mamedriv.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3632,7 +3632,7 @@ DokiDoki Penguin Land *not confirmed
36323632
/* Bingo-based games */
36333633
DRIVER( bingoc ) /* (c) 1989 Sega */
36343634
/* Bingo Fantasy *//* (c) 19?? Sega */
3635-
/* Bingo Star *//* (c) 19?? Sega */
3635+
/* Bingo Star *//* (c) 19?? Sega */
36363636
/* Bingo Party *//* (c) 1993 Sega */
36373637
/* BP Phoenix *//* (c) 1998 Sega */
36383638
/* BP Special *//* (c) 2000 Sega */
@@ -4296,8 +4296,8 @@ BOMULEUL CHAJARA SEGA ST-V 1997/04/11
42964296
DRIVER( mt_kcham ) /* 60 */
42974297
/* 61 */
42984298
DRIVER( mt_soni2 ) /* 62 */
4299-
//DRIVER( mt_comp1 ) /* ?? */
4300-
//DRIVER( mt_comp2 ) /* ?? */
4299+
//DRIVER( mt_comp1 ) /* ?? */
4300+
//DRIVER( mt_comp2 ) /* ?? */
43014301

43024302
/* Sega MegaPlay */
43034303
DRIVER( megaplay )
@@ -5471,7 +5471,7 @@ BOMULEUL CHAJARA SEGA ST-V 1997/04/11
54715471
DRIVER( bm2ndmix ) /* GX853 (c) 1998 (Japan) */
54725472
DRIVER( bm2ndmxa ) /* GX853 (c) 1998 (Japan) */
54735473
DRIVER( bm3rdmix ) /* GX853 (c) 1998 (Japan) */
5474-
//DRIVER( bm3rdmxb ) /* GX853 (c) 1998 (Japan) */
5474+
//DRIVER( bm3rdmxb ) /* GX853 (c) 1998 (Japan) */
54755475
DRIVER( bmcompmx ) /* GX858 (c) 1999 (Japan) */
54765476
DRIVER( hmcompmx ) /* GX858 (c) 1999 */
54775477
DRIVER( bm4thmix ) /* GX847 (c) 1999 (Japan) */
@@ -5485,10 +5485,10 @@ BOMULEUL CHAJARA SEGA ST-V 1997/04/11
54855485
DRIVER( bm7thmix ) /* GXB07 (c) 2001 (Japan) */
54865486
DRIVER( bmfinal ) /* GXC01 (c) 2002 (Japan) */
54875487

5488-
//DRIVER( popn1 ) /* GX803 (c) 1998 (Japan) */
5489-
//DRIVER( popn2 ) /* GX831 (c) 1998 (Japan) */
5490-
//DRIVER( popn3 ) /* GX980 (c) 1999 (Japan) */
5491-
//DRIVER( popnstex ) /* GX970 (c) 1999 (Japan) */
5488+
//DRIVER( popn1 ) /* GX803 (c) 1998 (Japan) */
5489+
//DRIVER( popn2 ) /* GX831 (c) 1998 (Japan) */
5490+
//DRIVER( popn3 ) /* GX980 (c) 1999 (Japan) */
5491+
//DRIVER( popnstex ) /* GX970 (c) 1999 (Japan) */
54925492

54935493
/* Firebeat games */
54945494
DRIVER( ppp ) /* GQ977 (c) 2000 */

src/version.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
***************************************************************************/
1111

1212
extern const char build_version[];
13-
const char build_version[] = "0.132u5 ("__DATE__")";
13+
const char build_version[] = "0.133 ("__DATE__")";

0 commit comments

Comments
 (0)