diff options
| author | LC <mathew1800@gmail.com> | 2021-03-22 14:29:20 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-22 14:29:20 -0400 |
| commit | 4a3751e4f1d8c3fbf2998f754096e1fc197ea503 (patch) | |
| tree | 981ca99a212d75dc74b7056176ac502195eb18c4 /Source/Core/DiscIO/DriveBlob.cpp | |
| parent | bcd572a820427af472147f6238e907ec2ec2cab4 (diff) | |
| parent | d1946aded69928f4bd32f45297ec4cac22313686 (diff) | |
Merge pull request #9602 from JosJuice/discio-panic
Avoid using panic alerts in DiscIO
Diffstat (limited to 'Source/Core/DiscIO/DriveBlob.cpp')
| -rw-r--r-- | Source/Core/DiscIO/DriveBlob.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/DiscIO/DriveBlob.cpp b/Source/Core/DiscIO/DriveBlob.cpp index 2daaddbfa6..b2645d2ea5 100644 --- a/Source/Core/DiscIO/DriveBlob.cpp +++ b/Source/Core/DiscIO/DriveBlob.cpp @@ -12,7 +12,6 @@ #include "Common/CommonTypes.h" #include "Common/IOFile.h" #include "Common/Logging/Log.h" -#include "Common/MsgHandler.h" #include "DiscIO/Blob.h" #include "DiscIO/DriveBlob.h" @@ -146,7 +145,7 @@ bool DriveReader::ReadMultipleAlignedBlocks(u64 block_num, u64 num_blocks, u8* o !ReadFile(m_disc_handle, out_ptr, static_cast<DWORD>(GetSectorSize() * num_blocks), &bytes_read, nullptr)) { - PanicAlertFmtT("Disc Read Error"); + ERROR_LOG_FMT(DISCIO, "Disc Read Error"); return false; } return bytes_read == GetSectorSize() * num_blocks; |
