summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeVerifier.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DiscIO/VolumeVerifier.cpp')
-rw-r--r--Source/Core/DiscIO/VolumeVerifier.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/Source/Core/DiscIO/VolumeVerifier.cpp b/Source/Core/DiscIO/VolumeVerifier.cpp
index 50cfb2a17f..109b4c2f64 100644
--- a/Source/Core/DiscIO/VolumeVerifier.cpp
+++ b/Source/Core/DiscIO/VolumeVerifier.cpp
@@ -574,7 +574,9 @@ bool VolumeVerifier::CheckPartition(const Partition& partition)
if (!m_is_datel)
{
- IOS::HLE::Kernel ios;
+ const auto console_type =
+ IsDebugSigned() ? IOS::HLE::IOSC::ConsoleType::RVT : IOS::HLE::IOSC::ConsoleType::Retail;
+ IOS::HLE::Kernel ios(console_type);
const auto es = ios.GetES();
const std::vector<u8>& cert_chain = m_volume.GetCertificateChain(partition);
@@ -978,7 +980,7 @@ void VolumeVerifier::CheckMisc()
if (m_volume.GetVolumeType() == Platform::WiiWAD)
{
- IOS::HLE::Kernel ios;
+ IOS::HLE::Kernel ios(m_ticket.GetConsoleType());
const auto es = ios.GetES();
const std::vector<u8>& cert_chain = m_volume.GetCertificateChain(PARTITION_NONE);
@@ -1456,7 +1458,8 @@ void VolumeVerifier::Finish()
{
m_result.summary_text +=
Common::GetStringT("\n\nBecause this title is not for retail Wii consoles, "
- "Dolphin cannot verify that it hasn't been tampered with.");
+ "Dolphin cannot ensure that it hasn't been tampered with, even if "
+ "signatures appear valid.");
}
}