summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/CPMemory.cpp
diff options
context:
space:
mode:
authorMai <mathew1800@gmail.com>2022-11-23 22:40:03 +0000
committerGitHub <noreply@github.com>2022-11-23 22:40:03 +0000
commitd6437b7e461af0ef457c05be996d6fb30d7922ac (patch)
tree4a73b4b6ecb4fe3f172c7bbbdc729ddf0cde56d6 /Source/Core/VideoCommon/CPMemory.cpp
parentddf63bacb9fec7bdc9cc2df3601cddce2bc8f7af (diff)
parentf5d11c1e388768043516fdb54e71b72c26c3c22d (diff)
Merge pull request #11123 from Pokechu22/fmt-9.1.0
Externals: Update fmt to 9.1.0
Diffstat (limited to 'Source/Core/VideoCommon/CPMemory.cpp')
-rw-r--r--Source/Core/VideoCommon/CPMemory.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/CPMemory.cpp b/Source/Core/VideoCommon/CPMemory.cpp
index c9a5a57b51..d2371834a3 100644
--- a/Source/Core/VideoCommon/CPMemory.cpp
+++ b/Source/Core/VideoCommon/CPMemory.cpp
@@ -107,7 +107,7 @@ void CPState::LoadCPReg(u8 sub_cmd, u32 value)
WARN_LOG_FMT(VIDEO,
"CP MATINDEX_A: an exact value of {:02x} was expected "
"but instead a value of {:02x} was seen",
- MATINDEX_A, sub_cmd);
+ static_cast<u16>(MATINDEX_A), sub_cmd);
}
matrix_index_a.Hex = value;
@@ -120,7 +120,7 @@ void CPState::LoadCPReg(u8 sub_cmd, u32 value)
WARN_LOG_FMT(VIDEO,
"CP MATINDEX_B: an exact value of {:02x} was expected "
"but instead a value of {:02x} was seen",
- MATINDEX_B, sub_cmd);
+ static_cast<u16>(MATINDEX_B), sub_cmd);
}
matrix_index_b.Hex = value;
@@ -133,7 +133,7 @@ void CPState::LoadCPReg(u8 sub_cmd, u32 value)
WARN_LOG_FMT(VIDEO,
"CP VCD_LO: an exact value of {:02x} was expected "
"but instead a value of {:02x} was seen",
- VCD_LO, sub_cmd);
+ static_cast<u16>(VCD_LO), sub_cmd);
}
vtx_desc.low.Hex = value;
@@ -146,7 +146,7 @@ void CPState::LoadCPReg(u8 sub_cmd, u32 value)
WARN_LOG_FMT(VIDEO,
"CP VCD_HI: an exact value of {:02x} was expected "
"but instead a value of {:02x} was seen",
- VCD_HI, sub_cmd);
+ static_cast<u16>(VCD_HI), sub_cmd);
}
vtx_desc.high.Hex = value;