mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-25 21:43:41 +01:00

Instead of passing the value around constantly, just store it in the regcache, note where it is, and restore it on the exception path. This saves a whole bunch of pushing and popping and gives a ~5% speed boost in Rebel Strike. It's a bit ugly, but it simplifies a lot of code and is faster, too.