diff options
author | Zephyron <zephyron@citron-emu.org> | 2025-02-03 16:13:21 +1000 |
---|---|---|
committer | Zephyron <zephyron@citron-emu.org> | 2025-02-03 16:13:21 +1000 |
commit | 14065ae7cb139a7b2639ace7701038c36d9abd6b (patch) | |
tree | 9ec40ff59654d021f4063f25259298ae8aed6428 /src/citron/bootmanager.cpp | |
parent | 9eb32d2d85db939555f3815cbd9034f3a7df433b (diff) |
kernel/svc: Refactor UnmapProcessCodeMemory validation
Improve the validation logic in UnmapProcessCodeMemory by:
- Add missing size validation check at the start
- Reorganize validation checks into logical groups
- Simplify error handling using R_UNLESS macros
- Remove redundant page table range check
- Add copyright notice for Citron Emulator Project
- Add ResultInvalidSize constant definition
The changes make the validation code more concise and easier to follow
while maintaining the same validation requirements. Error handling is now
more consistent with other SVC implementations.
Diffstat (limited to 'src/citron/bootmanager.cpp')
0 files changed, 0 insertions, 0 deletions