aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2017-07-15 19:34:35 +0200
committerStapleButter <thetotalworm@gmail.com>2017-07-15 19:34:35 +0200
commit0d58fcb5d6cb124049d88a0146b0756fbd52030c (patch)
tree7a29770d90ea0a3ef90bdc52bebc42b0e4de60eb /src
parentcb0e026ec1a19edc70be9b5a4b215217b61b55b7 (diff)
add basic response for Pokémon IR transceiver (SPI command 08). lets your pokémon gain EXP.
Diffstat (limited to 'src')
-rw-r--r--src/NDSCart.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/NDSCart.cpp b/src/NDSCart.cpp
index 48300b2..12cc9c8 100644
--- a/src/NDSCart.cpp
+++ b/src/NDSCart.cpp
@@ -585,6 +585,11 @@ void Write(u8 val, u32 hold)
// TODO: design better
CurCmd = val;
break;
+ case 0x08:
+ // see above
+ // TODO: work out how the IR thing works. emulate it.
+ Data = 0xAA;
+ break;
case 0x02:
case 0x03: