yuzu/src/core/hle/service/set
Lioncash c823cf6594 service/set: Correct and simplify behavior related to copying language codes
This corrects cases where it was possible to write more entries into the
write buffer than were requested. Now, we check the size of the buffer
before actually writing into them.

We were also returning the wrong value for
GetAvailableLanguageCodeCount2(). This was previously returning 64, but
only 17 should have been returned. 64 entries is the size of the static
array used in MakeLanguageCode() within the service binary itself, but
isn't the actual total number of language codes present.
2019-05-09 21:28:36 -04:00
..
set_cal.cpp service: Update service function tables 2019-04-11 02:47:00 -04:00
set_cal.h core: Add missing override specifiers where applicable 2019-04-04 12:19:44 -04:00
set_fd.cpp hle/service: Default constructors and destructors in the cpp file where applicable 2018-09-10 23:55:31 -04:00
set_fd.h hle/service: Default constructors and destructors in the cpp file where applicable 2018-09-10 23:55:31 -04:00
set_sys.cpp service: Update service function tables 2019-04-11 02:47:00 -04:00
set_sys.h set_sys: Implement GetFirmwareVersion(2) for libnx hosversion 2019-03-10 16:51:42 -04:00
set.cpp service/set: Correct and simplify behavior related to copying language codes 2019-05-09 21:28:36 -04:00
set.h service/set: Implement MakeLanguageCode 2018-11-30 09:08:03 -05: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