audio_core/hle,lle: implement SetSemaphore
This commit is contained in:
parent
4671ccf416
commit
c9736b3300
6 changed files with 18 additions and 0 deletions
|
@ -46,6 +46,8 @@ void DSP_DSP::SetSemaphore(Kernel::HLERequestContext& ctx) {
|
|||
IPC::RequestParser rp(ctx, 0x07, 1, 0);
|
||||
const u16 semaphore_value = rp.Pop<u16>();
|
||||
|
||||
system.DSP().SetSemaphore(semaphore_value);
|
||||
|
||||
IPC::RequestBuilder rb = rp.MakeBuilder(1, 0);
|
||||
rb.Push(RESULT_SUCCESS);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue