yuzu/src/core/hle
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
..
kernel Merge pull request #2412 from lioncash/system 2019-04-28 22:27:14 -04:00
service service/set: Correct and simplify behavior related to copying language codes 2019-05-09 21:28:36 -04:00
ipc_helpers.h kernel/server_session: Return a std::pair from CreateSessionPair() 2019-04-06 01:42:03 -04:00
ipc.h Merge pull request #2090 from FearlessTobi/port-4599 2019-03-20 23:44:20 -04:00
lock.cpp Fix build on macOS and linux 2018-01-13 22:38:52 +00:00
lock.h Use recursive_mutex instead of mutex to fix #2902 2017-08-29 20:39:55 +12:00
result.h hle/result: Remove unnecessary bitfield entry for ResultCode 2019-04-05 16:34:34 -04:00