nn::fs::IsCardInserted Function

Syntax

bool IsCardInserted();

Arguments

None.

Return Values

Returns true if a card is inserted or false otherwise.

Description

Returns whether a game card has been inserted.

Because this function represents a high load, be sure to use nn::os::LightEvent, registered using the nn::fs::RegisterCardInsertedEvent or nn::fs::RegisterCardEjectedEvent function, when waiting for a game card insertion or ejection event.


CONFIDENTIAL