mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 08:39:00 +00:00
IOS/NetKDRequest: Don't abort on first unset bit in subtask mask.
This commit is contained in:
parent
02abc086c6
commit
9992a198f1
1 changed files with 7 additions and 10 deletions
|
@ -267,12 +267,8 @@ IPCReply NetKDRequestDevice::HandleNWC24DownloadNowEx(const IOCtlRequest& reques
|
||||||
{
|
{
|
||||||
for (u8 subtask_id = 0; subtask_id < 32; subtask_id++)
|
for (u8 subtask_id = 0; subtask_id < 32; subtask_id++)
|
||||||
{
|
{
|
||||||
// Check if we are done
|
if (Common::ExtractBit(subtask_bitmask, subtask_id))
|
||||||
if (!Common::ExtractBit(subtask_bitmask, subtask_id))
|
|
||||||
{
|
{
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
reply = KDDownload(entry_index, subtask_id);
|
reply = KDDownload(entry_index, subtask_id);
|
||||||
if (reply != NWC24::WC24_OK)
|
if (reply != NWC24::WC24_OK)
|
||||||
{
|
{
|
||||||
|
@ -281,6 +277,7 @@ IPCReply NetKDRequestDevice::HandleNWC24DownloadNowEx(const IOCtlRequest& reques
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
reply = KDDownload(entry_index, std::nullopt);
|
reply = KDDownload(entry_index, std::nullopt);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue