From b7dde796fa3956d71520a169e08b676d15d904ad Mon Sep 17 00:00:00 2001 From: Sepalani Date: Mon, 12 Jun 2017 22:08:04 +0100 Subject: [PATCH] Silent GameList PNG warnings --- Source/Core/DolphinWX/Main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Core/DolphinWX/Main.cpp b/Source/Core/DolphinWX/Main.cpp index 2f9ee6609f..a73729253f 100644 --- a/Source/Core/DolphinWX/Main.cpp +++ b/Source/Core/DolphinWX/Main.cpp @@ -143,6 +143,9 @@ bool DolphinApp::OnInit() // Enable the PNG image handler for screenshots wxImage::AddHandler(new wxPNGHandler); + // Silent PNG warnings from some homebrew banners: "iCCP: known incorrect sRGB profile" + wxImage::SetDefaultLoadFlags(wxImage::GetDefaultLoadFlags() & ~wxImage::Load_Verbose); + // We have to copy the size and position out of SConfig now because CFrame's OnMove // handler will corrupt them during window creation (various APIs like SetMenuBar cause // event dispatch including WM_MOVE/WM_SIZE)