From 582182b7f661d7715dadb1c637d7b25b2eb213e7 Mon Sep 17 00:00:00 2001 From: Nekokabu Date: Sun, 20 Dec 2015 16:36:21 +0900 Subject: [PATCH] Fix internalname in rom information dialog --- Source/Project64/N64System/RomInformationClass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Project64/N64System/RomInformationClass.cpp b/Source/Project64/N64System/RomInformationClass.cpp index cca308dbb..333fd7fb2 100644 --- a/Source/Project64/N64System/RomInformationClass.cpp +++ b/Source/Project64/N64System/RomInformationClass.cpp @@ -71,7 +71,7 @@ DWORD CALLBACK RomInfoProc (HWND hDlg, DWORD uMsg, DWORD wParam, DWORD lParam) { SetDlgItemTextW(hDlg, IDC_CIC_CHIP, GS(INFO_CIC_CHIP_TEXT)); SetDlgItemTextW(hDlg, IDC_CLOSE_BUTTON, GS(BOTTOM_CLOSE)); - SetDlgItemText(hDlg,IDC_INFO_ROMNAME,_this->m_pRomInfo->GetRomName().c_str()); + SetDlgItemTextW(hDlg, IDC_INFO_ROMNAME, _this->m_pRomInfo->GetRomName().ToUTF16(stdstr::CODEPAGE_932).c_str()); char path[_MAX_PATH], drive[_MAX_DRIVE],dir[_MAX_DIR], fname[_MAX_FNAME],ext[_MAX_EXT]; _splitpath(_this->m_pRomInfo->GetFileName().c_str(), drive, dir, fname, ext);