mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-16 11:48:36 +12:00
Fix building on OS X 10.10
This commit is contained in:
parent
73d63c508a
commit
00e637645c
6 changed files with 145 additions and 10 deletions
|
@ -887,6 +887,20 @@ struct cast_ppu_gpr<u32, false>
|
|||
}
|
||||
};
|
||||
|
||||
template<>
|
||||
struct cast_ppu_gpr<unsigned long, false>
|
||||
{
|
||||
__forceinline static u64 to_gpr(const unsigned long& value)
|
||||
{
|
||||
return value;
|
||||
}
|
||||
|
||||
__forceinline static unsigned long from_gpr(const u64 reg)
|
||||
{
|
||||
return static_cast<unsigned long>(reg);
|
||||
}
|
||||
};
|
||||
|
||||
template<>
|
||||
struct cast_ppu_gpr<u64, false>
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue