3ds-examples
3ds-examples copied to clipboard
MiiData type isn't recognized by VS Code
Bug Report
What's the issue you encountered?
The MiiSelectorReturn
type has a field named mii with the type MiiData
. For some reason the type MiiData seems to not exist. So I can't use the field mii with it's properties. If I check the implementation I see this so I don't know what's going on.
typedef struct
{
u32 no_mii_selected; ///< 0 if a Mii was selected, 1 if the selection was
///< canceled.
u32 guest_mii_was_selected; ///< 1 if a Guest Mii was selected, 0 otherwise.
u32 guest_mii_index; ///< Index of the selected Guest Mii,
///< 0xFFFFFFFF if no guest was selected.
MiiData mii; ///< Data of selected Mii.
u16 _pad0x68; ///< @private
u16 checksum; ///< Checksum of the returned Mii data.
///< Stored as a big-endian value; use
///< @ref miiSelectorChecksumIsValid to
///< verify.
u16 guest_mii_name[MIISELECTOR_GUESTMII_NAME_LEN]; ///< Localized name of a Guest Mii,
///< if one was selected (UTF16-LE
///< string). Zeroed otherwise.
} MiiSelectorReturn;
How can the issue be reproduced?
MiiSelectorConf msConf;
MiiSelectorReturn msRet;
miiSelectorInit(&msConf);
miiSelectorSetTitle(&msConf, "Select your Mii");
miiSelectorSetOptions(&msConf, 0);
miiSelectorSetInitialIndex(&msConf, 0);
miiSelectorLaunch(&msConf, &msRet);
msRet.mii //Doesn't exist for some reason
MiiData data //Doesn't exist as well
When hovering over .mii I get this: <error-type> <unnamed>::mii
Environment?
- Windows 11