aboutsummaryrefslogtreecommitdiff
path: root/src/Wifi.cpp
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2020-07-27 16:01:55 +0200
committerGitHub <noreply@github.com>2020-07-27 16:01:55 +0200
commitdff14ca80ada883870131c7ff17d85866254ccc0 (patch)
treec15926879ed78d68d313c75e4cb7d764cb4c1fea /src/Wifi.cpp
parent17ce4d2a73770ecd8c5f0ff036636b5453cb86c9 (diff)
parent6a682a8ef0d1cc3aa35eaa70c4f7a7d106b25b06 (diff)
Merge pull request #682 from nadiaholmquist/slirp-merge
Merge slirp branch into master
Diffstat (limited to 'src/Wifi.cpp')
-rw-r--r--src/Wifi.cpp2
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);