mirror of
https://github.com/PCSX2/pcsx2.git
synced 2025-12-16 04:08:48 +00:00
VTLB: uptr to u32 implicit cast warning fix
This commit is contained in:
parent
e5c29a3975
commit
0823c70460
@ -174,7 +174,7 @@ namespace vtlb_private
|
||||
/// Assumes the entry is a handler, and gets the raw handler ID
|
||||
u8 assumeHandlerGetID() const { return value; }
|
||||
/// Assumes the entry is a handler, and gets the physical address
|
||||
u32 assumeHandlerGetPAddr(u32 vaddr) const { return (value + vaddr - assumeHandlerGetID()) & ~POINTER_SIGN_BIT; }
|
||||
u32 assumeHandlerGetPAddr(u32 vaddr) const { return static_cast<u32>((value + vaddr - assumeHandlerGetID()) & ~POINTER_SIGN_BIT); }
|
||||
/// Assumes the entry is a handler, returning it as a void*
|
||||
void *assumeHandlerGetRaw(int index, bool write) const;
|
||||
/// Assumes the entry is a handler, returning it
|
||||
|
||||
Loading…
Reference in New Issue
Block a user