mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
Use uptr (std::uintptr_t alias)
This commit is contained in:
parent
b59f142d4e
commit
a6a5292cd7
15 changed files with 62 additions and 62 deletions
|
|
@ -227,8 +227,8 @@ namespace rsx
|
|||
fmt::throw_exception("Unreachable");
|
||||
}
|
||||
|
||||
const uintptr_t addr = uintptr_t(address);
|
||||
const uintptr_t base = uintptr_t(vm::g_base_addr);
|
||||
const uptr addr = uptr(address);
|
||||
const uptr base = uptr(vm::g_base_addr);
|
||||
|
||||
ensure(addr > base);
|
||||
return utils::address_range::start_length(u32(addr - base), range);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue