diff options
Diffstat (limited to 'src/emu')
| -rw-r--r-- | src/emu/cheat.c | 4 | ||||
| -rw-r--r-- | src/emu/cpu/ccpu/ccpu.c | 4 | ||||
| -rw-r--r-- | src/emu/cpuexec.c | 20 | ||||
| -rw-r--r-- | src/emu/devintrf.c | 10 | ||||
| -rw-r--r-- | src/emu/machine/8255ppi.c | 2 | ||||
| -rw-r--r-- | src/emu/machine/z80dma.c | 4 | ||||
| -rw-r--r-- | src/emu/memory.c | 4 | ||||
| -rw-r--r-- | src/emu/sound/aica.c | 8 |
8 files changed, 28 insertions, 28 deletions
diff --git a/src/emu/cheat.c b/src/emu/cheat.c index c29e4123390..ebcdcc466b5 100644 --- a/src/emu/cheat.c +++ b/src/emu/cheat.c @@ -11246,14 +11246,14 @@ static void cheat_periodicOperation(CheatAction * action) case kOperation_AddSubtract: { - //INT32 temp, bound; + //INT32 temp, bound; /* ----- if extend data field is invalid, direct return ----- */ //if(action->flags & kActionFlag_IgnoreMask) return; /* FIXME: AddSubstract looks seriously broken - * and being worked on. */ + * and being worked on. */ #if 0 temp = ReadData(action); diff --git a/src/emu/cpu/ccpu/ccpu.c b/src/emu/cpu/ccpu/ccpu.c index a03f6b8f1a6..a73c3d2eb90 100644 --- a/src/emu/cpu/ccpu/ccpu.c +++ b/src/emu/cpu/ccpu/ccpu.c @@ -576,8 +576,8 @@ static int ccpu_execute(int cycles) ccpu_icount = -1; /* some games repeat the FRM opcode twice; it apparently does not cause - a second wait, so we make sure we skip any duplicate opcode at this - point */ + a second wait, so we make sure we skip any duplicate opcode at this + point */ if (READOP(ccpu.PC) == opcode) ccpu.PC++; break; diff --git a/src/emu/cpuexec.c b/src/emu/cpuexec.c index b6745891e59..dcfb87a7c09 100644 --- a/src/emu/cpuexec.c +++ b/src/emu/cpuexec.c @@ -748,18 +748,18 @@ void cpu_triggerint(running_machine *machine, int cpunum) int cpu_scalebyfcount(int value) { -// attotime refresh_elapsed = timer_timeelapsed(refresh_timer); -// int result; +// attotime refresh_elapsed = timer_timeelapsed(refresh_timer); +// int result; /* shift off some bits to ensure no overflow */ -// if (value < 65536) -// result = value * (refresh_elapsed.attoseconds >> 16) / (refresh_period.attoseconds >> 16); -// else -// result = value * (refresh_elapsed.attoseconds >> 32) / (refresh_period.attoseconds >> 32); -// if (value >= 0) -// return (result < value) ? result : value; -// else -// return (result > value) ? result : value; +// if (value < 65536) +// result = value * (refresh_elapsed.attoseconds >> 16) / (refresh_period.attoseconds >> 16); +// else +// result = value * (refresh_elapsed.attoseconds >> 32) / (refresh_period.attoseconds >> 32); +// if (value >= 0) +// return (result < value) ? result : value; +// else +// return (result > value) ? result : value; return 0; } diff --git a/src/emu/devintrf.c b/src/emu/devintrf.c index abc6815e14b..2646a6e185d 100644 --- a/src/emu/devintrf.c +++ b/src/emu/devintrf.c @@ -319,7 +319,7 @@ int device_list_class_items(const device_config *listhead, device_class class) /*------------------------------------------------- - device_list_class_first - return the first + device_list_class_first - return the first device in the list of a given class -------------------------------------------------*/ @@ -337,7 +337,7 @@ const device_config *device_list_class_first(const device_config *listhead, devi /*------------------------------------------------- - device_list_class_next - return the next + device_list_class_next - return the next device in the list of a given class -------------------------------------------------*/ @@ -357,7 +357,7 @@ const device_config *device_list_class_next(const device_config *prevdevice, dev /*------------------------------------------------- - device_list_class_find_by_tag - retrieve a + device_list_class_find_by_tag - retrieve a device configuration based on a class and tag -------------------------------------------------*/ @@ -401,8 +401,8 @@ int device_list_class_index(const device_config *listhead, device_class class, c /*------------------------------------------------- - device_list_class_find_by_index - retrieve a - device configuration based on a class and + device_list_class_find_by_index - retrieve a + device configuration based on a class and index -------------------------------------------------*/ diff --git a/src/emu/machine/8255ppi.c b/src/emu/machine/8255ppi.c index 6eb5bfedc37..70aad85a9d1 100644 --- a/src/emu/machine/8255ppi.c +++ b/src/emu/machine/8255ppi.c @@ -143,7 +143,7 @@ void ppi8255_init( const ppi8255_interface *intfce ) ppi8255 *chip = &chips[i]; memset(chip, 0, sizeof(*chip)); - + chip->port_read[0] = intfce->portAread[i]; chip->port_read[1] = intfce->portBread[i]; chip->port_read[2] = intfce->portCread[i]; diff --git a/src/emu/machine/z80dma.c b/src/emu/machine/z80dma.c index 575108ab96a..3d80b1d8144 100644 --- a/src/emu/machine/z80dma.c +++ b/src/emu/machine/z80dma.c @@ -496,14 +496,14 @@ READ8_HANDLER( z80dma_0_r ) { z80dma_t *z80dma = devtag_get_token(Machine, Z80DMA, Z80DMA_DEV_0_TAG); - return z80dma_read(z80dma); + return z80dma_read(z80dma); } READ8_HANDLER( z80dma_1_r ) { z80dma_t *z80dma = devtag_get_token(Machine, Z80DMA, Z80DMA_DEV_1_TAG); - return z80dma_read(z80dma); + return z80dma_read(z80dma); } WRITE8_HANDLER( z80dma_0_w ) diff --git a/src/emu/memory.c b/src/emu/memory.c index 5ab89c3be29..cfb3b2a55b2 100644 --- a/src/emu/memory.c +++ b/src/emu/memory.c @@ -38,8 +38,8 @@ Specifies a mask for the addresses in the current bucket. This mask is applied after a positive hit in the bucket specified by AM_RANGE or AM_SPACE, and is computed before accessing the RAM or calling - through to the read/write handler. If you use AM_MIRROR, below, the - mask is ANDed implicitly with the logical NOT of the mirror. The + through to the read/write handler. If you use AM_MIRROR, below, the + mask is ANDed implicitly with the logical NOT of the mirror. The mask specified by this macro is ANDed against any implicit masks. AM_MIRROR(mirror) diff --git a/src/emu/sound/aica.c b/src/emu/sound/aica.c index dd3e76d85a4..0481369cd72 100644 --- a/src/emu/sound/aica.c +++ b/src/emu/sound/aica.c @@ -6,7 +6,7 @@ - No FM mode - A third sample format (ADPCM) has been added - Some minor other tweeks (no EGHOLD, slighly more capable DSP) - + init: */ @@ -869,7 +869,7 @@ static void AICA_UpdateRegR(struct _AICA *AICA, int reg) case 0x10: // LP check case 0x11: { - //int MSLC = (AICA->udata.data[0xc/2]>>8) & 0x3f; // which slot are we monitoring? + //int MSLC = (AICA->udata.data[0xc/2]>>8) & 0x3f; // which slot are we monitoring? } break; @@ -1205,8 +1205,8 @@ INLINE INT32 AICA_UpdateSlot(struct _AICA *AICA, struct _SLOT *slot) sample=(sample*EG_Update(slot))>>SHIFT; else sample=(sample*EG_TABLE[EG_Update(slot)>>(SHIFT-10)])>>SHIFT; - - if(slot->mslc) + + if(slot->mslc) { AICA->udata.data[0x12/2] = addr1; if (!(AFSEL(AICA))) |
