mirror of
https://github.com/wiiu-env/libfat.git
synced 2024-05-29 07:58:44 +02:00
check for running DSi app too
This commit is contained in:
parent
b650b070ba
commit
66a9b27dc0
|
@ -87,10 +87,11 @@ const INTERFACE_ID _FAT_disc_interfaces[] = {
|
|||
/* ====================== NDS ====================== */
|
||||
#elif defined (NDS)
|
||||
#include <nds/system.h>
|
||||
#include <nds/memory.h>
|
||||
#include <nds/arm9/dldi.h>
|
||||
|
||||
static const DISC_INTERFACE* get_io_dsisd (void) {
|
||||
return isDSiMode() ? &__io_dsisd : NULL;
|
||||
return (isDSiMode() && __NDSHeader->unitCode ) ? &__io_dsisd : NULL;
|
||||
}
|
||||
|
||||
const INTERFACE_ID _FAT_disc_interfaces[] = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user