diff options
author | Zephyron <zephyron@citron-emu.org> | 2025-02-08 19:50:28 +1000 |
---|---|---|
committer | Zephyron <zephyron@citron-emu.org> | 2025-02-08 19:50:28 +1000 |
commit | e3128c6e98c6abfec9a3f2dcf0cee8edc9243828 (patch) | |
tree | 9fcafd3b0f0fe629498c09ef16c87b4eaa658b25 /src/core/constants.cpp | |
parent | b89a85e22839a9c8b024520b954767a773e9a8cf (diff) |
service/sm: improve service manager implementation
- Reorder error codes to match numerical order
- Rename RegisterClient to Initialize in service registration
to match actual function name
- Update function declaration order in header to match implementation
- Improve QueryPointerBufferSize implementation:
* Add proper documentation comment
* Use constexpr for maximum transfer memory size
* Use std::numeric_limits where appropriate
* Improve debug logging message
* Use meaningful constant name
These changes improve code organization and clarity while making
the service manager interface more consistent with Nintendo's
official naming conventions.
Diffstat (limited to 'src/core/constants.cpp')
0 files changed, 0 insertions, 0 deletions