diff options
| author | 2012-09-17 06:49:13 +0000 | |
|---|---|---|
| committer | 2012-09-17 06:49:13 +0000 | |
| commit | e25c13f2532730ebf50d0cffa0147393fd8e0228 (patch) | |
| tree | a6c25d1de7041f26afed559dbc6670fa550e6b41 /src/mess/audio | |
| parent | f97e8f00818bd8d898facc206ed33ab72cf10a75 (diff) | |
Clean-ups and version bumpmame0147
note: hoarded dump removed too from coco_cart.xml, this will not be tolerated
Diffstat (limited to 'src/mess/audio')
| -rw-r--r-- | src/mess/audio/mea8000.c | 6 | ||||
| -rw-r--r-- | src/mess/audio/mos7360.c | 18 | ||||
| -rw-r--r-- | src/mess/audio/socrates.c | 2 | ||||
| -rw-r--r-- | src/mess/audio/spchroms.h | 2 | ||||
| -rw-r--r-- | src/mess/audio/svision.c | 8 |
5 files changed, 18 insertions, 18 deletions
diff --git a/src/mess/audio/mea8000.c b/src/mess/audio/mea8000.c index 2f289939a20..5281137b433 100644 --- a/src/mess/audio/mea8000.c +++ b/src/mess/audio/mea8000.c @@ -44,7 +44,7 @@ /* finite machine state controling frames */ -enum mea8000_state +enum mea8000_state { MEA8000_STOPPED, /* nothing to do, timer disabled */ MEA8000_WAIT_FIRST, /* received pitch, wait for first full trame, timer disabled */ @@ -55,7 +55,7 @@ enum mea8000_state ALLOW_SAVE_TYPE( mea8000_state ); -struct filter_t +struct filter_t { #ifdef FLOAT_MODE double fm, last_fm; /* frequency, in Hz */ @@ -70,7 +70,7 @@ struct filter_t -struct mea8000_t +struct mea8000_t { /* configuration parameters */ diff --git a/src/mess/audio/mos7360.c b/src/mess/audio/mos7360.c index 777405a0c95..bf087986852 100644 --- a/src/mess/audio/mos7360.c +++ b/src/mess/audio/mos7360.c @@ -240,7 +240,7 @@ inline UINT8 mos7360_device::read_ram(offs_t offset) m_last_data = space(AS_0)->read_byte(offset); m_rom = rom; - + return m_last_data; } @@ -252,7 +252,7 @@ inline UINT8 mos7360_device::read_rom(offs_t offset) m_last_data = space(AS_0)->read_byte(offset); m_rom = rom; - + return m_last_data; } @@ -550,7 +550,7 @@ void mos7360_device::draw_bitmap(int ybegin, int yend, int ch, int yoff, int xof for (y = ybegin; y <= yend; y++) { code = read_ram(m_bitmapaddr + ch * 8 + y); - + m_bitmap.pix32(y + yoff, 0 + xoff) = PALETTE[m_c16_bitmap[code >> 7]]; m_bitmap.pix32(y + yoff, 1 + xoff) = PALETTE[m_c16_bitmap[(code >> 6) & 1]]; m_bitmap.pix32(y + yoff, 2 + xoff) = PALETTE[m_c16_bitmap[(code >> 5) & 1]]; @@ -569,7 +569,7 @@ void mos7360_device::draw_bitmap_multi(int ybegin, int yend, int ch, int yoff, i for (y = ybegin; y <= yend; y++) { code = read_ram(m_bitmapaddr + ch * 8 + y); - + m_bitmap.pix32(y + yoff, 0 + xoff) = m_bitmap.pix32(y + yoff, 1 + xoff) = PALETTE[m_bitmapmulti[code >> 6]]; m_bitmap.pix32(y + yoff, 2 + xoff) = @@ -589,7 +589,7 @@ void mos7360_device::draw_cursor(int ybegin, int yend, int yoff, int xoff, int c { for (int x = 0; x < 8; x++) { - m_bitmap.pix32(y + yoff, x + xoff) = PALETTE[color]; + m_bitmap.pix32(y + yoff, x + xoff) = PALETTE[color]; } } } @@ -617,7 +617,7 @@ void mos7360_device::drawlines(int first, int last) { for (int x = 0; x < m_bitmap.width(); x++) { - m_bitmap.pix32(line, x) = PALETTE[0]; + m_bitmap.pix32(line, x) = PALETTE[0]; } } return; @@ -637,7 +637,7 @@ void mos7360_device::drawlines(int first, int last) { for (int x = 0; x < m_bitmap.width(); x++) { - m_bitmap.pix32(line, x) = PALETTE[FRAMECOLOR]; + m_bitmap.pix32(line, x) = PALETTE[FRAMECOLOR]; } } } @@ -733,7 +733,7 @@ void mos7360_device::drawlines(int first, int last) { for (int x = 0; x < xbegin; x++) { - m_bitmap.pix32(yoff + i, x) = PALETTE[FRAMECOLOR]; + m_bitmap.pix32(yoff + i, x) = PALETTE[FRAMECOLOR]; } for (int x = xend; x < m_bitmap.width(); x++) @@ -752,7 +752,7 @@ void mos7360_device::drawlines(int first, int last) { for (int x = 0; x < m_bitmap.width(); x++) { - m_bitmap.pix32(line, x) = PALETTE[FRAMECOLOR]; + m_bitmap.pix32(line, x) = PALETTE[FRAMECOLOR]; } } } diff --git a/src/mess/audio/socrates.c b/src/mess/audio/socrates.c index 347c7ee3ea8..e7eac40f0a5 100644 --- a/src/mess/audio/socrates.c +++ b/src/mess/audio/socrates.c @@ -10,7 +10,7 @@ #include "emu.h" #include "socrates.h" -struct SocratesASIC +struct SocratesASIC { sound_stream *stream; UINT8 freq[2]; /* channel 1,2 frequencies */ diff --git a/src/mess/audio/spchroms.h b/src/mess/audio/spchroms.h index c10ce25ee04..453dc9825fd 100644 --- a/src/mess/audio/spchroms.h +++ b/src/mess/audio/spchroms.h @@ -1,7 +1,7 @@ #ifndef __SPCHROMS_H #define __SPCHROMS_H -struct spchroms_interface +struct spchroms_interface { const char *memory_region; /* memory region where the speech ROM is. NULL means no speech ROM */ }; diff --git a/src/mess/audio/svision.c b/src/mess/audio/svision.c index ad0be994e8b..8c9298e5166 100644 --- a/src/mess/audio/svision.c +++ b/src/mess/audio/svision.c @@ -7,13 +7,13 @@ #include "emu.h" #include "includes/svision.h" -enum SVISION_NOISE_Type +enum SVISION_NOISE_Type { SVISION_NOISE_Type7Bit, SVISION_NOISE_Type14Bit }; -struct SVISION_NOISE +struct SVISION_NOISE { UINT8 reg[3]; int on, right, left, play; @@ -25,7 +25,7 @@ struct SVISION_NOISE int value; // currently simple random function }; -struct SVISION_DMA +struct SVISION_DMA { UINT8 reg[5]; int on, right, left; @@ -35,7 +35,7 @@ struct SVISION_DMA int finished; }; -struct SVISION_CHANNEL +struct SVISION_CHANNEL { UINT8 reg[4]; int on; |
