Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sprinkle const around where appropriate #1909

Merged
merged 2 commits into from
Dec 12, 2023

Conversation

JesseTG
Copy link
Contributor

@JesseTG JesseTG commented Dec 7, 2023

  • This will make it easier to use NDS objects in const contexts (e.g. const parameters or methods)

- This will make it easier to use `NDS` objects in `const` contexts (e.g. `const` parameters or methods)
src/DSi_DSP.h Outdated Show resolved Hide resolved
- MMIO reads can be non-pure, so this may not be `const` in the future
@RSDuck RSDuck merged commit 9bfc9c0 into melonDS-emu:master Dec 12, 2023
7 of 8 checks passed
kvnp pushed a commit to kvnp/melonDS that referenced this pull request Dec 25, 2023
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants