diff options
author | Nadia Holmquist Pedersen <nadia@nhp.sh> | 2020-07-26 21:41:09 +0200 |
---|---|---|
committer | Nadia Holmquist Pedersen <nadia@nhp.sh> | 2020-07-26 21:41:09 +0200 |
commit | b4ad35948d864cbbb8e1759fbbc913870293160e (patch) | |
tree | d5c0ff7f5e4e4388f99650866af063a594aebdab /src/Wifi.cpp | |
parent | 0e7df468c761579e9378183ad7f1e8ba3b405ac0 (diff) | |
parent | d9e1bf737c23f688871b2f422bc710777dffbd94 (diff) |
Merge remote-tracking branch 'upstream/slirp' into slirp-merge
Diffstat (limited to 'src/Wifi.cpp')
-rw-r--r-- | src/Wifi.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Wifi.cpp b/src/Wifi.cpp index ab82724..8188151 100644 --- a/src/Wifi.cpp +++ b/src/Wifi.cpp @@ -188,6 +188,8 @@ void Reset() IOPORT(0x000) = 0x1440; else if (console == 0x20) IOPORT(0x000) = 0xC340; + else if (NDS::ConsoleType == 1 && console == 0x57) + IOPORT(0x000) = 0xC340; // DSi has the modern DS-wifi variant else { printf("wifi: unknown console type %02X\n", console); |