mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-10-12 06:25:57 -04:00
d2143cb59c
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.