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.master
parent
66be5150d6
commit
1efdb4897e
Loading…
Reference in New Issue