1
0
Fork 0
forked from suyu/suyu
suyu/src
tech4me d26a46feed set: Fixed GetAvailableLanguageCodes() to follow the max_entries
Rightnow, in games use GetAvailableLanguageCodes(), there is a WriteBuffer() with size larger than the buffer_size. (Core Critical core\hle\kernel\hle_ipc.cpp:WriteBuffer:296: size (0000000000000088) is greater than buffer_size (0000000000000078))

0x88 = 17(languages) * 8
0x78 = 15(languages) * 8

GetAvailableLanguageCodes() can only support 15 languages.
After firmware 4.0.0 there are 17 supported language instead of 15, to enable this GetAvailableLanguageCodes2() need to be used.
So GetAvailableLanguageCodes() will be caped at 15 languages.
Reference:
http://switchbrew.org/index.php/Settings_services
2018-08-26 00:11:13 -07:00
..
audio_core audio_core/filter: Add explicit cast to assignment in Process() 2018-08-21 12:32:37 -04:00
common logging/text_formatter: Use empty braces for initializing CONSOLE_SCREEN_BUFFER_INFO instance 2018-08-21 11:31:05 -04:00
core set: Fixed GetAvailableLanguageCodes() to follow the max_entries 2018-08-26 00:11:13 -07:00
input_common
tests
video_core Merge pull request #1173 from lioncash/batch 2018-08-25 10:59:54 -04:00
yuzu Merge pull request #1094 from DarkLordZach/nax0 2018-08-24 23:47:46 -04:00
yuzu_cmd Port #3353 from Citra 2018-08-21 01:14:06 +02:00
.clang-format
CMakeLists.txt