yuzu/src/core/hle/service/set
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
..
set_cal.cpp service: Use nested namespace specifiers where applicable 2018-04-19 22:20:28 -04:00
set_cal.h service: Use nested namespace specifiers where applicable 2018-04-19 22:20:28 -04:00
set_fd.cpp service: Use nested namespace specifiers where applicable 2018-04-19 22:20:28 -04:00
set_fd.h service: Use nested namespace specifiers where applicable 2018-04-19 22:20:28 -04:00
set_sys.cpp set_sys: Implement SetColorSetId() 2018-07-24 00:48:16 -04:00
set_sys.h set_sys: Implement SetColorSetId() 2018-07-24 00:48:16 -04:00
set.cpp set: Fixed GetAvailableLanguageCodes() to follow the max_entries 2018-08-26 00:11:13 -07:00
set.h set: Fixed GetAvailableLanguageCodes() to follow the max_entries 2018-08-26 00:11:13 -07:00
settings.cpp service: Use nested namespace specifiers where applicable 2018-04-19 22:20:28 -04:00
settings.h service: Use nested namespace specifiers where applicable 2018-04-19 22:20:28 -04:00