From 0d58fcb5d6cb124049d88a0146b0756fbd52030c Mon Sep 17 00:00:00 2001 From: StapleButter Date: Sat, 15 Jul 2017 19:34:35 +0200 Subject: [PATCH] =?UTF-8?q?add=20basic=20response=20for=20Pok=C3=A9mon=20I?= =?UTF-8?q?R=20transceiver=20(SPI=20command=2008).=20lets=20your=20pok?= =?UTF-8?q?=C3=A9mon=20gain=20EXP.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/NDSCart.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/NDSCart.cpp b/src/NDSCart.cpp index 48300b2b..12cc9c82 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: