summaryrefslogtreecommitdiff
path: root/src/yuzu/configuration/configure_input.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-04-15 20:34:55 -0400
committerLioncash <mathew1800@gmail.com>2019-04-29 01:38:27 -0400
commitd672c6e759c560dbeff04c1b92ce46bb7a2f8ed8 (patch)
tree974a6a0992c6e5ab583d1a1e67c20028b7d7c765 /src/yuzu/configuration/configure_input.cpp
parent69a2003a8e904399a84ec9d9573d77cdccb359d2 (diff)
kernel/svc: Reorganize svcSetThreadCoreMask()
Makes the code much nicer to follow in terms of behavior and control flow. It also fixes a few bugs in the implementation. Notably, the thread's owner process shouldn't be accessed in order to retrieve the core mask or ideal core. This should be done through the current running process. The only reason this bug wasn't encountered yet is because we currently only support running one process, and thus every owner process will be the current process. We also weren't checking against the process' CPU core mask to see if an allowed core is specified or not. With this out of the way, it'll be less noisy to implement proper handling of the affinity flags internally within the kernel thread instances.
Diffstat (limited to 'src/yuzu/configuration/configure_input.cpp')
0 files changed, 0 insertions, 0 deletions