Function QTMU_IsCurrentAppBlacklisted

Source
pub unsafe extern "C" fn QTMU_IsCurrentAppBlacklisted(
    outBlacklisted: *mut bool,
) -> Result
Expand description

Checks whether or not QTM has been blacklisted, ie. that it has been made unavailable. In detail, this means that the last call to QTMS_SetQtmStatus was made with argument QTM_STATUS_UNAVAILABLE, usually by NS. This feature seems to only be used for some internal test titles.

§Arguments

  • outBlacklisted (direction out) - Whether or not QTM is unavailable. Always true on N2DSXL.

§Returns

Always 0 (success).

Note: On N2DSXL, even though status is always supposed to be QTM_STATUS_UNAVAILABLE, this function often returns true (because NS doesn’t change QTM’s status if title isn’t blacklisted). Do not rely on this for N2DSXL detection. Note: Refer to https://www.3dbrew.org/wiki/NS_CFA for a list of title UIDs this is used for.