diff options
| author | Lioncash <mathew1800@gmail.com> | 2020-11-13 22:33:26 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2020-11-17 21:23:58 -0500 |
| commit | 3d9b2aa0055ded7ee74f6e4a73ff54acecf313a9 (patch) | |
| tree | 0ff92a960d77b6bc8b92bed1c7d61f79206887dc /Source/Core/VideoCommon/VertexLoader.cpp | |
| parent | 8a621c2d5e7722de5148a0a40d4072445cffb361 (diff) | |
VideoCommon: Migrate over to fmt
Migrates off the printf-based formatting where applicable.
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); |
