summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/audio/gomoku.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/audio/gomoku.cpp')
-rw-r--r--src/mame/audio/gomoku.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/audio/gomoku.cpp b/src/mame/audio/gomoku.cpp
index 9743ea2884e..23ea836c212 100644
--- a/src/mame/audio/gomoku.cpp
+++ b/src/mame/audio/gomoku.cpp
@@ -27,7 +27,7 @@ const device_type GOMOKU = &device_creator<gomoku_sound_device>;
// gomoku_sound_device - constructor
//-------------------------------------------------
-gomoku_sound_device::gomoku_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+gomoku_sound_device::gomoku_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: device_t(mconfig, GOMOKU, "Gomoku Narabe Renju Audio Custom", tag, owner, clock, "gomoku_sound", __FILE__),
device_sound_interface(mconfig, *this),
m_last_channel(nullptr),
@@ -41,8 +41,8 @@ gomoku_sound_device::gomoku_sound_device(const machine_config &mconfig, const ch
m_mixer_buffer_2(nullptr)
{
memset(m_channel_list, 0, sizeof(gomoku_sound_channel)*GOMOKU_MAX_VOICES);
- memset(m_soundregs1, 0, sizeof(UINT8)*0x20);
- memset(m_soundregs2, 0, sizeof(UINT8)*0x20);
+ memset(m_soundregs1, 0, sizeof(uint8_t)*0x20);
+ memset(m_soundregs2, 0, sizeof(uint8_t)*0x20);
}
@@ -180,7 +180,7 @@ void gomoku_sound_device::make_mixer_table(int voices, int gain)
int i;
/* allocate memory */
- m_mixer_table = std::make_unique<INT16[]>(256 * voices);
+ m_mixer_table = std::make_unique<int16_t[]>(256 * voices);
/* find the middle of the table */
m_mixer_lookup = m_mixer_table.get() + (128 * voices);