mirror of https://git.citron-emu.org/citron/emu
Refactors the MM (Memory Management) service implementation with improved: - Session management using a vector of Session objects instead of global vars - Type safety with proper enums and member encapsulation - Error handling with consistent patterns - Modern C++ features (std::erase_if, std::find_if, emplace_back) - Logging with detailed debug messages - Code organization and const correctness Key changes: - Add Session class with proper encapsulation - Add EventClearMode enum (Manual = 0, Auto = 1) - Update Module enum naming for consistency - Implement proper session tracking and lookup - Add detailed parameter logging - Use modern C++ algorithms for session management The implementation now properly handles multiple sessions and matches the documented nn::mmnv::IRequest interface more closely. Refs: switchbrew.org/wiki/Display_services#mm:u |
||
---|---|---|
.. | ||
android | ||
audio_core | ||
citron | ||
citron_cmd | ||
common | ||
core | ||
dedicated_room | ||
frontend_common | ||
hid_core | ||
input_common | ||
network | ||
shader_recompiler | ||
tests | ||
video_core | ||
web_service | ||
.clang-format | ||
CMakeLists.txt |