From 3d9b2aa0055ded7ee74f6e4a73ff54acecf313a9 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 13 Nov 2020 22:33:26 -0500 Subject: VideoCommon: Migrate over to fmt Migrates off the printf-based formatting where applicable. --- Source/Core/VideoCommon/VertexLoader.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Source/Core/VideoCommon/VertexLoader.cpp') 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(posmtx); - PRIM_LOG("posmtx: %d, ", posmtx); + PRIM_LOG("posmtx: {}, ", posmtx); } static void TexMtx_ReadDirect_UByte(VertexLoader* loader) { loader->m_curtexmtx[loader->m_texmtxread] = DataRead() & 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); -- cgit v1.2.3