summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tnzs.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
commitddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch)
treea70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/mame/drivers/tnzs.cpp
parent333bff8de64dfaeb98134000412796b4fdef970b (diff)
NOTICE (TYPE NAME CONSOLIDATION)
Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
Diffstat (limited to 'src/mame/drivers/tnzs.cpp')
-rw-r--r--src/mame/drivers/tnzs.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/tnzs.cpp b/src/mame/drivers/tnzs.cpp
index a4929cb53e3..c24812c04da 100644
--- a/src/mame/drivers/tnzs.cpp
+++ b/src/mame/drivers/tnzs.cpp
@@ -630,8 +630,8 @@ Driver by Takahiro Nogi (nogi@kt.rim.or.jp) 1999/11/06
SAMPLES_START_CB_MEMBER(tnzs_state::kageki_init_samples)
{
- UINT8 *scan, *src;
- INT16 *dest;
+ uint8_t *scan, *src;
+ int16_t *dest;
int start, size;
int i, n;
@@ -652,7 +652,7 @@ SAMPLES_START_CB_MEMBER(tnzs_state::kageki_init_samples)
}
/* 2009-11 FP: should these be saved? */
- m_sampledata[i] = std::make_unique<INT16[]>(size);
+ m_sampledata[i] = std::make_unique<int16_t[]>(size);
m_samplesize[i] = size;
@@ -664,7 +664,7 @@ SAMPLES_START_CB_MEMBER(tnzs_state::kageki_init_samples)
scan = &src[start];
for (n = 0; n < size; n++)
{
- *dest++ = (INT8)((*scan++) ^ 0x80) * 256;
+ *dest++ = (int8_t)((*scan++) ^ 0x80) * 256;
}
// logerror("samples num:%02X ofs:%04X lng:%04X\n", i, start, size);
}