From aff77c2408ee31c5e96a70aebea4114849d2e030 Mon Sep 17 00:00:00 2001 From: smf- Date: Tue, 28 Dec 2021 17:17:38 +0000 Subject: fix for building with clang 13.0.0 on windows --- src/mame/machine/cdicdic.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mame/machine/cdicdic.cpp b/src/mame/machine/cdicdic.cpp index 098b3f4769a..05991604d1b 100644 --- a/src/mame/machine/cdicdic.cpp +++ b/src/mame/machine/cdicdic.cpp @@ -415,11 +415,11 @@ void cdicdic_device::play_audio_sector(const uint8_t coding, const uint8_t *data } int channels = 2; - offs_t buffer_length = 1; + //offs_t buffer_length = 1; if (!(coding & CODING_STEREO)) { channels = 1; - buffer_length *= 2; + //buffer_length *= 2; } int bits = 4; @@ -434,7 +434,7 @@ void cdicdic_device::play_audio_sector(const uint8_t coding, const uint8_t *data break; default: bits = 4; - buffer_length *= 2; + //buffer_length *= 2; break; } -- cgit v1.2.3