summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/gaelco.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/sound/gaelco.h')
-rw-r--r--src/emu/sound/gaelco.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/emu/sound/gaelco.h b/src/emu/sound/gaelco.h
index 76ae621273b..e454ec85c51 100644
--- a/src/emu/sound/gaelco.h
+++ b/src/emu/sound/gaelco.h
@@ -3,8 +3,8 @@
#ifndef __GALELCO_H__
#define __GALELCO_H__
-#define GAELCO_NUM_CHANNELS 0x07
-#define GAELCO_VOLUME_LEVELS 0x10
+#define GAELCO_NUM_CHANNELS 0x07
+#define GAELCO_VOLUME_LEVELS 0x10
//**************************************************************************
@@ -32,9 +32,9 @@
struct gaelco_sound_channel
{
- int active; // is it playing?
- int loop; // = 0 no looping, = 1 looping
- int chunkNum; // current chunk if looping
+ int active; // is it playing?
+ int loop; // = 0 no looping, = 1 looping
+ int chunkNum; // current chunk if looping
};
@@ -42,15 +42,15 @@ struct gaelco_sound_channel
struct gaelcosnd_interface
{
- const char *gfxregion; /* shared gfx region name */
- int banks[4]; /* start of each ROM bank */
+ const char *gfxregion; /* shared gfx region name */
+ int banks[4]; /* start of each ROM bank */
};
// ======================> gaelco_gae1_device
class gaelco_gae1_device : public device_t,
- public device_sound_interface
+ public device_sound_interface
{
public:
gaelco_gae1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
@@ -70,10 +70,10 @@ public:
DECLARE_READ16_MEMBER( gaelcosnd_r );
private:
- sound_stream *m_stream; /* our stream */
- UINT8 *m_snd_data; /* PCM data */
- int m_banks[4]; /* start of each ROM bank */
- gaelco_sound_channel m_channel[GAELCO_NUM_CHANNELS]; /* 7 stereo channels */
+ sound_stream *m_stream; /* our stream */
+ UINT8 *m_snd_data; /* PCM data */
+ int m_banks[4]; /* start of each ROM bank */
+ gaelco_sound_channel m_channel[GAELCO_NUM_CHANNELS]; /* 7 stereo channels */
UINT16 m_sndregs[0x38];