Some bugfixes from mupen64plus-libreto team