diff --git a/libstratosphere/include/stratosphere/htclow/htclow_module_types.hpp b/libstratosphere/include/stratosphere/htclow/htclow_module_types.hpp index ef8c92e3..f5a8817e 100644 --- a/libstratosphere/include/stratosphere/htclow/htclow_module_types.hpp +++ b/libstratosphere/include/stratosphere/htclow/htclow_module_types.hpp @@ -20,7 +20,9 @@ namespace ams::htclow { enum class ModuleId : u8 { - /* ... */ + Htcfs = 1, + Htcmisc = 3, + Htcs = 4, }; struct ModuleType { diff --git a/libstratosphere/source/htclow/ctrl/htclow_ctrl_service_channels.hpp b/libstratosphere/source/htclow/ctrl/htclow_ctrl_service_channels.hpp index bcaf32b9..d42bb45c 100644 --- a/libstratosphere/source/htclow/ctrl/htclow_ctrl_service_channels.hpp +++ b/libstratosphere/source/htclow/ctrl/htclow_ctrl_service_channels.hpp @@ -20,20 +20,20 @@ namespace ams::htclow::ctrl { constexpr inline const impl::ChannelInternalType ServiceChannels[] = { { - .channel_id = 0, - .module_id = static_cast(1), + .channel_id = 0, /* TODO: htcfs::ChannelId? */ + .module_id = ModuleId::Htcfs, }, { - .channel_id = 1, - .module_id = static_cast(3), + .channel_id = 1, /* TODO: htcmisc::ServerChannelId? */ + .module_id = ModuleId::Htcmisc, }, { - .channel_id = 2, - .module_id = static_cast(3), + .channel_id = 2, /* TODO: htcmisc::ClientChannelId? */ + .module_id = ModuleId::Htcmisc, }, { - .channel_id = 0, - .module_id = static_cast(4), + .channel_id = 0, /* TODO: htcs::ChannelId? */ + .module_id = ModuleId::Htcs, }, };