aboutsummaryrefslogtreecommitdiff
path: root/src/DSi_SD.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/DSi_SD.cpp')
-rw-r--r--src/DSi_SD.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/DSi_SD.cpp b/src/DSi_SD.cpp
index fbb2e14..3764a3c 100644
--- a/src/DSi_SD.cpp
+++ b/src/DSi_SD.cpp
@@ -218,6 +218,8 @@ u16 DSi_SDHost::Read(u32 addr)
case 0x026: return BlockLen16;
case 0x028: return SDOption;
+ case 0x02C: return 0; // TODO
+
case 0x030: // FIFO16
{
// TODO: decrement BlockLen????
@@ -275,7 +277,7 @@ u16 DSi_SDHost::Read(u32 addr)
case 0x108: return BlockCount32;
}
- printf("unknown %s read %08X\n", SD_DESC, addr);
+ printf("unknown %s read %08X @ %08X\n", SD_DESC, addr, NDS::GetPC(1));
return 0;
}
@@ -356,6 +358,7 @@ void DSi_SDHost::Write(u32 addr, u16 val)
break;
}
}
+ else printf("%s: SENDING CMD %04X TO NULL DEVICE\n", SD_DESC, val);
}
return;