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
540a693e
There was an error fetching the commit references. Please try again later.
Commit
540a693e
authored
10 years ago
by
bunnei
Browse files
Options
Downloads
Patches
Plain Diff
updated APT_U::GetLockHandle to return a valid handle
parent
0b1ba2f3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/core/hle/service/apt.cpp
+5
-1
5 additions, 1 deletion
src/core/hle/service/apt.cpp
with
5 additions
and
1 deletion
src/core/hle/service/apt.cpp
+
5
−
1
View file @
540a693e
...
@@ -19,7 +19,11 @@ void Initialize(Service::Interface* self) {
...
@@ -19,7 +19,11 @@ void Initialize(Service::Interface* self) {
void
GetLockHandle
(
Service
::
Interface
*
self
)
{
void
GetLockHandle
(
Service
::
Interface
*
self
)
{
u32
*
cmd_buff
=
Service
::
GetCommandBuffer
();
u32
*
cmd_buff
=
Service
::
GetCommandBuffer
();
cmd_buff
[
5
]
=
0x00000000
;
// TODO: This should be an actual mutex handle
u32
flags
=
cmd_buff
[
1
];
// TODO: This should be an actual mutex handle. Games will check that this is not non-zero
// (NULL), and fail if such. A faked non-zero value will at least enable further booting.
cmd_buff
[
5
]
=
0xDEADBEEF
;
}
}
const
Interface
::
FunctionInfo
FunctionTable
[]
=
{
const
Interface
::
FunctionInfo
FunctionTable
[]
=
{
...
...
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