summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/cpu/cpu.mak2
-rw-r--r--src/emu/cpu/tms57002/tms57002.c16
-rw-r--r--src/emu/debug/debugcpu.c2
-rw-r--r--src/emu/devcb.h2
-rw-r--r--src/emu/devintrf.c2
-rw-r--r--src/emu/machine/6522via.c2
-rw-r--r--src/emu/machine/msm6242.c2
-rw-r--r--src/emu/mame.c2
-rw-r--r--src/emu/mconfig.c6
-rw-r--r--src/emu/sound.c30
-rw-r--r--src/emu/sound/2203intf.c2
-rw-r--r--src/emu/sound/2612intf.c2
-rw-r--r--src/emu/sound/ay8910.c2
-rw-r--r--src/emu/sound/c6280.c2
-rw-r--r--src/emu/sound/cdda.c4
-rw-r--r--src/emu/sound/cdp1869.c54
-rw-r--r--src/emu/sound/k054539.c2
-rw-r--r--src/emu/sound/msm5205.c2
-rw-r--r--src/emu/sound/msm5232.c2
-rw-r--r--src/emu/sound/multipcm.c2
-rw-r--r--src/emu/sound/qsound.c6
-rw-r--r--src/emu/sound/sid6581.c6
-rw-r--r--src/emu/sound/vrender0.c2
-rw-r--r--src/emu/sound/ymf278b.c2
-rw-r--r--src/emu/streams.c6
-rw-r--r--src/emu/ui.c8
26 files changed, 85 insertions, 85 deletions
diff --git a/src/emu/cpu/cpu.mak b/src/emu/cpu/cpu.mak
index 4afd6a1107e..06c6ee62862 100644
--- a/src/emu/cpu/cpu.mak
+++ b/src/emu/cpu/cpu.mak
@@ -1685,7 +1685,7 @@ BUILD += $(TMSMAKE)
$(TMSMAKE): $(CPUOBJ)/tms57002/tmsmake.o $(LIBOCORE)
@echo Linking $@...
$(LD) $(LDFLAGS) $(OSDBGLDFLAGS) $^ $(LIBS) -o $@
-
+
endif
diff --git a/src/emu/cpu/tms57002/tms57002.c b/src/emu/cpu/tms57002/tms57002.c
index 1d30b5b031c..52f6bfcd931 100644
--- a/src/emu/cpu/tms57002/tms57002.c
+++ b/src/emu/cpu/tms57002/tms57002.c
@@ -199,7 +199,7 @@ WRITE8_DEVICE_HANDLER(tms57002_pload_w)
if(data)
s->sti &= ~IN_PLOAD;
else
- s->sti |= IN_PLOAD;
+ s->sti |= IN_PLOAD;
if(olds ^ s->sti)
s->hidx = 0;
@@ -212,7 +212,7 @@ WRITE8_DEVICE_HANDLER(tms57002_cload_w)
if(data)
s->sti &= ~IN_CLOAD;
else
- s->sti |= IN_CLOAD;
+ s->sti |= IN_CLOAD;
if(olds ^ s->sti)
s->hidx = 0;
}
@@ -233,7 +233,7 @@ static CPU_RESET(tms57002)
ST0_PBCO | ST0_CNS);
s->st1 &= ~(ST1_AOV | ST1_SFAI | ST1_SFAO | ST1_MOVM | ST1_MOV |
ST1_SFMA | ST1_SFMO | ST1_RND | ST1_CRM | ST1_DBP);
-
+
s->xba = 0; // Not sure but makes sense
tms57002_cache_flush(s);
@@ -268,7 +268,7 @@ WRITE8_DEVICE_HANDLER(tms57002_data_w)
memory_write_dword_32le(s->program, (s->pc++) << 2, val);
break;
}
- }
+ }
break;
case IN_CLOAD:
if(s->sti & SU_CVAL) {
@@ -283,7 +283,7 @@ WRITE8_DEVICE_HANDLER(tms57002_data_w)
s->hidx = 0;
s->sti |= SU_CVAL;
}
-
+
break;
case IN_PLOAD|IN_CLOAD:
s->host[s->hidx++] = data;
@@ -1073,7 +1073,7 @@ void tms57002_execute(tms57002_t *s)
s->sti &= ~S_BRANCH;
else
s->pc++; // Wraps if it reaches 256
-
+
if(s->rptc_next) {
s->rptc = s->rptc_next;
s->rptc_next = 0;
@@ -1308,7 +1308,7 @@ static int tms57002_decode_get_pc(tms57002_t *s)
s->cache.inst[cs.ipc].next = ipc;
break;
}
- cs.hnode = tms57002_get_hashnode(s, adr, s->st1, pnode);
+ cs.hnode = tms57002_get_hashnode(s, adr, s->st1, pnode);
}
s->st1 = st1;
@@ -1367,7 +1367,7 @@ static CPU_EXECUTE(tms57002)
ipc = -1;
} else
s->pc++; // Wraps if it reaches 256, next wraps too
-
+
if(s->rptc_next) {
s->rptc = s->rptc_next;
s->rptc_next = 0;
diff --git a/src/emu/debug/debugcpu.c b/src/emu/debug/debugcpu.c
index ba93ecb64e0..c3712de34a1 100644
--- a/src/emu/debug/debugcpu.c
+++ b/src/emu/debug/debugcpu.c
@@ -1827,7 +1827,7 @@ UINT64 debug_read_opcode(const address_space *space, offs_t address, int size, i
fatalerror("debug_read_opcode: unknown type = %d", space->dbits / 8 * 10 + size);
break;
}
-
+
/* turn on debugger access */
if (!global->debugger_access)
memory_set_debugger_access(space, global->debugger_access = TRUE);
diff --git a/src/emu/devcb.h b/src/emu/devcb.h
index 0fc1a52fea5..c5bd10e1d3e 100644
--- a/src/emu/devcb.h
+++ b/src/emu/devcb.h
@@ -24,7 +24,7 @@
The adapted callback types supported are:
input port (port)
- cpu input line (cpu input line)
+ cpu input line (cpu input line)
read_line_device_func: (device)
write_line_device_func: (device, data)
read8_device_func: (device, offset)
diff --git a/src/emu/devintrf.c b/src/emu/devintrf.c
index 616aac761a2..692c16384a4 100644
--- a/src/emu/devintrf.c
+++ b/src/emu/devintrf.c
@@ -635,7 +635,7 @@ void device_list_start(running_machine *machine)
/*-------------------------------------------------
- device_delay_init - delay the startup of a
+ device_delay_init - delay the startup of a
given device for dependency reasons
-------------------------------------------------*/
diff --git a/src/emu/machine/6522via.c b/src/emu/machine/6522via.c
index 13b31e15509..1a9377f5ddf 100644
--- a/src/emu/machine/6522via.c
+++ b/src/emu/machine/6522via.c
@@ -236,7 +236,7 @@ static DEVICE_START( via6522 )
const via6522_interface *intf = get_interface(device);
memset(v, 0, sizeof(*v));
-
+
devcb_resolve_read8(&v->in_a_func, &intf->in_a_func, device);
devcb_resolve_read8(&v->in_b_func, &intf->in_b_func, device);
devcb_resolve_read_line(&v->in_ca1_func, &intf->in_ca1_func, device);
diff --git a/src/emu/machine/msm6242.c b/src/emu/machine/msm6242.c
index 2da8c6063cd..6bd6774457b 100644
--- a/src/emu/machine/msm6242.c
+++ b/src/emu/machine/msm6242.c
@@ -79,7 +79,7 @@ READ8_DEVICE_HANDLER( msm6242_r )
{
if (hour >= 12)
pm = 1;
-
+
hour %= 12;
if ( hour == 0 )
diff --git a/src/emu/mame.c b/src/emu/mame.c
index 938bff007da..6954a4a0f8e 100644
--- a/src/emu/mame.c
+++ b/src/emu/mame.c
@@ -1507,7 +1507,7 @@ static void init_machine(running_machine *machine)
/* intialize UI input */
ui_input_init(machine);
-
+
/* initialize the streams engine before the sound devices start */
streams_init(machine);
diff --git a/src/emu/mconfig.c b/src/emu/mconfig.c
index 01118f1a679..b4cf1728cbe 100644
--- a/src/emu/mconfig.c
+++ b/src/emu/mconfig.c
@@ -32,7 +32,7 @@ static void machine_config_detokenize(machine_config *config, const machine_conf
***************************************************************************/
/*-------------------------------------------------
- remove_device - remove the head device from
+ remove_device - remove the head device from
the given configuration
-------------------------------------------------*/
@@ -40,7 +40,7 @@ INLINE void remove_device(device_config **listheadptr, device_type type, const c
{
device_config *device = (device_config *)device_list_find_by_tag(*listheadptr, type, tag);
device_custom_config_func custom;
-
+
assert(device != NULL);
/* call the custom config free function first */
@@ -162,7 +162,7 @@ static void machine_config_detokenize(machine_config *config, const machine_conf
assert(device != NULL);
device->static_config = TOKEN_GET_PTR(tokens, voidptr);
break;
-
+
case MCONFIG_TOKEN_DEVICE_CONFIG_CUSTOM_1:
case MCONFIG_TOKEN_DEVICE_CONFIG_CUSTOM_2:
case MCONFIG_TOKEN_DEVICE_CONFIG_CUSTOM_3:
diff --git a/src/emu/sound.c b/src/emu/sound.c
index 33cf0a18cd4..d3fea90ab0a 100644
--- a/src/emu/sound.c
+++ b/src/emu/sound.c
@@ -289,11 +289,11 @@ static DEVICE_START( sound )
{
sound_stream *stream = stream_find_by_device(device, outputnum);
int curoutput, numoutputs;
-
+
/* stop when we run out of streams */
if (stream == NULL)
break;
-
+
/* accumulate the number of outputs from this stream */
numoutputs = stream_get_outputs(stream);
assert(classdata->outputs < MAX_OUTPUTS);
@@ -325,7 +325,7 @@ static DEVICE_START( sound )
static DEVICE_CUSTOM_CONFIG( sound )
{
sound_config *config = device->inline_config;
-
+
switch (entrytype)
{
/* custom config 1 is a new route */
@@ -338,7 +338,7 @@ static DEVICE_CUSTOM_CONFIG( sound )
/* put back the token that was originally fetched so we can grab a packed 64-bit token */
TOKEN_UNGET_UINT32(tokens);
TOKEN_GET_UINT64_UNPACK4(tokens, entrytype, 8, output, 12, input, 12, gain, 32);
-
+
/* allocate a new route */
for (routeptr = &config->routelist; *routeptr != NULL; routeptr = &(*routeptr)->next) ;
*routeptr = malloc_or_die(sizeof(**routeptr));
@@ -349,7 +349,7 @@ static DEVICE_CUSTOM_CONFIG( sound )
(*routeptr)->target = TOKEN_GET_STRING(tokens);
break;
}
-
+
/* custom config free is also used as a reset of sound routes */
case MCONFIG_TOKEN_DEVICE_CONFIG_CUSTOM_FREE:
while (config->routelist != NULL)
@@ -360,7 +360,7 @@ static DEVICE_CUSTOM_CONFIG( sound )
}
break;
}
-
+
return tokens;
}
@@ -389,7 +389,7 @@ DEVICE_GET_INFO( sound )
case DEVINFO_FCT_START: info->start = DEVICE_START_NAME(sound); break;
case DEVINFO_FCT_SET_INFO: info->set_info = NULL; break;
case DEVINFO_FCT_CUSTOM_CONFIG: info->custom_config = DEVICE_CUSTOM_CONFIG_NAME(sound); break;
-
+
/* --- the following bits of info are returned as NULL-terminated strings --- */
case DEVINFO_STR_NAME:
if (config != NULL)
@@ -428,13 +428,13 @@ static void route_sound(running_machine *machine)
const sound_config *config = sound->inline_config;
int numoutputs = stream_get_device_outputs(sound);
const sound_route *route;
-
+
/* iterate over all routes */
for (route = config->routelist; route != NULL; route = route->next)
{
const device_config *target_speaker = devtag_get_device(machine, SPEAKER_OUTPUT, route->target);
const device_config *target_sound = devtag_get_device(machine, SOUND, route->target);
-
+
/* if neither found, it's fatal */
if (target_speaker == NULL && target_sound == NULL)
fatalerror("Sound route \"%s\" not found!\n", route->target);
@@ -444,7 +444,7 @@ static void route_sound(running_machine *machine)
get_safe_token(target_speaker)->inputs += (route->output == ALL_OUTPUTS) ? numoutputs : 1;
}
}
-
+
/* now allocate the mixers and input data */
for (curspeak = speaker_output_first(machine->config); curspeak != NULL; curspeak = speaker_output_next(curspeak))
{
@@ -466,7 +466,7 @@ static void route_sound(running_machine *machine)
const sound_config *config = sound->inline_config;
int numoutputs = stream_get_device_outputs(sound);
const sound_route *route;
-
+
/* iterate over all routes */
for (route = config->routelist; route != NULL; route = route->next)
{
@@ -499,13 +499,13 @@ static void route_sound(running_machine *machine)
if (stream_device_output_to_stream_output(sound, outputnum, &stream, &streamoutput))
stream_set_input(speakerinfo->mixer_stream, speakerinfo->inputs++, stream, streamoutput, route->gain);
}
-
+
/* otherwise, it's a sound chip */
else
{
sound_stream *inputstream;
int streaminput;
-
+
if (stream_device_input_to_stream_input(target_sound, inputnum++, &inputstream, &streaminput))
if (stream_device_output_to_stream_output(sound, outputnum, &stream, &streamoutput))
stream_set_input(inputstream, streaminput, stream, streamoutput, route->gain);
@@ -514,7 +514,7 @@ static void route_sound(running_machine *machine)
}
}
- /* free up our temporary string */
+ /* free up our temporary string */
astring_free(tempstring);
}
@@ -915,7 +915,7 @@ void sound_set_output_gain(const device_config *device, int output, float gain)
{
sound_stream *stream;
int outputnum;
-
+
if (stream_device_output_to_stream_output(device, output, &stream, &outputnum))
stream_set_output_gain(stream, outputnum, gain);
}
diff --git a/src/emu/sound/2203intf.c b/src/emu/sound/2203intf.c
index ba3e2074f3e..04af9db7156 100644
--- a/src/emu/sound/2203intf.c
+++ b/src/emu/sound/2203intf.c
@@ -63,7 +63,7 @@ static const ssg_callbacks psgintf =
static void IRQHandler(void *param,int irq)
{
ym2203_state *info = param;
- if (info->intf->handler != NULL)
+ if (info->intf->handler != NULL)
(*info->intf->handler)(info->device, irq);
}
diff --git a/src/emu/sound/2612intf.c b/src/emu/sound/2612intf.c
index be1e6db2d75..313c9f7ba48 100644
--- a/src/emu/sound/2612intf.c
+++ b/src/emu/sound/2612intf.c
@@ -196,7 +196,7 @@ DEVICE_GET_INFO( ym3438 )
{
/* --- the following bits of info are returned as NULL-terminated strings --- */
case DEVINFO_STR_NAME: strcpy(info->s, "YM3438"); break;
-
+
default: DEVICE_GET_INFO_CALL(ym2612); break;
}
}
diff --git a/src/emu/sound/ay8910.c b/src/emu/sound/ay8910.c
index c12ef2f3999..376fef2c97d 100644
--- a/src/emu/sound/ay8910.c
+++ b/src/emu/sound/ay8910.c
@@ -963,7 +963,7 @@ DEVICE_GET_INFO( ymz294 )
*************************************/
READ8_DEVICE_HANDLER( ay8910_r )
-{
+{
return ay8910_read_ym(get_safe_token(device));
}
diff --git a/src/emu/sound/c6280.c b/src/emu/sound/c6280.c
index daa3083d917..2a11f7cbe25 100644
--- a/src/emu/sound/c6280.c
+++ b/src/emu/sound/c6280.c
@@ -342,7 +342,7 @@ READ8_DEVICE_HANDLER( c6280_r )
WRITE8_DEVICE_HANDLER( c6280_w )
{
c6280_t *info = get_safe_token(device);
- h6280io_set_buffer(info->cpudevice, data);
+ h6280io_set_buffer(info->cpudevice, data);
c6280_write(info, offset, data);
}
diff --git a/src/emu/sound/cdda.c b/src/emu/sound/cdda.c
index c9172bb8a66..2d1b8195c4d 100644
--- a/src/emu/sound/cdda.c
+++ b/src/emu/sound/cdda.c
@@ -96,7 +96,7 @@ void cdda_set_cdrom(const device_config *device, void *file)
const device_config *cdda_from_cdrom(running_machine *machine, void *file)
{
const device_config *device;
-
+
for (device = sound_first(machine->config); device != NULL; device = sound_next(device))
if (sound_get_type(device) == SOUND_CDDA)
{
@@ -104,7 +104,7 @@ const device_config *cdda_from_cdrom(running_machine *machine, void *file)
if (info->disc == file)
return device;
}
-
+
return NULL;
}
diff --git a/src/emu/sound/cdp1869.c b/src/emu/sound/cdp1869.c
index dbd49601519..01b9f2929e3 100644
--- a/src/emu/sound/cdp1869.c
+++ b/src/emu/sound/cdp1869.c
@@ -10,7 +10,7 @@
- white noise
- scanline based update
- - CMSEL output
+ - CMSEL output
*/
@@ -101,8 +101,8 @@ INLINE cdp1869_t *get_safe_token(const device_config *device)
***************************************************************************/
/*-------------------------------------------------
- update_prd_changed_timer - update predisplay
- changed timer
+ update_prd_changed_timer - update predisplay
+ changed timer
-------------------------------------------------*/
static void update_prd_changed_timer(cdp1869_t *cdp1869)
@@ -152,7 +152,7 @@ static void update_prd_changed_timer(cdp1869_t *cdp1869)
}
/*-------------------------------------------------
- TIMER_CALLBACK( prd_changed_tick )
+ TIMER_CALLBACK( prd_changed_tick )
-------------------------------------------------*/
static TIMER_CALLBACK( prd_changed_tick )
@@ -166,7 +166,7 @@ static TIMER_CALLBACK( prd_changed_tick )
}
/*-------------------------------------------------
- STATE_POSTLOAD( cdp1869_state_save_postload )
+ STATE_POSTLOAD( cdp1869_state_save_postload )
-------------------------------------------------*/
static STATE_POSTLOAD( cdp1869_state_save_postload )
@@ -175,7 +175,7 @@ static STATE_POSTLOAD( cdp1869_state_save_postload )
}
/*-------------------------------------------------
- cdp1802_get_r_x - get CDP1802 R(X) value
+ cdp1802_get_r_x - get CDP1802 R(X) value
-------------------------------------------------*/
static UINT16 cdp1802_get_r_x(cdp1869_t *cdp1869)
@@ -184,7 +184,7 @@ static UINT16 cdp1802_get_r_x(cdp1869_t *cdp1869)
}
/*-------------------------------------------------
- get_rgb - get RGB value
+ get_rgb - get RGB value
-------------------------------------------------*/
static rgb_t get_rgb(int i, int c, int l)
@@ -205,7 +205,7 @@ static rgb_t get_rgb(int i, int c, int l)
}
/*-------------------------------------------------
- get_lines - get number of character lines
+ get_lines - get number of character lines
-------------------------------------------------*/
static int get_lines(const device_config *device)
@@ -227,7 +227,7 @@ static int get_lines(const device_config *device)
}
/*-------------------------------------------------
- get_pmemsize - get page memory size
+ get_pmemsize - get page memory size
-------------------------------------------------*/
static UINT16 get_pmemsize(const device_config *device, int cols, int rows)
@@ -243,7 +243,7 @@ static UINT16 get_pmemsize(const device_config *device, int cols, int rows)
}
/*-------------------------------------------------
- get_pma - get page memory address
+ get_pma - get page memory address
-------------------------------------------------*/
static UINT16 get_pma(const device_config *device)
@@ -261,7 +261,7 @@ static UINT16 get_pma(const device_config *device)
}
/*-------------------------------------------------
- get_pen - get pen for color bits
+ get_pen - get pen for color bits
-------------------------------------------------*/
static int get_pen(const device_config *device, int ccb0, int ccb1, int pcb)
@@ -305,7 +305,7 @@ static int get_pen(const device_config *device, int ccb0, int ccb1, int pcb)
}
/*-------------------------------------------------
- draw_line - draw character line
+ draw_line - draw character line
-------------------------------------------------*/
static void draw_line(const device_config *device, bitmap_t *bitmap, int x, int y, int data, int color)
@@ -350,7 +350,7 @@ static void draw_line(const device_config *device, bitmap_t *bitmap, int x, int
}
/*-------------------------------------------------
- draw_char - draw character
+ draw_char - draw character
-------------------------------------------------*/
static void draw_char(const device_config *device, bitmap_t *bitmap, int x, int y, UINT16 pma, const rectangle *screenrect)
@@ -381,7 +381,7 @@ static void draw_char(const device_config *device, bitmap_t *bitmap, int x, int
}
/*-------------------------------------------------
- PALETTE_INIT( cdp1869 )
+ PALETTE_INIT( cdp1869 )
-------------------------------------------------*/
PALETTE_INIT( cdp1869 )
@@ -406,7 +406,7 @@ PALETTE_INIT( cdp1869 )
}
/*-------------------------------------------------
- cdp1869_out3_w - register 3 write
+ cdp1869_out3_w - register 3 write
-------------------------------------------------*/
WRITE8_DEVICE_HANDLER( cdp1869_out3_w )
@@ -434,7 +434,7 @@ WRITE8_DEVICE_HANDLER( cdp1869_out3_w )
}
/*-------------------------------------------------
- cdp1869_out4_w - register 4 write
+ cdp1869_out4_w - register 4 write
-------------------------------------------------*/
WRITE8_DEVICE_HANDLER( cdp1869_out4_w )
@@ -470,7 +470,7 @@ WRITE8_DEVICE_HANDLER( cdp1869_out4_w )
}
/*-------------------------------------------------
- cdp1869_out5_w - register 5 write
+ cdp1869_out5_w - register 5 write
-------------------------------------------------*/
WRITE8_DEVICE_HANDLER( cdp1869_out5_w )
@@ -525,7 +525,7 @@ WRITE8_DEVICE_HANDLER( cdp1869_out5_w )
}
/*-------------------------------------------------
- cdp1869_out6_w - register 6 write
+ cdp1869_out6_w - register 6 write
-------------------------------------------------*/
WRITE8_DEVICE_HANDLER( cdp1869_out6_w )
@@ -558,7 +558,7 @@ WRITE8_DEVICE_HANDLER( cdp1869_out6_w )
}
/*-------------------------------------------------
- cdp1869_out7_w - register 7 write
+ cdp1869_out7_w - register 7 write
-------------------------------------------------*/
WRITE8_DEVICE_HANDLER( cdp1869_out7_w )
@@ -591,7 +591,7 @@ WRITE8_DEVICE_HANDLER( cdp1869_out7_w )
}
/*-------------------------------------------------
- cdp1869_pageram_r - page memory read
+ cdp1869_pageram_r - page memory read
-------------------------------------------------*/
READ8_DEVICE_HANDLER( cdp1869_pageram_r )
@@ -613,7 +613,7 @@ READ8_DEVICE_HANDLER( cdp1869_pageram_r )
}
/*-------------------------------------------------
- cdp1869_pageram_w - page memory write
+ cdp1869_pageram_w - page memory write
-------------------------------------------------*/
WRITE8_DEVICE_HANDLER( cdp1869_pageram_w )
@@ -638,7 +638,7 @@ WRITE8_DEVICE_HANDLER( cdp1869_pageram_w )
}
/*-------------------------------------------------
- cdp1869_charram_r - character memory read
+ cdp1869_charram_r - character memory read
-------------------------------------------------*/
READ8_DEVICE_HANDLER( cdp1869_charram_r )
@@ -666,7 +666,7 @@ READ8_DEVICE_HANDLER( cdp1869_charram_r )
}
/*-------------------------------------------------
- cdp1869_charram_w - character memory write
+ cdp1869_charram_w - character memory write
-------------------------------------------------*/
WRITE8_DEVICE_HANDLER( cdp1869_charram_w )
@@ -697,7 +697,7 @@ WRITE8_DEVICE_HANDLER( cdp1869_charram_w )
}
/*-------------------------------------------------
- cdp1869_update - screen update
+ cdp1869_update - screen update
-------------------------------------------------*/
void cdp1869_update(const device_config *device, bitmap_t *bitmap, const rectangle *cliprect)
@@ -778,7 +778,7 @@ void cdp1869_update(const device_config *device, bitmap_t *bitmap, const rectang
}
/*-------------------------------------------------
- STREAM_UPDATE( cdp1869_stream_update )
+ STREAM_UPDATE( cdp1869_stream_update )
-------------------------------------------------*/
static STREAM_UPDATE( cdp1869_stream_update )
@@ -839,7 +839,7 @@ static STREAM_UPDATE( cdp1869_stream_update )
}
/*-------------------------------------------------
- DEVICE_START( cdp1869 )
+ DEVICE_START( cdp1869 )
-------------------------------------------------*/
static DEVICE_START( cdp1869 )
@@ -904,7 +904,7 @@ static DEVICE_START( cdp1869 )
}
/*-------------------------------------------------
- DEVICE_GET_INFO( cdp1869 )
+ DEVICE_GET_INFO( cdp1869 )
-------------------------------------------------*/
DEVICE_GET_INFO( cdp1869 )
diff --git a/src/emu/sound/k054539.c b/src/emu/sound/k054539.c
index 8c2e71b8501..95a149aed86 100644
--- a/src/emu/sound/k054539.c
+++ b/src/emu/sound/k054539.c
@@ -646,7 +646,7 @@ static DEVICE_START( k054539 )
static const k054539_interface defintrf = { 0 };
int i;
k054539_state *info = get_safe_token(device);
-
+
info->device = device;
for (i = 0; i < 8; i++)
diff --git a/src/emu/sound/msm5205.c b/src/emu/sound/msm5205.c
index a93cc4c6e24..81081e1de10 100644
--- a/src/emu/sound/msm5205.c
+++ b/src/emu/sound/msm5205.c
@@ -161,7 +161,7 @@ static TIMER_CALLBACK( MSM5205_vclk_callback )
static DEVICE_RESET( msm5205 )
{
msm5205_state *voice = get_safe_token(device);
-
+
/* initialize work */
voice->data = 0;
voice->vclk = 0;
diff --git a/src/emu/sound/msm5232.c b/src/emu/sound/msm5232.c
index 3c6c022e776..1912bf8c894 100644
--- a/src/emu/sound/msm5232.c
+++ b/src/emu/sound/msm5232.c
@@ -790,7 +790,7 @@ static DEVICE_START( msm5232 )
const msm5232_interface *intf = device->static_config;
int rate = device->clock/CLOCK_RATE_DIVIDER;
MSM5232 *chip = device->token;
-
+
chip->device = device;
msm5232_init(chip, intf, device->clock, rate);
diff --git a/src/emu/sound/multipcm.c b/src/emu/sound/multipcm.c
index a457faf7c80..70667af0f25 100644
--- a/src/emu/sound/multipcm.c
+++ b/src/emu/sound/multipcm.c
@@ -494,7 +494,7 @@ static STREAM_UPDATE( MultiPCM_update )
READ8_DEVICE_HANDLER( multipcm_r )
{
-// MultiPCM *ptChip = get_safe_token(device);
+// MultiPCM *ptChip = get_safe_token(device);
return 0;
}
diff --git a/src/emu/sound/qsound.c b/src/emu/sound/qsound.c
index 6b8e679bad1..914dfd5002b 100644
--- a/src/emu/sound/qsound.c
+++ b/src/emu/sound/qsound.c
@@ -181,15 +181,15 @@ WRITE8_DEVICE_HANDLER( qsound_w )
case 0:
chip->data=(chip->data&0xff)|(data<<8);
break;
-
+
case 1:
chip->data=(chip->data&0xff00)|data;
break;
-
+
case 2:
qsound_set_command(chip, data, chip->data);
break;
-
+
default:
logerror("%s: unexpected qsound write to offset %d == %02X\n", cpuexec_describe_context(device->machine), offset, data);
break;
diff --git a/src/emu/sound/sid6581.c b/src/emu/sound/sid6581.c
index acd10f6bb91..45e4ed59820 100644
--- a/src/emu/sound/sid6581.c
+++ b/src/emu/sound/sid6581.c
@@ -15,9 +15,9 @@
static SID6581 *get_sid(int indx)
{
return NULL;
-// sound_type type = sndnum_to_sndti(indx, NULL);
-// assert((type == SOUND_SID6581) || (type == SOUND_SID8580));
-// return (SID6581 *) sndti_token(space->machine, type, indx);
+// sound_type type = sndnum_to_sndti(indx, NULL);
+// assert((type == SOUND_SID6581) || (type == SOUND_SID8580));
+// return (SID6581 *) sndti_token(space->machine, type, indx);
}
diff --git a/src/emu/sound/vrender0.c b/src/emu/sound/vrender0.c
index 480a1a761f2..9c3a938032b 100644
--- a/src/emu/sound/vrender0.c
+++ b/src/emu/sound/vrender0.c
@@ -14,7 +14,7 @@ reverb
interrupts
*************/
-typedef struct _vr0_state vr0_state;
+typedef struct _vr0_state vr0_state;
struct _vr0_state
{
UINT32 *TexBase;
diff --git a/src/emu/sound/ymf278b.c b/src/emu/sound/ymf278b.c
index 083ea2e17b5..cb1a8b0139b 100644
--- a/src/emu/sound/ymf278b.c
+++ b/src/emu/sound/ymf278b.c
@@ -660,7 +660,7 @@ WRITE8_DEVICE_HANDLER( ymf278b_w )
case 5:
ymf278b_C_w(chip, chip->port_C, data);
break;
-
+
default:
logerror("%s: unexpected write at offset %X to ymf278b = %02X\n", cpuexec_describe_context(device->machine), offset, data);
break;
diff --git a/src/emu/streams.c b/src/emu/streams.c
index 31d4f01f0e8..22b5c20f11c 100644
--- a/src/emu/streams.c
+++ b/src/emu/streams.c
@@ -412,7 +412,7 @@ sound_stream *stream_create(const device_config *device, int inputs, int outputs
/*-------------------------------------------------
- stream_device_output_to_stream_output -
+ stream_device_output_to_stream_output -
convert a device/output pair to a stream/
output pair
-------------------------------------------------*/
@@ -439,7 +439,7 @@ int stream_device_output_to_stream_output(const device_config *device, int outpu
/*-------------------------------------------------
- stream_device_input_to_stream_input -
+ stream_device_input_to_stream_input -
convert a device/input pair to a stream/
input pair
-------------------------------------------------*/
@@ -604,7 +604,7 @@ attotime stream_get_sample_period(sound_stream *stream)
***************************************************************************/
/*-------------------------------------------------
- stream_get_device_outputs - return the total
+ stream_get_device_outputs - return the total
number of outputs for the given device
-------------------------------------------------*/
diff --git a/src/emu/ui.c b/src/emu/ui.c
index 5b283501013..a39ca49771b 100644
--- a/src/emu/ui.c
+++ b/src/emu/ui.c
@@ -926,13 +926,13 @@ static astring *warnings_string(running_machine *machine, astring *string)
astring_catc(string, "The game lacks sound.\n");
if (machine->gamedrv->flags & GAME_NO_COCKTAIL)
astring_catc(string, "Screen flipping in cocktail mode is not supported.\n");
-
+
/* check if external artwork is present before displaying this warning? */
if (machine->gamedrv->flags & GAME_REQUIRES_ARTWORK)
astring_catc(string, "The game requires external artwork files\n");
-
-
-
+
+
+
/* if there's a NOT WORKING or UNEMULATED PROTECTION warning, make it stronger */
if (machine->gamedrv->flags & (GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION))