diff options
| author | Léo Lam <leo@leolam.fr> | 2020-05-03 15:33:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-03 15:33:58 +0200 |
| commit | 1b2692911971a70d237984a2397c83521b7946e0 (patch) | |
| tree | 93c4f03b6d87cf5cadd699c7e8f489b25ff80559 /Source/Core/VideoCommon/CommandProcessor.cpp | |
| parent | 0ab9475f8eb70d1f378d76b6b4bd2445602d5084 (diff) | |
| parent | bf57abc0d5950fdb8d7c03d0b6c2c7eb1730b4ad (diff) | |
Merge pull request #8789 from JosJuice/windows-cmake-errors
Fix Windows CMake build errors
Diffstat (limited to 'Source/Core/VideoCommon/CommandProcessor.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/CommandProcessor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/CommandProcessor.cpp b/Source/Core/VideoCommon/CommandProcessor.cpp index 59ca391f55..eb571a4672 100644 --- a/Source/Core/VideoCommon/CommandProcessor.cpp +++ b/Source/Core/VideoCommon/CommandProcessor.cpp @@ -196,7 +196,7 @@ void RegisterMMIO(MMIO::Mapping* mmio, u32 base) } mmio->Register(base | FIFO_BP_LO, MMIO::DirectRead<u16>(MMIO::Utils::LowPart(&fifo.CPBreakpoint)), - MMIO::ComplexWrite<u16>([](u32, u16 val) { + MMIO::ComplexWrite<u16>([WMASK_LO_ALIGN_32BIT](u32, u16 val) { WriteLow(fifo.CPBreakpoint, val & WMASK_LO_ALIGN_32BIT); })); mmio->Register(base | FIFO_BP_HI, |
