diff --git a/Source/Core/VideoCommon/VertexLoaderBase.cpp b/Source/Core/VideoCommon/VertexLoaderBase.cpp index d5831bc8e5..34fa375ee1 100644 --- a/Source/Core/VideoCommon/VertexLoaderBase.cpp +++ b/Source/Core/VideoCommon/VertexLoaderBase.cpp @@ -120,7 +120,7 @@ void VertexLoaderBase::AppendToString(std::string *dest) const i, m_VtxAttr.texCoord[i].Elements, posMode[tex_mode[i]], posFormats[m_VtxAttr.texCoord[i].Format])); } } - dest->append(StringFromFormat(" - %i v\n", m_numLoadedVertices)); + dest->append(StringFromFormat(" - %i v", m_numLoadedVertices)); } // a hacky implementation to compare two vertex loaders diff --git a/Source/Core/VideoCommon/VertexLoaderManager.cpp b/Source/Core/VideoCommon/VertexLoaderManager.cpp index 46a0eeaab0..0099064ca5 100644 --- a/Source/Core/VideoCommon/VertexLoaderManager.cpp +++ b/Source/Core/VideoCommon/VertexLoaderManager.cpp @@ -109,7 +109,8 @@ void AppendListToString(std::string *dest) dest->reserve(dest->size() + total_size); for (const entry& entry : entries) { - dest->append(entry.text); + *dest += entry.text; + *dest += '\n'; } }