mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 19:44:57 +00:00
Silent GameList PNG warnings
This commit is contained in:
parent
9b8feb8e60
commit
b7dde796fa
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue