Fix some compiler warnings

This commit is contained in:
WaluigiWare64
2021-01-25 14:12:13 +00:00
parent b9a56bc4e4
commit 43348210f9
12 changed files with 26 additions and 19 deletions

View File

@ -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++)
{