summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeVerifier.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2021-02-13 01:00:16 +0100
committerGitHub <noreply@github.com>2021-02-13 01:00:16 +0100
commit3e1646adae936a136d2154df6306752a20057c43 (patch)
tree73607a33106397c4aba9dd7822348cc6b4f62688 /Source/Core/DiscIO/VolumeVerifier.cpp
parentc5ee86c75cc4d1057f4f810205a3e5278f100c7f (diff)
parent522cb6b1372dc47fad2ead9d6f6c36a4299cc62d (diff)
Merge pull request #9504 from leoetlino/ios-class-name-cleanup
IOS: Use less ambiguous names for classes
Diffstat (limited to 'Source/Core/DiscIO/VolumeVerifier.cpp')
-rw-r--r--Source/Core/DiscIO/VolumeVerifier.cpp17
1 files changed, 8 insertions, 9 deletions
diff --git a/Source/Core/DiscIO/VolumeVerifier.cpp b/Source/Core/DiscIO/VolumeVerifier.cpp
index 2a217f72f1..21ac8f5d39 100644
--- a/Source/Core/DiscIO/VolumeVerifier.cpp
+++ b/Source/Core/DiscIO/VolumeVerifier.cpp
@@ -568,12 +568,12 @@ bool VolumeVerifier::CheckPartition(const Partition& partition)
const std::vector<u8>& cert_chain = m_volume.GetCertificateChain(partition);
if (IOS::HLE::IPC_SUCCESS !=
- es->VerifyContainer(IOS::HLE::Device::ES::VerifyContainerType::Ticket,
- IOS::HLE::Device::ES::VerifyMode::DoNotUpdateCertStore,
+ es->VerifyContainer(IOS::HLE::ESDevice::VerifyContainerType::Ticket,
+ IOS::HLE::ESDevice::VerifyMode::DoNotUpdateCertStore,
m_volume.GetTicket(partition), cert_chain) ||
IOS::HLE::IPC_SUCCESS !=
- es->VerifyContainer(IOS::HLE::Device::ES::VerifyContainerType::TMD,
- IOS::HLE::Device::ES::VerifyMode::DoNotUpdateCertStore,
+ es->VerifyContainer(IOS::HLE::ESDevice::VerifyContainerType::TMD,
+ IOS::HLE::ESDevice::VerifyMode::DoNotUpdateCertStore,
m_volume.GetTMD(partition), cert_chain))
{
AddProblem(Severity::Low,
@@ -1010,8 +1010,8 @@ void VolumeVerifier::CheckMisc()
const std::vector<u8>& cert_chain = m_volume.GetCertificateChain(PARTITION_NONE);
if (IOS::HLE::IPC_SUCCESS !=
- es->VerifyContainer(IOS::HLE::Device::ES::VerifyContainerType::Ticket,
- IOS::HLE::Device::ES::VerifyMode::DoNotUpdateCertStore, m_ticket,
+ es->VerifyContainer(IOS::HLE::ESDevice::VerifyContainerType::Ticket,
+ IOS::HLE::ESDevice::VerifyMode::DoNotUpdateCertStore, m_ticket,
cert_chain))
{
// i18n: "Ticket" here is a kind of digital authorization to use a certain title (e.g. a game)
@@ -1019,9 +1019,8 @@ void VolumeVerifier::CheckMisc()
}
if (IOS::HLE::IPC_SUCCESS !=
- es->VerifyContainer(IOS::HLE::Device::ES::VerifyContainerType::TMD,
- IOS::HLE::Device::ES::VerifyMode::DoNotUpdateCertStore, tmd,
- cert_chain))
+ es->VerifyContainer(IOS::HLE::ESDevice::VerifyContainerType::TMD,
+ IOS::HLE::ESDevice::VerifyMode::DoNotUpdateCertStore, tmd, cert_chain))
{
AddProblem(Severity::Low, Common::GetStringT("The TMD is not correctly signed."));
}