From 5e0e9b558d7e29b0f069812e6ac12b905e5870ab Mon Sep 17 00:00:00 2001 From: Cynthia Date: Mon, 23 Mar 2026 18:10:50 +0000 Subject: [PATCH] add new comment to mask --- include/coreinit/core.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/include/coreinit/core.h b/include/coreinit/core.h index d37adf01..74f4a535 100644 --- a/include/coreinit/core.h +++ b/include/coreinit/core.h @@ -14,6 +14,12 @@ extern "C" { #endif +/** + * Can be used to mask the return value of + * \ref OSGetConsoleType + * for determining the "group" of console. See the function for more + * information around the values the mask gives. + */ #define OS_CONSOLE_TYPE_MASK 0xF0000000 @@ -66,9 +72,9 @@ OSIsMainCore(); * * Most of the field is relatively unknown but you can use * \ref OS_CONSOLE_TYPE_MASK - * which returns whether the unit is a Retail/CAT-R unit with 0, - * a CAT-DEV or other CAFE development board with 1, and an orchestrax - * unit with 2. + * which returns whether the unit is a Retail/CAT-R unit with `0x00000000`, + * a CAT-DEV or other CAFE development board with `0x10000000`, and an + * orchestrax unit with `0x20000000`. * * \returns * A number representing the specific console types.