Permalink
Browse files

Merge pull request #7068 from lioncash/const

DSPAccelerator: const qualify pointer parameter for Read()
  • Loading branch information...
JosJuice committed Jun 4, 2018
2 parents 5f29e89 + 1e3e11d commit 5e0da225ee7a4e8e0956e38f4ee52109444d2b5b
Showing with 2 additions and 2 deletions.
  1. +1 −1 Source/Core/Core/DSP/DSPAccelerator.cpp
  2. +1 −1 Source/Core/Core/DSP/DSPAccelerator.h
@@ -58,7 +58,7 @@ void Accelerator::WriteD3(u16 value)
}
}
u16 Accelerator::Read(s16* coefs)
u16 Accelerator::Read(const s16* coefs)
{
if (m_reads_stopped)
return 0x0000;
@@ -15,7 +15,7 @@ class Accelerator
public:
virtual ~Accelerator() = default;
u16 Read(s16* coefs);
u16 Read(const s16* coefs);
// Zelda ucode reads ARAM through 0xffd3.
u16 ReadD3();
void WriteD3(u16 value);

0 comments on commit 5e0da22

Please sign in to comment.