mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
sys_memory, sys_mmapper rewritten
LogBase::Fatal() removed
This commit is contained in:
parent
39629c5c7a
commit
2d37c6b5e2
20 changed files with 598 additions and 456 deletions
|
|
@ -28,7 +28,8 @@ public:
|
|||
{
|
||||
DynamicMemoryBlock RAM;
|
||||
DynamicMemoryBlock Userspace;
|
||||
} PSV;
|
||||
}
|
||||
PSV;
|
||||
|
||||
struct
|
||||
{
|
||||
|
|
@ -37,7 +38,8 @@ public:
|
|||
DynamicMemoryBlock RAM;
|
||||
DynamicMemoryBlock Kernel;
|
||||
DynamicMemoryBlock Userspace;
|
||||
} PSP;
|
||||
}
|
||||
PSP;
|
||||
|
||||
bool m_inited;
|
||||
|
||||
|
|
@ -51,10 +53,6 @@ public:
|
|||
Close();
|
||||
}
|
||||
|
||||
void RegisterPages(u32 addr, u32 size);
|
||||
|
||||
void UnregisterPages(u32 addr, u32 size);
|
||||
|
||||
void Init(MemoryType type);
|
||||
|
||||
void Close();
|
||||
|
|
@ -82,6 +80,8 @@ public:
|
|||
bool Map(const u32 addr, const u32 size);
|
||||
|
||||
bool Unmap(const u32 addr);
|
||||
|
||||
MemoryBlock* Get(const u32 addr);
|
||||
};
|
||||
|
||||
extern MemoryBase Memory;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue