mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 06:21:26 +12:00
types.hpp: implement min_v<>, max_v<>, SignedInt, UnsignedInt, FPInt concepts
Restrict smax to only work with signed values for consistency. Cleanup <climits> includes. Cleanup <limits> includes.
This commit is contained in:
parent
4b239a0b87
commit
2491aad6f2
48 changed files with 190 additions and 168 deletions
|
@ -902,12 +902,12 @@ u32 cpu_thread::get_pc() const
|
|||
case 0x55:
|
||||
{
|
||||
const auto ctrl = static_cast<const rsx::thread*>(this)->ctrl;
|
||||
return ctrl ? ctrl->get : UINT32_MAX;
|
||||
return ctrl ? ctrl->get.load() : umax;
|
||||
}
|
||||
default: break;
|
||||
}
|
||||
|
||||
return pc ? atomic_storage<u32>::load(*pc) : UINT32_MAX;
|
||||
return pc ? atomic_storage<u32>::load(*pc) : u32{umax};
|
||||
}
|
||||
|
||||
u32* cpu_thread::get_pc2()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue