[Project64] Use CODEPAGE_932 for internal name in Rom Browser
This commit is contained in:
parent
942e07569a
commit
655a73e1fa
|
@ -474,7 +474,7 @@ bool CRomBrowser::FillRomInfo(ROM_INFO * pRomInfo)
|
||||||
InternalName[count + 1] ^= InternalName[count + 2];
|
InternalName[count + 1] ^= InternalName[count + 2];
|
||||||
}
|
}
|
||||||
InternalName[20] = '\0';
|
InternalName[20] = '\0';
|
||||||
wcscpy(pRomInfo->InternalName, stdstr(InternalName).ToUTF16().c_str());
|
wcscpy(pRomInfo->InternalName, stdstr(InternalName).ToUTF16(stdstr::CODEPAGE_932).c_str());
|
||||||
}
|
}
|
||||||
pRomInfo->CartID[0] = *(RomData + 0x3F);
|
pRomInfo->CartID[0] = *(RomData + 0x3F);
|
||||||
pRomInfo->CartID[1] = *(RomData + 0x3E);
|
pRomInfo->CartID[1] = *(RomData + 0x3E);
|
||||||
|
@ -728,7 +728,7 @@ void CRomBrowser::FillRomList(strlist & FileList, const CPath & BaseDirectory, c
|
||||||
InternalName[count + 1] ^= InternalName[count + 2];
|
InternalName[count + 1] ^= InternalName[count + 2];
|
||||||
}
|
}
|
||||||
InternalName[20] = '\0';
|
InternalName[20] = '\0';
|
||||||
wcscpy(RomInfo.InternalName, stdstr(InternalName).ToUTF16().c_str());
|
wcscpy(RomInfo.InternalName, stdstr(InternalName).ToUTF16(stdstr::CODEPAGE_932).c_str());
|
||||||
}
|
}
|
||||||
RomInfo.RomSize = (int32_t)f->Size;
|
RomInfo.RomSize = (int32_t)f->Size;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue