(Nebuleon dynarec) Backport https://github.com/Nebuleon/mupen64plus-core/commit/fa74d9db47b3b7d080f9e4de391afb70fe9220bd
Nebuleon dynarec) Backport https://github.com/Nebuleon/mupen64plus-core/commit/3e50105d537453ffadb01b782c1ce99f15bd54f9
(Nebuleon dynarec) Backport https://github.com/Nebuleon/mupen64plus-core/commit/e445f5a9af8f4bd6638c82b77e3d2086017fca2c