mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
Memory cleanup: u64 -> u32, empty TLS fixed
cellGameContentPermit fixed
This commit is contained in:
parent
4d5bdf1419
commit
0eebfb0aaa
10 changed files with 161 additions and 212 deletions
|
|
@ -72,9 +72,9 @@ public:
|
|||
Close();
|
||||
}
|
||||
|
||||
void RegisterPages(u64 addr, u32 size);
|
||||
void RegisterPages(u32 addr, u32 size);
|
||||
|
||||
void UnregisterPages(u64 addr, u32 size);
|
||||
void UnregisterPages(u32 addr, u32 size);
|
||||
|
||||
u32 InitRawSPU(MemoryBlock* raw_spu);
|
||||
|
||||
|
|
@ -119,19 +119,19 @@ public:
|
|||
return UserMemory->GetSize() - UserMemory->GetUsedSize();
|
||||
}
|
||||
|
||||
u64 Alloc(const u32 size, const u32 align)
|
||||
u32 Alloc(const u32 size, const u32 align)
|
||||
{
|
||||
return UserMemory->AllocAlign(size, align);
|
||||
}
|
||||
|
||||
bool Free(const u64 addr)
|
||||
bool Free(const u32 addr)
|
||||
{
|
||||
return UserMemory->Free(addr);
|
||||
}
|
||||
|
||||
bool Map(const u64 addr, const u32 size);
|
||||
bool Map(const u32 addr, const u32 size);
|
||||
|
||||
bool Unmap(const u64 addr);
|
||||
bool Unmap(const u32 addr);
|
||||
};
|
||||
|
||||
extern MemoryBase Memory;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue