aboutsummaryrefslogtreecommitdiff
path: root/src/DSi_NWifi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/DSi_NWifi.cpp')
-rw-r--r--src/DSi_NWifi.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DSi_NWifi.cpp b/src/DSi_NWifi.cpp
index 8b65931..f72e515 100644
--- a/src/DSi_NWifi.cpp
+++ b/src/DSi_NWifi.cpp
@@ -187,7 +187,7 @@ void DSi_NWifi::Reset()
break;
default:
- printf("NWifi: unknown hardware type %02X, assuming AR6002\n");
+ printf("NWifi: unknown hardware type, assuming AR6002\n");
ROMID = 0x20000188;
ChipID = 0x02000001;
HostIntAddr = 0x00500400;
@@ -691,7 +691,7 @@ void DSi_NWifi::WriteBlock()
len = Host->GetTransferrableLen(len);
u8 data[0x200];
- if (len = Host->DataTX(data, len))
+ if ((len = Host->DataTX(data, len)))
{
for (u32 i = 0; i < len; i++)
{