diff options
| author | 2019-12-11 07:11:47 -0500 | |
|---|---|---|
| committer | 2019-12-11 07:13:27 -0500 | |
| commit | 30e365e4fccacff969c2210208f90cb05ad73b93 (patch) | |
| tree | 7719cfd73b61fa9dcc0f88750ac8717f4a48043d /src/core/hle/kernel/svc.cpp | |
| parent | Merge pull request #3201 from lioncash/dump (diff) | |
| download | yuzu-30e365e4fccacff969c2210208f90cb05ad73b93.tar.gz yuzu-30e365e4fccacff969c2210208f90cb05ad73b93.tar.xz yuzu-30e365e4fccacff969c2210208f90cb05ad73b93.zip | |
kernel/svc: Correct function signature of SignalProcessWideKey
This function doesn't actually return a result code, so we can amend the
signature of it to match.
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
| -rw-r--r-- | src/core/hle/kernel/svc.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp index 35ff26c39..dbcdb0b88 100644 --- a/src/core/hle/kernel/svc.cpp +++ b/src/core/hle/kernel/svc.cpp | |||
| @@ -1650,8 +1650,7 @@ static ResultCode WaitProcessWideKeyAtomic(Core::System& system, VAddr mutex_add | |||
| 1650 | } | 1650 | } |
| 1651 | 1651 | ||
| 1652 | /// Signal process wide key | 1652 | /// Signal process wide key |
| 1653 | static ResultCode SignalProcessWideKey(Core::System& system, VAddr condition_variable_addr, | 1653 | static void SignalProcessWideKey(Core::System& system, VAddr condition_variable_addr, s32 target) { |
| 1654 | s32 target) { | ||
| 1655 | LOG_TRACE(Kernel_SVC, "called, condition_variable_addr=0x{:X}, target=0x{:08X}", | 1654 | LOG_TRACE(Kernel_SVC, "called, condition_variable_addr=0x{:X}, target=0x{:08X}", |
| 1656 | condition_variable_addr, target); | 1655 | condition_variable_addr, target); |
| 1657 | 1656 | ||
| @@ -1726,8 +1725,6 @@ static ResultCode SignalProcessWideKey(Core::System& system, VAddr condition_var | |||
| 1726 | system.PrepareReschedule(thread->GetProcessorID()); | 1725 | system.PrepareReschedule(thread->GetProcessorID()); |
| 1727 | } | 1726 | } |
| 1728 | } | 1727 | } |
| 1729 | |||
| 1730 | return RESULT_SUCCESS; | ||
| 1731 | } | 1728 | } |
| 1732 | 1729 | ||
| 1733 | // Wait for an address (via Address Arbiter) | 1730 | // Wait for an address (via Address Arbiter) |