aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/process.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-04-05 22:51:22 -0400
committerLioncash <mathew1800@gmail.com>2019-04-05 22:55:13 -0400
commitd2143cb59c50b56be077bdbac8b55e12bd851925 (patch)
tree814e11eff276ea38f2173868d0b0e1a8f6452d28 /src/core/hle/kernel/process.cpp
parent6e99d5146f62b205ca75a9baed88d4bf64a4c45a (diff)
video_core/macro_interpreter: Simplify GetRegister()
Given we already ensure nothing can set the zeroth register in SetRegister(), we don't need to check if the index is zero and special case it. We can just access the register normally, since it's already going to be zero. We can also replace the assertion with .at() to perform the equivalent behavior inline as part of the API.
Diffstat (limited to 'src/core/hle/kernel/process.cpp')
0 files changed, 0 insertions, 0 deletions