diff --git a/src/audio_core/hle/mediandk_decoder.cpp b/src/audio_core/hle/mediandk_decoder.cpp index f731258b01..f346f8f8fb 100644 --- a/src/audio_core/hle/mediandk_decoder.cpp +++ b/src/audio_core/hle/mediandk_decoder.cpp @@ -202,8 +202,7 @@ std::optional MediaNDKDecoder::Impl::Decode(const BinaryRequest& size_t stream0_size = out_streams[0].size() * sizeof(u16); if (stream0_size != 0) { if (request.dst_addr_ch0 < Memory::FCRAM_PADDR || - request.dst_addr_ch0 + stream0_size > - Memory::FCRAM_PADDR + Memory::FCRAM_SIZE) { + request.dst_addr_ch0 + stream0_size > Memory::FCRAM_PADDR + Memory::FCRAM_SIZE) { LOG_ERROR(Audio_DSP, "Got out of bounds dst_addr_ch0 {:08x}", request.dst_addr_ch0); return response; } @@ -214,8 +213,7 @@ std::optional MediaNDKDecoder::Impl::Decode(const BinaryRequest& size_t stream1_size = out_streams[1].size() * sizeof(u16); if (stream1_size != 0) { if (request.dst_addr_ch1 < Memory::FCRAM_PADDR || - request.dst_addr_ch1 + stream1_size > - Memory::FCRAM_PADDR + Memory::FCRAM_SIZE) { + request.dst_addr_ch1 + stream1_size > Memory::FCRAM_PADDR + Memory::FCRAM_SIZE) { LOG_ERROR(Audio_DSP, "Got out of bounds dst_addr_ch1 {:08x}", request.dst_addr_ch1); return response; }