mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 13:47:57 +03:00
Add some checks to catch potential errors.
This commit is contained in:
parent
bd892b6270
commit
475de030b1
1 changed files with 2 additions and 0 deletions
|
@ -507,6 +507,8 @@ void CChannel::ExecuteDestinationChain()
|
|||
m_dmac.m_D8_SADR += 0x10;
|
||||
|
||||
assert(tag.irq == 0);
|
||||
assert(tag.pce == 0);
|
||||
assert((tag.addr & 0x0F) == 0);
|
||||
switch(tag.id)
|
||||
{
|
||||
case DMATAG_DST_CNT:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue