aboutsummaryrefslogtreecommitdiff
path: root/src/DSi_NDMA.cpp
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2022-10-02 16:47:57 +0200
committerGitHub <noreply@github.com>2022-10-02 16:47:57 +0200
commit3f4573574a581da849408ebc376ca97d5e82bc7d (patch)
treee6144cc9cfcfe383faee847e54b7864f963a9373 /src/DSi_NDMA.cpp
parentc1c4cbc838bcc017ea325458112582e949274f30 (diff)
actual DSi camera support (#1520)
basically feeding something that isn't a fixed stripe pattern, and emulating enough of the camera hardware to make this work
Diffstat (limited to 'src/DSi_NDMA.cpp')
-rw-r--r--src/DSi_NDMA.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DSi_NDMA.cpp b/src/DSi_NDMA.cpp
index 3c61e67..ca834eb 100644
--- a/src/DSi_NDMA.cpp
+++ b/src/DSi_NDMA.cpp
@@ -132,7 +132,7 @@ void DSi_NDMA::WriteCnt(u32 val)
// * microphone (ARM7 0C)
// * NDS-wifi?? (ARM7 07, likely not working)
- if (StartMode <= 0x03 || StartMode == 0x05 || (StartMode >= 0x0B && StartMode <= 0x0F) ||
+ if (StartMode <= 0x03 || StartMode == 0x05 || (StartMode >= 0x0C && StartMode <= 0x0F) ||
(StartMode >= 0x20 && StartMode <= 0x23) || StartMode == 0x25 || StartMode == 0x27 || (StartMode >= 0x2C && StartMode <= 0x2F))
printf("UNIMPLEMENTED ARM%d NDMA%d START MODE %02X, %08X->%08X LEN=%d BLK=%d CNT=%08X\n",
CPU?7:9, Num, StartMode, SrcAddr, DstAddr, TotalLength, BlockLength, Cnt);