From 90280b3f84057e23195445274c713deee0688860 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Sun, 11 Jun 2017 13:37:13 +0200 Subject: [PATCH] IOS/ESFormats: Remove unused TMDReader function The ES function that used to make use of it was changed to be more sane, so GetRawHeader() is now unused and useless. --- Source/Core/Core/IOS/ES/Formats.cpp | 5 ----- Source/Core/Core/IOS/ES/Formats.h | 1 - 2 files changed, 6 deletions(-) diff --git a/Source/Core/Core/IOS/ES/Formats.cpp b/Source/Core/Core/IOS/ES/Formats.cpp index 0fcfa033d3..e33b339089 100644 --- a/Source/Core/Core/IOS/ES/Formats.cpp +++ b/Source/Core/Core/IOS/ES/Formats.cpp @@ -192,11 +192,6 @@ bool TMDReader::IsValid() const return true; } -std::vector TMDReader::GetRawHeader() const -{ - return std::vector(m_bytes.begin(), m_bytes.begin() + sizeof(TMDHeader)); -} - std::vector TMDReader::GetRawView() const { // Base fields diff --git a/Source/Core/Core/IOS/ES/Formats.h b/Source/Core/Core/IOS/ES/Formats.h index dd3c0aad9c..a3adbf7493 100644 --- a/Source/Core/Core/IOS/ES/Formats.h +++ b/Source/Core/Core/IOS/ES/Formats.h @@ -179,7 +179,6 @@ public: bool IsValid() const; // Returns parts of the TMD without any kind of parsing. Intended for use by ES. - std::vector GetRawHeader() const; std::vector GetRawView() const; u16 GetBootIndex() const;