From 5f316dc7a4320bbcea51ac2190f98f2b15d2440a Mon Sep 17 00:00:00 2001 From: joevt Date: Fri, 29 Mar 2024 02:03:14 -0700 Subject: [PATCH] grandcentral: Adjust audio in DMA logging. --- devices/ioctrl/grandcentral.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devices/ioctrl/grandcentral.cpp b/devices/ioctrl/grandcentral.cpp index eacb2c0..cc08e7b 100644 --- a/devices/ioctrl/grandcentral.cpp +++ b/devices/ioctrl/grandcentral.cpp @@ -209,7 +209,7 @@ uint32_t GrandCentral::read(uint32_t rgn_start, uint32_t offset, int size) case MIO_GC_DMA_AUDIO_OUT: return this->snd_out_dma->reg_read(offset & 0xFF, size); case MIO_GC_DMA_AUDIO_IN: - //LOG_F(WARNING, "%s: Unsupported DMA channel MIO_GC_DMA_AUDIO_IN read @%02x.%c", this->name.c_str(), offset & 0xFF, SIZE_ARG(size)); + //LOG_F(WARNING, "%s: Unsupported DMA channel DMA_AUDIO_IN read @%02x.%c", this->name.c_str(), offset & 0xFF, SIZE_ARG(size)); return 0; // this->snd_in_dma->reg_read(offset & 0xFF, size); case MIO_GC_DMA_SCSI_MESH: return this->mesh_dma->reg_read(offset & 0xFF, size); @@ -312,7 +312,7 @@ void GrandCentral::write(uint32_t rgn_start, uint32_t offset, uint32_t value, in this->snd_out_dma->reg_write(offset & 0xFF, value, size); break; case MIO_GC_DMA_AUDIO_IN: - LOG_F(WARNING, "%s: Unsupported DMA channel MIO_GC_DMA_AUDIO_IN write @%02x.%c = %0*x", this->name.c_str(), offset & 0xFF, SIZE_ARG(size), size * 2, value); + LOG_F(WARNING, "%s: Unsupported DMA channel DMA_AUDIO_IN write @%02x.%c = %0*x", this->name.c_str(), offset & 0xFF, SIZE_ARG(size), size * 2, value); //this->snd_in_dma->reg_write(offset & 0xFF, value, size); break; case MIO_GC_DMA_SCSI_MESH: