summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeWii.cpp
diff options
context:
space:
mode:
authorLC <mathew1800@gmail.com>2021-03-22 14:29:20 -0400
committerGitHub <noreply@github.com>2021-03-22 14:29:20 -0400
commit4a3751e4f1d8c3fbf2998f754096e1fc197ea503 (patch)
tree981ca99a212d75dc74b7056176ac502195eb18c4 /Source/Core/DiscIO/VolumeWii.cpp
parentbcd572a820427af472147f6238e907ec2ec2cab4 (diff)
parentd1946aded69928f4bd32f45297ec4cac22313686 (diff)
Merge pull request #9602 from JosJuice/discio-panic
Avoid using panic alerts in DiscIO
Diffstat (limited to 'Source/Core/DiscIO/VolumeWii.cpp')
-rw-r--r--Source/Core/DiscIO/VolumeWii.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/DiscIO/VolumeWii.cpp b/Source/Core/DiscIO/VolumeWii.cpp
index bad4509b5c..63e20ec1e6 100644
--- a/Source/Core/DiscIO/VolumeWii.cpp
+++ b/Source/Core/DiscIO/VolumeWii.cpp
@@ -24,7 +24,6 @@
#include "Common/Assert.h"
#include "Common/CommonTypes.h"
#include "Common/Logging/Log.h"
-#include "Common/MsgHandler.h"
#include "Common/Swap.h"
#include "DiscIO/Blob.h"
@@ -92,7 +91,7 @@ VolumeWii::VolumeWii(std::unique_ptr<BlobReader> reader)
{
// This check is normally done by ES in ES_DiVerify, but that would happen too late
// (after allocating the buffer), so we do the check here.
- PanicAlertFmt("Invalid TMD size");
+ ERROR_LOG_FMT(DISCIO, "Invalid TMD size");
return INVALID_TMD;
}
std::vector<u8> tmd_buffer(*tmd_size);