mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
implement utf8, part 25 (bug fixes)
This commit is contained in:
@@ -375,7 +375,7 @@ static utf8 *convert_multibyte_charset(const char *src, int languageId)
|
||||
codepoint = convert_specific_language_character_to_unicode(languageId, codepoint);
|
||||
dst = utf8_write_codepoint(dst, codepoint);
|
||||
} else {
|
||||
*dst++ = *ch++;
|
||||
dst = utf8_write_codepoint(dst, *ch++);
|
||||
}
|
||||
}
|
||||
*dst++ = 0;
|
||||
|
||||
@@ -194,7 +194,7 @@ bool openrct2_initialise()
|
||||
addhook(0x006BB76E, (int)sound_play_panned, 0, (int[]){EAX, EBX, ECX, EDX, EBP, END}, EAX, 0); // remove when all callers are decompiled
|
||||
addhook(0x006C42D9, (int)scrolling_text_setup, 0, (int[]){EAX, ECX, EBP, END}, 0, EBX); // remove when all callers are decompiled
|
||||
addhook(0x006C2321, (int)gfx_get_string_width, 0, (int[]){ESI, END}, 0, ECX); // remove when all callers are decompiled
|
||||
addhook(0x006C2321, (int)format_string, 0, (int[]){EDI, EAX, ECX, END}, 0, 0); // remove when all callers are decompiled
|
||||
addhook(0x006C2555, (int)format_string, 0, (int[]){EDI, EAX, ECX, END}, 0, 0); // remove when all callers are decompiled
|
||||
|
||||
if (!rct2_init())
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user