From bf899022d7d2b6be36c54d7b3f58e69d1ad4b392 Mon Sep 17 00:00:00 2001 From: arcum42 Date: Sun, 22 May 2022 13:38:02 -0700 Subject: [PATCH] DMAC: Testing a constant value is always true. (#6122) --- pcsx2/Dmac.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/Dmac.cpp b/pcsx2/Dmac.cpp index 92ba64a412..5ed89c0310 100644 --- a/pcsx2/Dmac.cpp +++ b/pcsx2/Dmac.cpp @@ -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); }