(new_dynarec) Backport  Gillou68310 - https://github.com/Gillou68310/mupen64plus-ae/commit/875de15a173182e2fcd43ff85dc7d5c86fe16903