(Nebuleon dynarec) Backport https://github.com/Nebuleon/mupen64plus-core/commit/77a0b39d4282657ac548ae592dd68237fe7dd37e
(Nebuleon dynarec) Backport https://github.com/Nebuleon/mupen64plus-core/commit/91e298bf31fa3ea03a301785ca6f1b2d5d1b15ea