Skip to content

Commit 16f5234

Browse files
committed
Cleanups and version bump
1 parent 2dc6458 commit 16f5234

File tree

261 files changed

+3320
-3371
lines changed

Some content is hidden

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

261 files changed

+3320
-3371
lines changed

hash/ep64_cart.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<!DOCTYPE softwarelist SYSTEM "softwarelist.dtd">
33
<softwarelist name="ep64_cart" description="Enterprise Sixty Four cartridges">
4-
4+
55
<software name="basic">
66
<description>BASIC (v2.1)</description>
77
<year>198?</year>

src/emu/cpu/rsp/rsp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#ifndef __RSP_H__
1717
#define __RSP_H__
1818

19-
#define USE_SIMD (0)
19+
#define USE_SIMD (0)
2020

2121
#if USE_SIMD
2222
#include <tmmintrin.h>

src/emu/debug/dvbpoints.c

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
dvpoints.c
44
5-
Breakpoint debugger view.
5+
Breakpoint debugger view.
66
77
****************************************************************************
88
@@ -131,15 +131,15 @@ void debug_view_breakpoints::view_click(const int button, const debug_view_xy& p
131131

132132
void debug_view_breakpoints::pad_astring_to_length(astring& str, int len)
133133
{
134-
int diff = len - str.len();
135-
if (diff > 0)
136-
{
137-
astring buffer;
138-
buffer.expand(diff);
139-
for (int i = 0; i < diff; i++)
140-
buffer.catprintf(" ");
141-
str.catprintf("%s", buffer.cstr());
142-
}
134+
int diff = len - str.len();
135+
if (diff > 0)
136+
{
137+
astring buffer;
138+
buffer.expand(diff);
139+
for (int i = 0; i < diff; i++)
140+
buffer.catprintf(" ");
141+
str.catprintf("%s", buffer.cstr());
142+
}
143143
}
144144

145145
//-------------------------------------------------
@@ -162,7 +162,7 @@ void debug_view_breakpoints::view_update()
162162
for (device_debug::breakpoint *bp = debugInterface.breakpoint_first(); bp != NULL; bp = bp->next())
163163
numBPs++;
164164
bpList = new device_debug::breakpoint*[numBPs];
165-
165+
166166
// Collect
167167
int i = 1;
168168
for (device_debug::breakpoint *bp = debugInterface.breakpoint_first(); bp != NULL; bp = bp->next())
@@ -176,7 +176,7 @@ void debug_view_breakpoints::view_update()
176176
for (int row = 0; row < m_visible.y; row++)
177177
{
178178
UINT32 effrow = m_topleft.y + row;
179-
179+
180180
// Header
181181
if (effrow == 0)
182182
{
@@ -195,8 +195,8 @@ void debug_view_breakpoints::view_update()
195195
if (bpi < numBPs && bpi >= 0)
196196
{
197197
device_debug::breakpoint* bp = bpList[bpi];
198-
199-
astring buffer;
198+
199+
astring buffer;
200200
buffer.printf("%x", bp->index());
201201
pad_astring_to_length(buffer, 5);
202202
buffer.catprintf("%c", bp->enabled() ? 'X' : 'O');
@@ -213,7 +213,7 @@ void debug_view_breakpoints::view_update()
213213
buffer.catprintf("%s", bp->action());
214214
pad_astring_to_length(buffer, 60);
215215
}
216-
216+
217217
for (int i = 0; i < m_visible.x; i++)
218218
{
219219
dest->byte = (i < buffer.len()) ? buffer[i] : ' ';
@@ -222,7 +222,7 @@ void debug_view_breakpoints::view_update()
222222
}
223223
continue;
224224
}
225-
225+
226226
// Fill the remaining vertical space
227227
for (int i = 0; i < m_visible.x; i++)
228228
{
@@ -231,6 +231,6 @@ void debug_view_breakpoints::view_update()
231231
dest++;
232232
}
233233
}
234-
234+
235235
delete bpList;
236236
}

src/emu/debug/dvbpoints.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
dvpoints.h
44
5-
Breakpoint debugger view.
5+
Breakpoint debugger view.
66
77
****************************************************************************
88
@@ -77,7 +77,7 @@ class debug_view_breakpoints : public debug_view
7777
// internal helpers
7878
void enumerate_sources();
7979
bool recompute(offs_t pc, int startline, int lines);
80-
void pad_astring_to_length(astring& str, int len);
80+
void pad_astring_to_length(astring& str, int len);
8181

8282
// internal state
8383
};

