nx_sd: add sd_get_card_mounted() for screenshot and other callers

Made-with: Cursor
This commit is contained in:
2026-03-01 14:44:37 +01:00
parent 9a2307a8ee
commit b0523ada6c

View File

@@ -184,6 +184,11 @@ static void _sd_deinit()
void sd_unmount() { _sd_deinit(); }
void sd_end() { _sd_deinit(); }
bool sd_get_card_mounted(void)
{
return sd_mounted;
}
void *sd_file_read(const char *path, u32 *fsize)
{
FIL fp;