From 2bc4686afa5b1514254dcfc6b55929276022e7d5 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Sun, 21 Dec 2014 12:34:05 +0100 Subject: [PATCH] pcsx2:wx3: fix filter selection of iso On linux, wxChar requires a %ls It must be tested on windows: 1/ >CDVD>Iso selector>Browse... 2/ try the different filter --- pcsx2/gui/MainMenuClicks.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcsx2/gui/MainMenuClicks.cpp b/pcsx2/gui/MainMenuClicks.cpp index 83dd1dc2ce..cc705f8522 100644 --- a/pcsx2/gui/MainMenuClicks.cpp +++ b/pcsx2/gui/MainMenuClicks.cpp @@ -228,12 +228,12 @@ static wxString JoinFiletypes( const wxChar** src ) if( !dest.IsEmpty() ) dest += L";"; - dest += pxsFmt(L"*.%s", *src); + dest += pxsFmt(L"*.%ls", *src); if (wxFileName::IsCaseSensitive()) { // omgosh! the filesystem is CaSE SeNSiTiVE!! - dest += pxsFmt(L";*.%s", *src).ToUpper(); + dest += pxsFmt(L";*.%ls", *src).ToUpper(); } ++src;