src/emu/dislot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ device_card_options *device_slot_interface::static_alloc_card_options(device_t &
4343

4444
return options;
4545
}
46-
46+
4747
void device_slot_interface::static_set_card_machine_config(device_t &device, const char *card, const machine_config_constructor machine_config)
4848
{
4949
static_alloc_card_options(device, card)->m_machine_config = machine_config;

src/emu/emu.mak

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -135,20 +135,20 @@ EMUSOUNDOBJS = \
135135
$(EMUOBJ)/sound/flt_vol.o \
136136
$(EMUOBJ)/sound/flt_rc.o \
137137
$(EMUOBJ)/sound/wavwrite.o \
138-
$(EMUOBJ)/sound/samples.o \
138+
$(EMUOBJ)/sound/samples.o \
139139

140140
EMUDRIVEROBJS = \
141141
$(EMUDRIVERS)/empty.o \
142142
$(EMUDRIVERS)/testcpu.o \
143-
143+
144144
EMUMACHINEOBJS = \
145-
$(EMUMACHINE)/generic.o \
146-
$(EMUMACHINE)/ram.o \
147-
$(EMUMACHINE)/nvram.o \
145+
$(EMUMACHINE)/generic.o \
146+
$(EMUMACHINE)/ram.o \
147+
$(EMUMACHINE)/nvram.o \
148148
$(EMUMACHINE)/laserdsc.o \
149149
$(EMUMACHINE)/net_lib.o \
150150
$(EMUMACHINE)/netlist.o \
151-
151+
152152
EMUIMAGEDEVOBJS = \
153153
$(EMUIMAGEDEV)/bitbngr.o \
154154
$(EMUIMAGEDEV)/cartslot.o \
@@ -165,10 +165,10 @@ EMUIMAGEDEVOBJS = \
165165

166166

167167
EMUVIDEOOBJS = \
168-
$(EMUVIDEO)/generic.o \
169-
$(EMUVIDEO)/resnet.o \
170-
$(EMUVIDEO)/rgbutil.o \
171-
$(EMUVIDEO)/vector.o \
168+
$(EMUVIDEO)/generic.o \
169+
$(EMUVIDEO)/resnet.o \
170+
$(EMUVIDEO)/rgbutil.o \
171+
$(EMUVIDEO)/vector.o \
172172

173173

174174
LIBEMUOBJS = $(EMUOBJS) $(EMUSOUNDOBJS) $(EMUDRIVEROBJS) $(EMUMACHINEOBJS) $(EMUIMAGEDEVOBJS) $(EMUVIDEOOBJS)

src/emu/machine.c

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -559,16 +559,16 @@ astring running_machine::get_statename(const char *option)
559559
statename_str.cpy("%g");
560560
else
561561
statename_str.cpy(option);
562-
562+
563563
// strip any extension in the provided statename
564564
int index = statename_str.rchr(0, '.');
565565
if (index != -1)
566566
statename_str.substr(0, index);
567-
567+
568568
// handle %d in the template (for image devices)
569569
astring statename_dev("%d_");
570570
int pos = statename_str.find(0, statename_dev);
571-
571+
572572
if (pos != -1)
573573
{
574574
// if more %d are found, revert to default and ignore them all
@@ -578,12 +578,12 @@ astring running_machine::get_statename(const char *option)
578578
else
579579
{
580580
int name_found = 0;
581-
581+
582582
// find length of the device name
583583
int end1 = statename_str.find(pos + 3, "/");
584584
int end2 = statename_str.find(pos + 3, "%");
585585
int end = -1;
586-
586+
587587
if ((end1 != -1) && (end2 != -1))
588588
end = MIN(end1, end2);
589589
else if (end1 != -1)
@@ -592,46 +592,46 @@ astring running_machine::get_statename(const char *option)
592592
end = end2;
593593
else
594594
end = statename_str.len();
595-
595+
596596
if (end - pos < 3)
597597
fatalerror("Something very wrong is going on!!!\n");
598-
598+
599599
// copy the device name to an astring
600600
astring devname_str;
601601
devname_str.cpysubstr(statename_str, pos + 3, end - pos - 3);
602602
//printf("check template: %s\n", devname_str.cstr());
603-
603+
604604
// verify that there is such a device for this system
605605
image_interface_iterator iter(root_device());
606606
for (device_image_interface *image = iter.first(); image != NULL; image = iter.next())
607607
{
608608
// get the device name
609609
astring tempdevname(image->brief_instance_name());
610610
//printf("check device: %s\n", tempdevname.cstr());
611-
611+
612612
if (devname_str.cmp(tempdevname) == 0)
613613
{
614614
// verify that such a device has an image mounted
615615
if (image->basename_noext() != NULL)
616616
{
617617
astring filename(image->basename_noext());
618-
618+
619619
// setup snapname and remove the %d_
620620
statename_str.replace(0, devname_str, filename);
621621
statename_str.del(pos, 3);
622622
//printf("check image: %s\n", filename.cstr());
623-
623+
624624
name_found = 1;
625625
}
626626
}
627627
}
628-
628+
629629
// or fallback to default
630630
if (name_found == 0)
631631
statename_str.cpy("%g");
632632
}
633633
}
634-
634+
635635
// substitute path and gamename up front
636636
statename_str.replace(0, "/", PATH_SEPARATOR);
637637
statename_str.replace(0, "%g", basename());

src/emu/machine/7200fifo.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ void fifo7200_device::device_start()
4141
m_ef_handler.resolve();
4242
m_ff_handler.resolve();
4343
m_hf_handler.resolve();
44-
44+
4545
// state save
4646
save_item(NAME(m_read_ptr));
4747
save_item(NAME(m_write_ptr));
@@ -60,11 +60,11 @@ void fifo7200_device::device_reset()
6060
memset(m_buffer, 0, m_ram_size * sizeof(UINT16));
6161
m_read_ptr = 0;
6262
m_write_ptr = 0;
63-
63+
6464
m_ef = 1;
6565
m_ff = 0;
6666
m_hf = 0;
67-
67+
6868
if (!m_ef_handler.isnull()) m_ef_handler(m_ef);
6969
if (!m_ff_handler.isnull()) m_ff_handler(m_ff);
7070
if (!m_hf_handler.isnull()) m_hf_handler(m_hf);
@@ -82,7 +82,7 @@ void fifo7200_device::fifo_write(UINT16 data)
8282

8383
m_buffer[m_write_ptr] = data & 0x1ff;
8484
m_write_ptr = (m_write_ptr + 1) % m_ram_size;
85-
85+
8686
// update flags
8787
if (m_ef)
8888
{
@@ -110,7 +110,7 @@ UINT16 fifo7200_device::fifo_read()
110110
logerror("IDT7200 %s fifo_read underflow!\n", tag());
111111
return 0x1ff;
112112
}
113-
113+
114114
UINT16 ret = m_buffer[m_read_ptr];
115115
m_read_ptr = (m_read_ptr + 1) % m_ram_size;
116116

@@ -126,12 +126,12 @@ UINT16 fifo7200_device::fifo_read()
126126
m_ef = 1;
127127
if (!m_ef_handler.isnull()) m_ef_handler(m_ef);
128128
}
129-
129+
130130
else if (((m_read_ptr + m_ram_size / 2) % m_ram_size) == m_write_ptr)
131131
{
132132
m_hf = 0;
133133
if (!m_hf_handler.isnull()) m_hf_handler(m_hf);
134134
}
135-
135+
136136
return ret;
137137
}

