From 9bfc9c08ffe88de4b54734d6fd03182c0a51e181 Mon Sep 17 00:00:00 2001 From: Jesse Talavera Date: Tue, 12 Dec 2023 05:07:22 -0500 Subject: Sprinkle `const` around where appropriate (#1909) * Sprinkle `const` around where appropriate - This will make it easier to use `NDS` objects in `const` contexts (e.g. `const` parameters or methods) * Remove the `const` qualifier on `DSi_DSP::DSPRead16` - MMIO reads can be non-pure, so this may not be `const` in the future --- src/SPU.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/SPU.h') diff --git a/src/SPU.h b/src/SPU.h index 1541c68..b2b05ac 100644 --- a/src/SPU.h +++ b/src/SPU.h @@ -237,7 +237,7 @@ public: void TrimOutput(); void DrainOutput(); void InitOutput(); - int GetOutputSize(); + int GetOutputSize() const; void Sync(bool wait); int ReadOutput(s16* data, int samples); void TransferOutput(); -- cgit v1.2.3