DMA: Implement block transfers

This commit is contained in:
Connor McLaughlin
2019-09-13 01:09:44 +10:00
parent aea7a18ac2
commit 52b619facc
2 changed files with 39 additions and 2 deletions

View File

@ -68,13 +68,13 @@ private:
union BlockControl
{
u32 bits;
struct
union
{
BitField<u32, u32, 0, 16> word_count;
u32 GetWordCount() const { return (word_count == 0) ? 0x10000 : word_count; }
} manual;
struct
union
{
BitField<u32, u32, 0, 16> block_size;
BitField<u32, u32, 16, 16> block_count;