diff options
author | Arisotura <thetotalworm@gmail.com> | 2019-10-20 18:35:16 +0200 |
---|---|---|
committer | Arisotura <thetotalworm@gmail.com> | 2019-10-20 18:35:16 +0200 |
commit | 1c72df43ab8a45c3d7253274d8b1cb6e286a41eb (patch) | |
tree | 68eaf49bafcf01c4508b363454e4ee7e83f46ad5 /src/DSi_I2C.cpp | |
parent | de11d6d4105f4188c90c1d6fec5b11221deb4111 (diff) |
messing around
Diffstat (limited to 'src/DSi_I2C.cpp')
-rw-r--r-- | src/DSi_I2C.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/DSi_I2C.cpp b/src/DSi_I2C.cpp index 5ced51e..0ab7008 100644 --- a/src/DSi_I2C.cpp +++ b/src/DSi_I2C.cpp @@ -103,6 +103,13 @@ void Write(u8 val, bool last) return; } + if (CurPos == 0x11 && val == 0x01) + { + printf("BPTWL: soft-reset\n"); + val = 0; // checkme + DSi::SoftReset(); + } + if (CurPos == 0x11 || CurPos == 0x12 || CurPos == 0x21 || CurPos == 0x30 || CurPos == 0x31 || |