mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 15:01:28 +12:00
General improvements:
- Added drafts for event flag emulation; - Implemented memory locking/unlocking; - Refactored common SC_Memory objects; - Implemented VM (virtual memory) syscalls; - Improved cellGameBootCheck; - Added more dummy values to cellVideoOutGetDeviceInfo; - Mapped functions sys_mmapper_allocate_memory and sys_mmapper_map_memory to sysPrxForUser; - Mapped syscalls 341 and 342 (duplicates of 324 and 325) to sys_memory_container_create and sys_memory_container_destroy; Improved PKG installation routine: - Allow immediate game booting; - Fixed and improved game folder path handling.
This commit is contained in:
parent
ff4fcdd5fd
commit
a9a246a866
19 changed files with 1658 additions and 950 deletions
|
@ -210,7 +210,7 @@ __forceinline void MemoryBlock::FastWrite128(const u64 addr, const u128 value)
|
|||
|
||||
bool MemoryBlock::Write8(const u64 addr, const u8 value)
|
||||
{
|
||||
if(!IsMyAddress(addr)) return false;
|
||||
if(!IsMyAddress(addr) || IsLocked(addr)) return false;
|
||||
|
||||
FastWrite8(FixAddr(addr), value);
|
||||
return true;
|
||||
|
@ -218,7 +218,7 @@ bool MemoryBlock::Write8(const u64 addr, const u8 value)
|
|||
|
||||
bool MemoryBlock::Write16(const u64 addr, const u16 value)
|
||||
{
|
||||
if(!IsMyAddress(addr)) return false;
|
||||
if(!IsMyAddress(addr) || IsLocked(addr)) return false;
|
||||
|
||||
FastWrite16(FixAddr(addr), value);
|
||||
return true;
|
||||
|
@ -226,7 +226,7 @@ bool MemoryBlock::Write16(const u64 addr, const u16 value)
|
|||
|
||||
bool MemoryBlock::Write32(const u64 addr, const u32 value)
|
||||
{
|
||||
if(!IsMyAddress(addr)) return false;
|
||||
if(!IsMyAddress(addr) || IsLocked(addr)) return false;
|
||||
|
||||
FastWrite32(FixAddr(addr), value);
|
||||
return true;
|
||||
|
@ -234,7 +234,7 @@ bool MemoryBlock::Write32(const u64 addr, const u32 value)
|
|||
|
||||
bool MemoryBlock::Write64(const u64 addr, const u64 value)
|
||||
{
|
||||
if(!IsMyAddress(addr)) return false;
|
||||
if(!IsMyAddress(addr) || IsLocked(addr)) return false;
|
||||
|
||||
FastWrite64(FixAddr(addr), value);
|
||||
return true;
|
||||
|
@ -242,7 +242,7 @@ bool MemoryBlock::Write64(const u64 addr, const u64 value)
|
|||
|
||||
bool MemoryBlock::Write128(const u64 addr, const u128 value)
|
||||
{
|
||||
if(!IsMyAddress(addr)) return false;
|
||||
if(!IsMyAddress(addr) || IsLocked(addr)) return false;
|
||||
|
||||
FastWrite128(FixAddr(addr), value);
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue