Skip to content

Commit 7e52678

Browse files
committed
srcclean and cleanup
1 parent d2d85d3 commit 7e52678

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+316
-312
lines changed

hash/ibm5170.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24171,7 +24171,7 @@ Bombs: An amusing little desktop game.
2417124171
<description>Electronics Principles 3.0</description>
2417224172
<year>1997</year>
2417324173
<publisher>EPT Educational Software</publisher>
24174-
24174+
2417524175
<part name="flop1" interface="floppy_3_5">
2417624176
<dataarea name="flop" size="1474560">
2417724177
<rom name="disk1.img" size="1474560" crc="effbf2c7" sha1="3462a6fbc29dd0b5059c58e503cae3b0c2c75169"/>
@@ -24201,19 +24201,19 @@ Bombs: An amusing little desktop game.
2420124201
<description>HP DeskJet -kirjoitinohjelmisto DeskJet 600- ja 660C -kirjoittimille (Fin)</description>
2420224202
<year>1995</year>
2420324203
<publisher>Hewlett-Packard</publisher>
24204-
24204+
2420524205
<part name="flop1" interface="floppy_3_5">
2420624206
<dataarea name="flop" size="1474560">
2420724207
<rom name="c2184-10016.img" size="1474560" crc="601c263d" sha1="d7e8d4892a519aad964dd5f3b08fe73a9ebc066a"/>
2420824208
</dataarea>
2420924209
</part>
24210-
24210+
2421124211
<part name="flop2" interface="floppy_3_5">
2421224212
<dataarea name="flop" size="1474560">
2421324213
<rom name="c2184-10017.img" size="1474560" crc="6d69fd64" sha1="a3b11e36a0e5345a50ecebe15f0fa372bb5baf0d"/>
2421424214
</dataarea>
2421524215
</part>
24216-
24216+
2421724217
<part name="flop3" interface="floppy_3_5">
2421824218
<dataarea name="flop" size="1474560">
2421924219
<rom name="c2184-10018.img" size="1474560" crc="3e99bc78" sha1="2a9aa6bea9ca7f6197d53aa9c2cf2546c8c2e1ab"/>

hash/kisssite_cd.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -289,9 +289,9 @@ license:CC0-1.0
289289
</diskarea>
290290
</part>
291291
</software>
292-
292+
293293
<!-- Dance Karaoke Series 26 - not dumped -->
294-
294+
295295
<!-- Dance Karaoke Series 27 - seen but not dumped -->
296296

297297
<!-- Dance Karaoke Series 28 - not dumped -->
@@ -301,7 +301,7 @@ license:CC0-1.0
301301
<!-- Dance Karaoke Series 30 - not dumped -->
302302

303303
<!-- Dance Karaoke Series 31 - seen but not dumped -->
304-
304+
305305
<!-- are there discs numbered higher than 31? -->
306306

307307
<software name="dancebst" supported="no">

hash/neogeo.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11523,7 +11523,7 @@ license:CC0-1.0
1152311523
<dataarea name="sprites" size="0x2000000">
1152411524
<rom loadflag="load16_byte" name="teot-b3-c1.bin" offset="0x0000000" size="0x1000000" crc="f183c0a2" sha1="d28055f79d56f915a803ab1c1b08f08b3eaaf1fe" />
1152511525
<rom loadflag="load16_byte" name="teot-b3-c2.bin" offset="0x0000001" size="0x1000000" crc="93f47c21" sha1="9bb37e45fac53d6be67f6f6e1c9c662d73f7556e" />
11526-
</dataarea>
11526+
</dataarea>
1152711527
</part>
1152811528
</software>
1152911529

@@ -11638,10 +11638,10 @@ license:CC0-1.0
1163811638
<rom offset="0x000000" size="0x010000" name="dod-m1.bin" crc="fb945087" sha1="a2bae6907bf02c93068f9ee23409506277c8a027" />
1163911639
</dataarea>
1164011640
<dataarea name="ymsnd:adpcma" size="0x1000000">
11641-
<rom name="dod-v1.bin" offset="0x000000" size="0x400000" crc="8ab79ed9" sha1="8b1d2ade7494a81b9fa79763aaa54bbf7f4cf394" />
11642-
<rom name="dod-v2.bin" offset="0x400000" size="0x400000" crc="9aae5145" sha1="b218b47eafe8a5d25cbfadbd685de1b291c23af2" />
11643-
<rom name="dod-v3.bin" offset="0x800000" size="0x400000" crc="9ad3e804" sha1="8f309e64b8582aad0f9f3258dee0d96f2c04f7e4" />
11644-
<rom name="dod-v4.bin" offset="0xc00000" size="0x400000" crc="9ad3e804" sha1="8f309e64b8582aad0f9f3258dee0d96f2c04f7e4" />
11641+
<rom name="dod-v1.bin" offset="0x000000" size="0x400000" crc="8ab79ed9" sha1="8b1d2ade7494a81b9fa79763aaa54bbf7f4cf394" />
11642+
<rom name="dod-v2.bin" offset="0x400000" size="0x400000" crc="9aae5145" sha1="b218b47eafe8a5d25cbfadbd685de1b291c23af2" />
11643+
<rom name="dod-v3.bin" offset="0x800000" size="0x400000" crc="9ad3e804" sha1="8f309e64b8582aad0f9f3258dee0d96f2c04f7e4" />
11644+
<rom name="dod-v4.bin" offset="0xc00000" size="0x400000" crc="9ad3e804" sha1="8f309e64b8582aad0f9f3258dee0d96f2c04f7e4" />
1164511645
</dataarea>
1164611646
<dataarea name="sprites" size="0x2800000">
1164711647
<rom loadflag="load16_byte" name="dod-c1.bin" offset="0x000000" size="0x1400000" crc="050ee046" sha1="ca5a02ba92f7bdbedbb7c0c881eb3cf454140918" />

hash/tmc600_quik.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ license:CC0-1.0
1010
<year>1982</year>
1111
<publisher>Telercas</publisher>
1212
<info name="usage" value="W, RUN" />
13-
14-
<part name="quik" interface="tmc600_quik">
13+
14+
<part name="quik" interface="tmc600_quik">
1515
<dataarea name="quik" size="4672">
1616
<rom name="demo.tmc600" size="4672" crc="fce7ad03" sha1="fada958bb9648619eb5ce04dc4c829091e34b665"/>
1717
</dataarea>
@@ -23,8 +23,8 @@ license:CC0-1.0
2323
<year>1982</year>
2424
<publisher>Telercas</publisher>
2525
<info name="usage" value="W, RUN" />
26-
27-
<part name="quik" interface="tmc600_quik">
26+
27+
<part name="quik" interface="tmc600_quik">
2828
<dataarea name="quik" size="2025">
2929
<rom name="demo2.tmc600" size="2025" crc="592e97c7" sha1="8f92f0dd7aee3b3aae56a06a4117796ff4643811"/>
3030
</dataarea>
@@ -36,8 +36,8 @@ license:CC0-1.0
3636
<year>1982</year>
3737
<publisher>Telercas</publisher>
3838
<info name="usage" value="W, RUN" />
39-
40-
<part name="quik" interface="tmc600_quik">
39+
40+
<part name="quik" interface="tmc600_quik">
4141
<dataarea name="quik" size="817">
4242
<rom name="snoopy.tmc600" size="817" crc="884976b0" sha1="0c2dc1a0fef94ac359313414b43a281b909bc7f2"/>
4343
</dataarea>

makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1631,18 +1631,18 @@ tests: $(REGTESTS)
16311631
cleansrc:
16321632
@echo Cleaning up tabs/spaces/end of lines....
16331633
ifeq (posix,$(SHELLTYPE))
1634-
$(SILENT) find src \( \
1634+
$(SILENT)- find src \( \
16351635
-name \*.c -o -name \*.cpp -o \
16361636
-name \*.h -o -name \*.hpp -o -name \*.hxx -o \
16371637
-name \*.ipp -o \
16381638
-name \*.mm -o \
16391639
-name \*.lay -o \
16401640
-name \*.lst \
16411641
\) -print0 | xargs -0 -n 20 ./srcclean >&2
1642-
$(SILENT) find hash \( -name \*.hsi -o -name \*.xml \) -print0 | xargs -0 -n 20 ./srcclean >&2
1643-
$(SILENT) find bgfx \( -name \*.json \) -print0 | xargs -0 -n 20 ./srcclean >&2
1644-
$(SILENT) find plugins \( -name \*.lua -o -name \*.json \) -print0 | xargs -0 -n 20 ./srcclean >&2
1645-
$(SILENT) find scripts \( -name \*.lua \) -print0 | xargs -0 -n 20 ./srcclean >&2
1642+
$(SILENT)- find hash \( -name \*.hsi -o -name \*.xml \) -print0 | xargs -0 -n 20 ./srcclean >&2
1643+
$(SILENT)- find bgfx \( -name \*.json \) -print0 | xargs -0 -n 20 ./srcclean >&2
1644+
$(SILENT)- find plugins \( -name \*.lua -o -name \*.json \) -print0 | xargs -0 -n 20 ./srcclean >&2
1645+
$(SILENT)- find scripts \( -name \*.lua \) -print0 | xargs -0 -n 20 ./srcclean >&2
16461646
else
16471647
$(shell for /r src %%i in (*.c, *.cpp, *.h, *.hpp, *.hxx, *.ipp, *.mm, *.lay, *.lst) do srcclean %%i >&2 )
16481648
$(shell for /r hash %%i in (*.hsi, *.xml) do srcclean %%i >&2 )

src/devices/bus/msx/cart/franky.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ void msx_cart_franky_device::device_add_mconfig(machine_config &config)
6161
m_vdp->set_is_pal(false);
6262
m_vdp->n_int().set(*this, FUNC(msx_cart_franky_device::irq_out));
6363
// There is no NMI signal on the cartridge slot, so no way to hook this up
64-
// m_vdp->n_nmi().set_inputline(maincpu, INPUT_LINE_NMI);
64+
//m_vdp->n_nmi().set_inputline(maincpu, INPUT_LINE_NMI);
6565
m_vdp->add_route(ALL_OUTPUTS, "franky", 1.00);
6666
}
6767

src/devices/bus/pccard/ataflash.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ void ata_flash_pccard_device::device_reset()
4242
m_cis[8] = 0x01; // Size of Fields Byte (2:TPCC_RFSZ 4:TPCC_RMSZ 2:TPCC_RASZ)
4343
m_cis[9] = 0x03; // TPCC_LAST (2:RFU 6:Last Index) (count of 0x1b?)
4444
m_cis[10] = 0x00; // TPCC_RADR
45-
m_cis[11] = 0x02; // TPCC_RADR
45+
m_cis[11] = 0x02; // TPCC_RADR
4646
m_cis[12] = 0x0f; // TPCC_RMSK
4747
m_cis[13] = 0x21; // CISTPL_FUNCID
4848
m_cis[14] = 0x02; // TPL_LINK

