From c9498c3cec3abc8bcb108b013d7536f4ede046ee Mon Sep 17 00:00:00 2001 From: Stenzek Date: Fri, 27 Jan 2023 03:48:18 +1000 Subject: [PATCH] CDVD: Don't report host error on iso detect fail We don't want it popping up while scanning the game list. --- pcsx2/CDVD/InputIsoFile.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pcsx2/CDVD/InputIsoFile.cpp b/pcsx2/CDVD/InputIsoFile.cpp index bbc6ef13f2..3a51ea433f 100644 --- a/pcsx2/CDVD/InputIsoFile.cpp +++ b/pcsx2/CDVD/InputIsoFile.cpp @@ -21,7 +21,6 @@ #include "Host.h" #include "common/Assertions.h" -#include "common/Exceptions.h" #include "fmt/format.h" @@ -254,7 +253,7 @@ bool InputIsoFile::Open(std::string srcfile, bool testOnly) if (!detected) { - Host::ReportErrorAsync("Unrecognized ISO image file format", "ISO mounting failed: PCSX2 is unable to identify the ISO image type."); + Console.Error(fmt::format("Unable to identify the ISO image type for '{}'", srcfile)); Close(); return false; }