mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
HID reports can use negative numbers.
Use UTF-8 for input device names and profile filenames. From8Bit->To8Bit is not transparent. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6857 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -974,7 +974,7 @@ void CConfigMain::ChooseMemcardPath(std::string& strMemcard, bool isSlotA)
|
||||
{
|
||||
std::string filename = std::string(wxFileSelector(
|
||||
_("Choose a file to open"),
|
||||
wxString::From8BitData(File::GetUserPath(D_GCUSER_IDX)),
|
||||
wxString::FromUTF8(File::GetUserPath(D_GCUSER_IDX)),
|
||||
isSlotA ? wxT(GC_MEMCARDA) : wxT(GC_MEMCARDB),
|
||||
wxEmptyString,
|
||||
_("Gamecube Memory Cards (*.raw,*.gcp)") + wxString(wxT("|*.raw;*.gcp"))).mb_str());
|
||||
@ -1234,7 +1234,7 @@ void CConfigMain::FillChoiceBox(wxChoice* _pChoice, int _PluginType, const std::
|
||||
if (rPluginInfo.Type == _PluginType)
|
||||
{
|
||||
wxString temp;
|
||||
temp = wxGetTranslation(wxString::From8BitData(rInfos[i].GetPluginInfo().Name));
|
||||
temp = wxGetTranslation(wxString::FromUTF8(rInfos[i].GetPluginInfo().Name));
|
||||
int NewIndex = _pChoice->Append(temp, (void*)&rInfos[i]);
|
||||
|
||||
if (rInfos[i].GetFilename() == _SelectFilename)
|
||||
|
Reference in New Issue
Block a user