From 950c7768bc19352198e497bcba83627eafc45003 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Fri, 10 Oct 2025 10:39:01 +0200 Subject: [PATCH] cellL10n: fix ucs2 type --- rpcs3/Emu/Cell/Modules/cellL10n.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/Cell/Modules/cellL10n.cpp b/rpcs3/Emu/Cell/Modules/cellL10n.cpp index 6b3ffc4448..0f47c682e6 100644 --- a/rpcs3/Emu/Cell/Modules/cellL10n.cpp +++ b/rpcs3/Emu/Cell/Modules/cellL10n.cpp @@ -2498,7 +2498,7 @@ s32 UCS2stoSBCSs(vm::cptr src, vm::ptr src_len, vm::ptr dst, vm::p 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) {