summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/fmsx_cas.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/lib/formats/fmsx_cas.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/lib/formats/fmsx_cas.cpp')
-rw-r--r--src/lib/formats/fmsx_cas.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/formats/fmsx_cas.cpp b/src/lib/formats/fmsx_cas.cpp
index ca2ab078fd4..6da8fc47f81 100644
--- a/src/lib/formats/fmsx_cas.cpp
+++ b/src/lib/formats/fmsx_cas.cpp
@@ -8,7 +8,7 @@
#define CAS_PERIOD (16)
#define CAS_HEADER_PERIODS (4000)
#define CAS_EMPTY_PERIODS (1000)
-static const UINT8 CasHeader[8] = { 0x1F,0xA6,0xDE,0xBA,0xCC,0x13,0x7D,0x74 };
+static const uint8_t CasHeader[8] = { 0x1F,0xA6,0xDE,0xBA,0xCC,0x13,0x7D,0x74 };
static int cas_size;
@@ -16,7 +16,7 @@ static int cas_size;
/*******************************************************************
Calculate the number of samples needed for this tape image
********************************************************************/
-static int fmsx_cas_to_wav_size (const UINT8 *casdata, int caslen)
+static int fmsx_cas_to_wav_size (const uint8_t *casdata, int caslen)
{
int pos, size;
@@ -48,7 +48,7 @@ static int fmsx_cas_to_wav_size (const UINT8 *casdata, int caslen)
/*******************************************************************
Generate samples for the tape image
********************************************************************/
-static int fmsx_cas_fill_wave(INT16 *buffer, int sample_count, UINT8 *bytes)
+static int fmsx_cas_fill_wave(int16_t *buffer, int sample_count, uint8_t *bytes)
{
int cas_pos, bit, state = 1, samples_pos, size, n, i, p;