GodMode9i/arm9/source/my_sd.h
Pk11 2b8808ae6d
Autodetect SD removal and more bug fixes (#133)
* Autodetect SD removal, see desc

Also:
- Mark read-only drives as `[R]`
- Detect and respect write protect on SD card
- Don't attempt to remount SD card if not inserted
- Fix repo link on startup screen

* There are enough characters for `https`

I didn't notice there was actually 1 more column usable

Co-authored-by: RocketRobz <bobesh8@gmail.com>
2022-01-02 12:38:55 -07:00

21 lines
299 B
C

#pragma once
#include <nds/disc_io.h>
#ifdef __cplusplus
extern "C" {
#endif
extern volatile bool sdRemoved;
extern volatile bool sdWriteLocked;
void sdStatusHandler(u32 sdIrqStatus, void *userdata);
bool my_sdio_Shutdown();
const DISC_INTERFACE *__my_io_dsisd();
#ifdef __cplusplus
}
#endif