mirror of
https://github.com/rvtr/GodMode9i.git
synced 2025-11-02 00:11:07 -04:00
* 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>
21 lines
299 B
C
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
|