Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Suyu
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
many-archive
Suyu
Commits
96c174ae
There was an error fetching the commit references. Please try again later.
Commit
96c174ae
authored
10 years ago
by
Lioncash
Browse files
Options
Downloads
Patches
Plain Diff
shared_memory: Fix assignments in SharedMemory::Map
parent
28702cbf
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/core/hle/kernel/shared_memory.cpp
+3
-3
3 additions, 3 deletions
src/core/hle/kernel/shared_memory.cpp
src/core/hle/kernel/shared_memory.h
+1
-1
1 addition, 1 deletion
src/core/hle/kernel/shared_memory.h
with
4 additions
and
4 deletions
src/core/hle/kernel/shared_memory.cpp
+
3
−
3
View file @
96c174ae
...
...
@@ -30,9 +30,9 @@ ResultCode SharedMemory::Map(VAddr address, MemoryPermission permissions,
ErrorSummary
::
InvalidArgument
,
ErrorLevel
::
Permanent
);
}
base_address
=
address
;
permissions
=
permissions
;
other_permissions
=
other_permissions
;
this
->
base_address
=
address
;
this
->
permissions
=
permissions
;
this
->
other_permissions
=
other_permissions
;
return
RESULT_SUCCESS
;
}
...
...
This diff is collapsed.
Click to expand it.
src/core/hle/kernel/shared_memory.h
+
1
−
1
View file @
96c174ae
...
...
@@ -51,7 +51,7 @@ public:
*/
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
other_permissions
;
///< Other permissions of shared memory block (SVC field)
std
::
string
name
;
///< Name of shared memory object (optional)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment