summaryrefslogtreecommitdiff
path: root/src/citron/bootmanager.cpp
diff options
context:
space:
mode:
authorZephyron <zephyron@citron-emu.org>2025-02-03 16:13:21 +1000
committerZephyron <zephyron@citron-emu.org>2025-02-03 16:13:21 +1000
commit14065ae7cb139a7b2639ace7701038c36d9abd6b (patch)
tree9ec40ff59654d021f4063f25259298ae8aed6428 /src/citron/bootmanager.cpp
parent9eb32d2d85db939555f3815cbd9034f3a7df433b (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