mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 15:31:17 +01:00
8903df7300
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.