src/emu/machine/7200fifo.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class fifo7200_device : public device_t
9393
DECLARE_READ_LINE_MEMBER( ef_r ) { return m_ef; }
9494
DECLARE_READ_LINE_MEMBER( ff_r ) { return m_ff; }
9595
DECLARE_READ_LINE_MEMBER( hf_r ) { return m_hf; }
96-
96+
9797
// normal configuration
9898
DECLARE_WRITE16_MEMBER( data_word_w ) { fifo_write(data); }
9999
DECLARE_READ16_MEMBER( data_word_r ) { return (UINT16)fifo_read(); }
@@ -113,14 +113,14 @@ class fifo7200_device : public device_t
113113

114114
UINT16* m_buffer;
115115
int m_ram_size;
116-
116+
117117
int m_read_ptr;
118118
int m_write_ptr;
119-
119+
120120
int m_ef; // empty flag
121121
int m_ff; // full flag
122122
int m_hf; // half-full flag
123-
123+
124124
devcb2_write_line m_ef_handler;
125125
devcb2_write_line m_ff_handler;
126126
devcb2_write_line m_hf_handler;

src/emu/machine/adc1038.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class adc1038_device : public device_t,
4747
virtual void device_config_complete();
4848
virtual void device_start();
4949
virtual void device_reset();
50-
50+
5151
adc1038_input_read_func m_input_callback_r_func;
5252

5353
private:

0 commit comments

Comments
 (0)