mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-26 20:15:03 +00:00
address_space: Fix Unmap call on linux
This commit is contained in:
parent
a641a343b2
commit
736b451f82
@ -267,7 +267,7 @@ struct AddressSpace::Impl {
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Unmap(VAddr virtual_addr, PAddr phys_addr, size_t size) {
|
void Unmap(VAddr virtual_addr, size_t size, bool) {
|
||||||
// Check to see if we are adjacent to any regions.
|
// Check to see if we are adjacent to any regions.
|
||||||
auto start_address = virtual_addr;
|
auto start_address = virtual_addr;
|
||||||
auto end_address = start_address + size;
|
auto end_address = start_address + size;
|
||||||
|
@ -42,8 +42,8 @@ struct wrapper_impl<name, PS4_SYSV_ABI R (*)(Args...), f> {
|
|||||||
template <StringLiteral name, class F, F f>
|
template <StringLiteral name, class F, F f>
|
||||||
constexpr auto wrapper = wrapper_impl<name, F, f>::wrap;
|
constexpr auto wrapper = wrapper_impl<name, F, f>::wrap;
|
||||||
|
|
||||||
#define W(foo) wrapper<#foo, decltype(&foo), foo>
|
//#define W(foo) wrapper<#foo, decltype(&foo), foo>
|
||||||
//#define W(foo) foo
|
#define W(foo) foo
|
||||||
|
|
||||||
#define LIB_FUNCTION(nid, lib, libversion, mod, moduleVersionMajor, moduleVersionMinor, function) \
|
#define LIB_FUNCTION(nid, lib, libversion, mod, moduleVersionMajor, moduleVersionMinor, function) \
|
||||||
{ \
|
{ \
|
||||||
|
Loading…
Reference in New Issue
Block a user