summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/CommandProcessor.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2020-05-02 19:01:11 +0200
committerJosJuice <josjuice@gmail.com>2020-05-03 14:10:24 +0200
commitbf57abc0d5950fdb8d7c03d0b6c2c7eb1730b4ad (patch)
tree123aa15832c40d1c80565a7cb14e96574ba9064b /Source/Core/VideoCommon/CommandProcessor.cpp
parent47d1dec7231849d9112c19db049dc655fee7aab4 (diff)
Fix Windows CMake build errors
Lambda expressions with uncaptured constants were leading to errors, and there were also some warnings about deprecated functions (QFontMetrics::width and inet_ntoa).
Diffstat (limited to 'Source/Core/VideoCommon/CommandProcessor.cpp')
-rw-r--r--Source/Core/VideoCommon/CommandProcessor.cpp2
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,