mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-12-06 07:12:28 +01:00
cellL10n: fix ucs2 type
This commit is contained in:
parent
13bb9a2041
commit
950c7768bc
|
|
@ -2498,7 +2498,7 @@ s32 UCS2stoSBCSs(vm::cptr<u16> src, vm::ptr<u32> src_len, vm::ptr<u8> dst, vm::p
|
||||||
|
|
||||||
for (u32 src_pos = 0; src_pos < *src_len; src_pos++)
|
for (u32 src_pos = 0; src_pos < *src_len; src_pos++)
|
||||||
{
|
{
|
||||||
const s16 ucs2 = src[src_pos];
|
const u16 ucs2 = src[src_pos];
|
||||||
|
|
||||||
if (ucs2 >= 0xfffe)
|
if (ucs2 >= 0xfffe)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue