mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-07 15:36:26 +00:00
Small changes, some bugs fixed
This commit is contained in:
parent
aeca523a34
commit
cfe154d916
13 changed files with 242 additions and 94 deletions
|
|
@ -78,7 +78,7 @@ void DynamicMemoryBlockBase<PT>::Delete()
|
|||
template<typename PT>
|
||||
bool DynamicMemoryBlockBase<PT>::AllocFixed(u64 addr, u32 size)
|
||||
{
|
||||
size = PAGE_4K(size); // align size
|
||||
size = PAGE_4K(size + (addr & 4095)); // align size
|
||||
|
||||
addr &= ~4095; // align start address
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue