@@ -563,7 +563,7 @@ void wxGameList::OnContextMenuSelected(wxCommandEvent& event)
563
563
{
564
564
fs::path path (gameInfo.GetBase ().GetPath ());
565
565
_stripPathFilename (path);
566
- wxLaunchDefaultBrowser (fmt::format (" file:{}" , _utf8Wrapper (path)));
566
+ wxLaunchDefaultBrowser (wxHelper::FromUtf8 ( fmt::format (" file:{}" , _utf8Wrapper (path) )));
567
567
break ;
568
568
}
569
569
case kWikiPage :
@@ -577,28 +577,28 @@ void wxGameList::OnContextMenuSelected(wxCommandEvent& event)
577
577
wxASSERT (!tokens.empty ());
578
578
const std::string company_code = gameInfo.GetBase ().GetMetaInfo ()->GetCompanyCode ();
579
579
wxASSERT (company_code.size () >= 2 );
580
- wxLaunchDefaultBrowser (fmt::format (" https://wiki.cemu.info/wiki/{}{}" , *tokens.rbegin (), company_code.substr (company_code.size () - 2 ).c_str ()));
580
+ wxLaunchDefaultBrowser (wxHelper::FromUtf8 ( fmt::format (" https://wiki.cemu.info/wiki/{}{}" , *tokens.rbegin (), company_code.substr (company_code.size () - 2 ).c_str () )));
581
581
}
582
582
break ;
583
583
}
584
584
585
585
case kContextMenuSaveFolder :
586
586
{
587
- wxLaunchDefaultBrowser (fmt::format (" file:{}" , _utf8Wrapper (gameInfo.GetSaveFolder ())));
587
+ wxLaunchDefaultBrowser (wxHelper::FromUtf8 ( fmt::format (" file:{}" , _utf8Wrapper (gameInfo.GetSaveFolder () ))));
588
588
break ;
589
589
}
590
590
case kContextMenuUpdateFolder :
591
591
{
592
592
fs::path path (gameInfo.GetUpdate ().GetPath ());
593
593
_stripPathFilename (path);
594
- wxLaunchDefaultBrowser (fmt::format (" file:{}" , _utf8Wrapper (path)));
594
+ wxLaunchDefaultBrowser (wxHelper::FromUtf8 ( fmt::format (" file:{}" , _utf8Wrapper (path) )));
595
595
break ;
596
596
}
597
597
case kContextMenuDLCFolder :
598
598
{
599
599
fs::path path (gameInfo.GetAOC ().front ().GetPath ());
600
600
_stripPathFilename (path);
601
- wxLaunchDefaultBrowser (fmt::format (" file:{}" , _utf8Wrapper (path)));
601
+ wxLaunchDefaultBrowser (wxHelper::FromUtf8 ( fmt::format (" file:{}" , _utf8Wrapper (path) )));
602
602
break ;
603
603
}
604
604
case kContextMenuEditGraphicPacks :
0 commit comments