aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/kernel_executable.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-05-09 20:41:33 -0400
committerLioncash <mathew1800@gmail.com>2019-05-09 21:28:36 -0400
commit7593c2003414679327e122dd8e2c0ba2db676eb6 (patch)
tree7bd3aac7e6c5cce1a136cc518e1c6c342e70c342 /src/core/file_sys/kernel_executable.h
parent991e6a74fd176885b850c957f70ca56b2583078a (diff)
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.
Diffstat (limited to 'src/core/file_sys/kernel_executable.h')
0 files changed, 0 insertions, 0 deletions