Merge pull request #7068 from lioncash/const

DSPAccelerator: const qualify pointer parameter for Read()
This commit is contained in:
JosJuice 2018-06-04 22:05:26 +02:00 committed by GitHub
commit 5e0da225ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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);