DMAC: Testing a constant value is always true. (#6122)

This commit is contained in:
arcum42 2022-05-22 13:38:02 -07:00 committed by GitHub
parent ed5aa4a67d
commit bf899022d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -541,7 +541,7 @@ __fi bool dmacWrite32( u32 mem, mem32_t& value )
case (DMAC_FAKESTAT):
case (DMAC_STAT):
{
if (DMAC_FAKESTAT)
if (mem == DMAC_FAKESTAT)
{
HW_LOG("Midways own DMAC_STAT Write 32bit %x", value);
}