(new_dynarec) Backport Gillou68310 - https://github.com/Gillou68310/mupen64plus-ae/commit/60a12ce73ab644ce56895c116763a33806214144