mirror of https://git.suyu.dev/suyu/suyu
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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue