DMA: Clear state on shutdown

Fix a rare crash where the GPU starting after a second boot accesses
uninitalized DMA fields.
This commit is contained in:
Connor McLaughlin
2021-01-03 14:42:41 +10:00
parent 2ec26e54b7
commit c9ef3ec1a3
2 changed files with 9 additions and 1 deletions

View File

@ -60,6 +60,8 @@ private:
Reserved = 3
};
void ClearState();
// is everything enabled for a channel to operate?
bool CanTransferChannel(Channel channel) const;
bool IsTransferHalted() const;