src/devices/bus/rs232/teletex800.cpp

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@
1414
namespace {
1515

1616
ROM_START( teletex800 )
17-
ROM_REGION( 0x1000, "z80", 0 )
18-
ROM_LOAD( "ix44_ver1.1.u57", 0x0000, 0x1000, CRC(5c11b89c) SHA1(4911332709a8dcda12e72bcdf7a0acd58d65cbfd) )
17+
ROM_REGION( 0x1000, "z80", 0 )
18+
ROM_LOAD( "ix44_ver1.1.u57", 0x0000, 0x1000, CRC(5c11b89c) SHA1(4911332709a8dcda12e72bcdf7a0acd58d65cbfd) )
1919
ROM_END
2020

2121
static const z80_daisy_config z80_daisy_chain[] =
2222
{
23-
{ nullptr }
23+
{ nullptr }
2424
};
2525

2626
static void printer_devices(device_slot_interface &device)
2727
{
28-
device.option_add("printer", SERIAL_PRINTER);
28+
device.option_add("printer", SERIAL_PRINTER);
2929
}
3030

3131
static INPUT_PORTS_START( teletex800 )
@@ -34,68 +34,68 @@ INPUT_PORTS_END
3434
class teletex_800_device : public device_t, public device_rs232_port_interface
3535
{
3636
public:
37-
teletex_800_device(machine_config const &mconfig, char const *tag, device_t *owner, uint32_t clock) :
38-
device_t(mconfig, TELETEX_800, tag, owner, clock),
37+
teletex_800_device(machine_config const &mconfig, char const *tag, device_t *owner, uint32_t clock) :
38+
device_t(mconfig, TELETEX_800, tag, owner, clock),
3939
device_rs232_port_interface(mconfig, *this),
40-
m_maincpu(*this, "z80"),
41-
m_ctc(*this, "ctc"),
42-
m_sio(*this, "sio"),
43-
m_acia(*this, "acia"),
44-
m_pia(*this, "pia"),
45-
m_pia_cp(*this, "pia_cp")
40+
m_maincpu(*this, "z80"),
41+
m_ctc(*this, "ctc"),
42+
m_sio(*this, "sio"),
43+
m_acia(*this, "acia"),
44+
m_pia(*this, "pia"),
45+
m_pia_cp(*this, "pia_cp")
4646
{
4747
}
4848

4949
protected:
5050
virtual const tiny_rom_entry *device_rom_region() const override
51-
{
52-
return ROM_NAME( teletex800 );
53-
}
51+
{
52+
return ROM_NAME( teletex800 );
53+
}
5454

55-
virtual void device_add_mconfig(machine_config &config) override
56-
{
57-
// main board
58-
Z80(config, m_maincpu, XTAL(4'915'200));
59-
m_maincpu->set_daisy_config(z80_daisy_chain);
60-
m_maincpu->set_addrmap(AS_PROGRAM, &teletex_800_device::program_map);
61-
m_maincpu->set_addrmap(AS_IO, &teletex_800_device::io_map);
55+
virtual void device_add_mconfig(machine_config &config) override
56+
{
57+
// main board
58+
Z80(config, m_maincpu, XTAL(4'915'200));
59+
m_maincpu->set_daisy_config(z80_daisy_chain);
60+
m_maincpu->set_addrmap(AS_PROGRAM, &teletex_800_device::program_map);
61+
m_maincpu->set_addrmap(AS_IO, &teletex_800_device::io_map);
6262

63-
Z80CTC(config, m_ctc, XTAL(4'915'200));
64-
Z80SIO(config, m_sio, XTAL(4'915'200));
65-
ACIA6850(config, m_acia);
66-
PIA6821(config, m_pia);
63+
Z80CTC(config, m_ctc, XTAL(4'915'200));
64+
Z80SIO(config, m_sio, XTAL(4'915'200));
65+
ACIA6850(config, m_acia);
66+
PIA6821(config, m_pia);
6767

68-
RS232_PORT(config, "printer", printer_devices, "printer");
68+
RS232_PORT(config, "printer", printer_devices, "printer");
6969

70-
// control panel
71-
PIA6821(config, m_pia_cp);
72-
}
70+
// control panel
71+
PIA6821(config, m_pia_cp);
72+
}
7373

7474
virtual ioport_constructor device_input_ports() const override
75-
{
76-
return INPUT_PORTS_NAME( teletex800 );
77-
}
75+
{
76+
return INPUT_PORTS_NAME( teletex800 );
77+
}
7878

7979
virtual void device_start() override
8080
{
8181
}
8282

8383
private:
8484
required_device<z80_device> m_maincpu;
85-
required_device<z80ctc_device> m_ctc;
86-
required_device<z80sio_device> m_sio;
87-
required_device<acia6850_device> m_acia;
85+
required_device<z80ctc_device> m_ctc;
86+
required_device<z80sio_device> m_sio;
87+
required_device<acia6850_device> m_acia;
8888
required_device<pia6821_device> m_pia;
8989
required_device<pia6821_device> m_pia_cp;
9090

91-
void program_map(address_map &map)
92-
{
93-
map(0x0000, 0x0fff).rom().region("z80", 0);
94-
}
91+
void program_map(address_map &map)
92+
{
93+
map(0x0000, 0x0fff).rom().region("z80", 0);
94+
}
9595

96-
void io_map(address_map &map)
97-
{
98-
}
96+
void io_map(address_map &map)
97+
{
98+
}
9999
};
100100

101101
} // anonymous namespace

src/devices/cpu/h8/h8_intc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ u8 h8h_intc_device::isr_r()
297297
void h8h_intc_device::isr_w(u8 data)
298298
{
299299
m_isr &= data; // edge/level
300-
// logerror("isr = %02x / %02x\n", data, m_isr);
300+
//logerror("isr = %02x / %02x\n", data, m_isr);
301301
check_level_irqs(false);
302302
update_irq_state();
303303
}

src/devices/cpu/mipsx/mipsxdasm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ int mipsx_disassembler::get_sh_amount(int shift)
6464
}
6565

6666
static const char *regnames[32] = { "r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15"
67-
"r16", "r17", "r18", "r19", "r20", "r21", "r22", "r23", "r24", "r25", "r26", "r27", "r28", "r29", "r30", "r31" };
67+
"r16", "r17", "r18", "r19", "r20", "r21", "r22", "r23", "r24", "r25", "r26", "r27", "r28", "r29", "r30", "r31" };
6868

6969
const char *mipsx_disassembler::get_regname(u8 reg)
7070
{

0 commit comments

Comments
 (0)