nn::fs::IsSdmcInserted Function

Syntax

bool IsSdmcInserted();

Arguments

None.

Return Values

Returns true if a card is inserted or false otherwise.

Description

Returns a value indicating whether an SD Card has been inserted.

Because this function represents a high load, be sure to use nn::os::LightEvent, registered using the nn::fs::RegisterSdmcInsertedEvent or nn::fs::RegisterSdmcEjectedEvent function, when waiting for an SD Memory Card insertion or ejection event.

Revision History

2010/09/09
Added Description.
2010/08/16
Initial version.

CONFIDENTIAL