mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-12-29 19:35:37 +00:00
shared_memory: Fix assignments in SharedMemory::Map
This commit is contained in:
parent
28702cbfeb
commit
96c174aed4
|
@ -30,9 +30,9 @@ ResultCode SharedMemory::Map(VAddr address, MemoryPermission permissions,
|
||||||
ErrorSummary::InvalidArgument, ErrorLevel::Permanent);
|
ErrorSummary::InvalidArgument, ErrorLevel::Permanent);
|
||||||
}
|
}
|
||||||
|
|
||||||
base_address = address;
|
this->base_address = address;
|
||||||
permissions = permissions;
|
this->permissions = permissions;
|
||||||
other_permissions = other_permissions;
|
this->other_permissions = other_permissions;
|
||||||
|
|
||||||
return RESULT_SUCCESS;
|
return RESULT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,7 +51,7 @@ public:
|
||||||
*/
|
*/
|
||||||
ResultVal<u8*> GetPointer(u32 offset = 0);
|
ResultVal<u8*> GetPointer(u32 offset = 0);
|
||||||
|
|
||||||
VAddr base_address; ///< Address of shared memory block in RAM
|
VAddr base_address; ///< Address of shared memory block in RAM
|
||||||
MemoryPermission permissions; ///< Permissions of shared memory block (SVC field)
|
MemoryPermission permissions; ///< Permissions of shared memory block (SVC field)
|
||||||
MemoryPermission other_permissions; ///< Other permissions of shared memory block (SVC field)
|
MemoryPermission other_permissions; ///< Other permissions of shared memory block (SVC field)
|
||||||
std::string name; ///< Name of shared memory object (optional)
|
std::string name; ///< Name of shared memory object (optional)
|
||||||
|
|
Loading…
Reference in a new issue