diff options
author | 2016-10-22 13:13:17 +0200 | |
---|---|---|
committer | 2016-10-22 13:13:17 +0200 | |
commit | ddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch) | |
tree | a70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/lib/formats/sord_cas.cpp | |
parent | 333bff8de64dfaeb98134000412796b4fdef970b (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/sord_cas.cpp')
-rw-r--r-- | src/lib/formats/sord_cas.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/formats/sord_cas.cpp b/src/lib/formats/sord_cas.cpp index f535216e18e..bc11c388915 100644 --- a/src/lib/formats/sord_cas.cpp +++ b/src/lib/formats/sord_cas.cpp @@ -16,7 +16,7 @@ #define SORDM5_WAVESAMPLES_TRAILER 1 #define SORDM5_WAVESAMPLES_BLOCK 1 -static const UINT8 SORDM5_CAS_HEADER[6] = { 'S', 'O', 'R', 'D', 'M', '5'}; +static const uint8_t SORDM5_CAS_HEADER[6] = { 'S', 'O', 'R', 'D', 'M', '5'}; static const struct CassetteModulation sordm5_cas_modulation = { @@ -25,9 +25,9 @@ static const struct CassetteModulation sordm5_cas_modulation = 3150.0 - 600, 3150.0, 3150.0 + 600 }; -static UINT8 cassette_image_read_uint8( cassette_image *cassette, UINT64 offset) +static uint8_t cassette_image_read_uint8( cassette_image *cassette, uint64_t offset) { - UINT8 data; + uint8_t data; cassette_image_read( cassette, &data, offset, 1); return data; } @@ -40,13 +40,13 @@ static cassette_image::error sordm5_tap_identify( cassette_image *cassette, stru static cassette_image::error sordm5_tap_load( cassette_image *cassette) { cassette_image::error err; - UINT64 image_size; + uint64_t image_size; double time_index = 0.0; double time_displacement; - UINT8 header[16]; - UINT64 image_pos; - UINT8 block_type, byte, bit; - UINT32 block_size, i, j; + uint8_t header[16]; + uint64_t image_pos; + uint8_t block_type, byte, bit; + uint32_t block_size, i, j; size_t filler_length; // init image_size = cassette_image_size(cassette); |