Core: Do not allow byte aligned blocks after the first block

This commit is contained in:
zilmar 2022-10-17 08:53:41 +10:30
parent 60969607c8
commit 305648f02f
1 changed files with 4 additions and 0 deletions

View File

@ -414,6 +414,10 @@ void PeripheralInterfaceHandler::PI_DMA_WRITE()
BlockLen = 0;
}
}
else
{
BlockLen = ReadLen;
}
for (int32_t i = 0; i < BlockLen; i++)
{