From 3a2b9f83ec471c09909653d0ea677a90c8cacead Mon Sep 17 00:00:00 2001 From: Eladash Date: Sat, 13 Mar 2021 15:42:35 +0200 Subject: [PATCH] TROPUSR: Optimization --- rpcs3/Loader/TROPUSR.cpp | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/rpcs3/Loader/TROPUSR.cpp b/rpcs3/Loader/TROPUSR.cpp index 7da4b03f33..7043093ffc 100644 --- a/rpcs3/Loader/TROPUSR.cpp +++ b/rpcs3/Loader/TROPUSR.cpp @@ -132,21 +132,9 @@ bool TROPUSRLoader::Save(const std::string& filepath) } temp.file.write(m_header); - - for (const TROPUSRTableHeader& tableHeader : m_tableHeaders) - { - temp.file.write(tableHeader); - } - - for (const auto& entry : m_table4) - { - temp.file.write(entry); - } - - for (const auto& entry : m_table6) - { - temp.file.write(entry); - } + temp.file.write(m_tableHeaders); + temp.file.write(m_table4); + temp.file.write(m_table6); return temp.commit(); }