diff options
| author | Léo Lam <leo@leolam.fr> | 2020-11-18 11:10:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-18 11:10:48 +0100 |
| commit | 4eecb8fd1100db51a118c220c8b6a61fd672fc42 (patch) | |
| tree | 5c08b8d1d92b0b676a0c064d2200e4d6f64d5af5 /Source/Core/VideoCommon/VertexLoader.cpp | |
| parent | eb1581bbcc30b79f51b736d2f31c9cb0489b1162 (diff) | |
| parent | 3d9b2aa0055ded7ee74f6e4a73ff54acecf313a9 (diff) | |
Merge pull request #9248 from lioncash/video-fmt
VideoCommon: Migrate over to fmt
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoader.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexLoader.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Core/VideoCommon/VertexLoader.cpp b/Source/Core/VideoCommon/VertexLoader.cpp index e20ca9eadd..d3584ddbeb 100644 --- a/Source/Core/VideoCommon/VertexLoader.cpp +++ b/Source/Core/VideoCommon/VertexLoader.cpp @@ -25,14 +25,14 @@ static void PosMtx_ReadDirect_UByte(VertexLoader* loader) if (loader->m_counter < 3) VertexLoaderManager::position_matrix_index[loader->m_counter + 1] = posmtx; DataWrite<u32>(posmtx); - PRIM_LOG("posmtx: %d, ", posmtx); + PRIM_LOG("posmtx: {}, ", posmtx); } static void TexMtx_ReadDirect_UByte(VertexLoader* loader) { loader->m_curtexmtx[loader->m_texmtxread] = DataRead<u8>() & 0x3f; - PRIM_LOG("texmtx%d: %d, ", loader->m_texmtxread, loader->m_curtexmtx[loader->m_texmtxread]); + PRIM_LOG("texmtx{}: {}, ", loader->m_texmtxread, loader->m_curtexmtx[loader->m_texmtxread]); loader->m_texmtxread++; } @@ -184,9 +184,9 @@ void VertexLoader::CompileVertexTranslator() if (pFunc == nullptr) { - PanicAlert("VertexLoader_Normal::GetFunction(%i %i %i %i) returned zero!", - (u32)m_VtxDesc.Normal, m_VtxAttr.NormalFormat, m_VtxAttr.NormalElements, - m_VtxAttr.NormalIndex3); + PanicAlertFmt("VertexLoader_Normal::GetFunction({} {} {} {}) returned zero!", + m_VtxDesc.Normal, m_VtxAttr.NormalFormat, m_VtxAttr.NormalElements, + m_VtxAttr.NormalIndex3); } WriteCall(pFunc); |
