From 7fdfea5a6935fd0293fcb3b51790019b9adeedf7 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Wed, 30 Sep 2015 20:50:33 +0200 Subject: [PATCH] DolphinWX: Don't use nearest neighbor scaling for banners * Makes HBC icons look better * Fixes the issue with white dots appearing in downscaled images * No longer subjectively better for GC banners according to comex --- Source/Core/DolphinWX/ISOFile.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Source/Core/DolphinWX/ISOFile.cpp b/Source/Core/DolphinWX/ISOFile.cpp index 98679b0da2..ed993cd1cb 100644 --- a/Source/Core/DolphinWX/ISOFile.cpp +++ b/Source/Core/DolphinWX/ISOFile.cpp @@ -279,10 +279,7 @@ bool GameListItem::ReadPNGBanner(const std::string& path) wxBitmap GameListItem::ScaleBanner(wxImage* image) { double scale = wxTheApp->GetTopWindow()->GetContentScaleFactor(); - // Note: This uses nearest neighbor, which subjectively looks a lot - // better for GC banners than smooth scaling. - // TODO: Make scaling less bad for Homebrew Channel banners. - image->Rescale(DVD_BANNER_WIDTH * scale, DVD_BANNER_HEIGHT * scale); + image->Rescale(DVD_BANNER_WIDTH * scale, DVD_BANNER_HEIGHT * scale, wxIMAGE_QUALITY_HIGH); #ifdef __APPLE__ return wxBitmap(*image, -1, scale); #else