Fix DECR mode allocations (sys_memory)

This commit is contained in:
eladash 2019-01-04 18:42:31 +02:00 committed by Ivan
parent 400718dfd9
commit d4a24433e8
3 changed files with 37 additions and 20 deletions

View file

@ -189,7 +189,7 @@ namespace vm
std::shared_ptr<block_t> unmap(u32 addr, bool must_be_empty = false);
// Get memory block associated with optionally specified memory location or optionally specified address
std::shared_ptr<block_t> get(memory_location_t location, u32 addr = 0);
std::shared_ptr<block_t> get(memory_location_t location, u32 addr = 0, u32 area_size = 0);
// Get PS3/PSV virtual memory address from the provided pointer (nullptr always converted to 0)
inline vm::addr_t get_addr(const void* real_ptr)