summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/VertexLoader.cpp
diff options
context:
space:
mode:
authorhrydgard <hrydgard@gmail.com>2009-02-15 12:38:25 +0000
committerhrydgard <hrydgard@gmail.com>2009-02-15 12:38:25 +0000
commit232e961b6f703b2c8b83b04841acecec105f0819 (patch)
treee74ae1248d94ea7e9f763e565a7b4d0d7a6cdbe8 /Source/Core/VideoCommon/Src/VertexLoader.cpp
parenta4aac9ec99828b3e1dec91e56153377de6c0611e (diff)
Sort vertex loader debug statistics by number of verts loaded - now easy to identify the heaviest vertex loader in games.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2252 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/VertexLoader.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/VertexLoader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/Src/VertexLoader.cpp b/Source/Core/VideoCommon/Src/VertexLoader.cpp
index 65be39a539..084eba7ed1 100644
--- a/Source/Core/VideoCommon/Src/VertexLoader.cpp
+++ b/Source/Core/VideoCommon/Src/VertexLoader.cpp
@@ -84,7 +84,7 @@ void LOADERDECL PosMtx_Write()
void LOADERDECL TexMtx_ReadDirect_UByte()
{
- s_curtexmtx[s_texmtxread] = DataReadU8()&0x3f;
+ s_curtexmtx[s_texmtxread] = DataReadU8() & 0x3f;
PRIM_LOG("texmtx%d: %d, ", s_texmtxread, s_curtexmtx[s_texmtxread]);
s_texmtxread++;
}
@@ -700,7 +700,7 @@ void VertexLoader::SetVAT(u32 _group0, u32 _group1, u32 _group2)
m_VtxAttr.texCoord[7].Frac = vat.g2.Tex7Frac;
};
-void VertexLoader::AppendToString(std::string *dest)
+void VertexLoader::AppendToString(std::string *dest) const
{
dest->reserve(250);
static const char *posMode[4] = {