summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/audio/cps3.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/audio/cps3.h')
-rw-r--r--src/mame/audio/cps3.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/audio/cps3.h b/src/mame/audio/cps3.h
index 03c5e4f1642..41c7b6c041f 100644
--- a/src/mame/audio/cps3.h
+++ b/src/mame/audio/cps3.h
@@ -16,12 +16,12 @@ struct cps3_voice
pos(0),
frac(0)
{
- memset(regs, 0, sizeof(UINT32)*8);
+ memset(regs, 0, sizeof(uint32_t)*8);
}
- UINT32 regs[8];
- UINT32 pos;
- UINT32 frac;
+ uint32_t regs[8];
+ uint32_t pos;
+ uint32_t frac;
};
// ======================> cps3_sound_device
@@ -30,10 +30,10 @@ class cps3_sound_device : public device_t,
public device_sound_interface
{
public:
- cps3_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ cps3_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
~cps3_sound_device() { }
- void set_base(INT8* base) { m_base = base; }
+ void set_base(int8_t* base) { m_base = base; }
DECLARE_WRITE32_MEMBER( cps3_sound_w );
DECLARE_READ32_MEMBER( cps3_sound_r );
@@ -48,8 +48,8 @@ protected:
private:
sound_stream *m_stream;
cps3_voice m_voice[16];
- UINT16 m_key;
- INT8* m_base;
+ uint16_t m_key;
+ int8_t* m_base;
};
extern const device_type CPS3;