Compilation fix

This commit is contained in:
Nekotekina 2015-01-19 17:34:11 +03:00
parent f3c9143a81
commit 8ecf3dcc80
2 changed files with 2 additions and 2 deletions

View File

@ -551,6 +551,6 @@ struct cast_ppu_gpr<vm::ps3::ptr<T, lvl, AT>, false>
__forceinline static vm::ps3::ptr<T, lvl, AT> from_gpr(const u64 reg)
{
return vm::ps3::ptr<T, lvl, AT>::make(cast_ppu_gpr<AT>::from_gpr(reg));
return vm::ps3::ptr<T, lvl, AT>::make(cast_ppu_gpr<AT, std::is_enum<AT>::value>::from_gpr(reg));
}
};

View File

@ -163,6 +163,6 @@ struct cast_ppu_gpr<vm::ps3::ref<T, AT>, false>
__forceinline static vm::ps3::ref<T, AT> from_gpr(const u64 reg)
{
return vm::ps3::ref<T, AT>::make(cast_ppu_gpr<AT>::from_gpr(reg));
return vm::ps3::ref<T, AT>::make(cast_ppu_gpr<AT, std::is_enum<AT>::value>::from_gpr(reg));
}
};