mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
DSPAccelerator: const qualify pointer parameter for Read()
The data pointed to is only ever read, so make this explicit.
This commit is contained in:
parent
9b43180731
commit
1e3e11d0f5
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user