From da27e1456b0b9c62eef4f6780b662247d20c09ab Mon Sep 17 00:00:00 2001 From: Anthony Date: Sat, 12 Mar 2022 09:57:32 +1300 Subject: [PATCH] Restore Unlock logging --- src/core/hle/DSOUND/DirectSound/DirectSoundBuffer.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/core/hle/DSOUND/DirectSound/DirectSoundBuffer.cpp b/src/core/hle/DSOUND/DirectSound/DirectSoundBuffer.cpp index ab4865b0a..5952b77cc 100644 --- a/src/core/hle/DSOUND/DirectSound/DirectSoundBuffer.cpp +++ b/src/core/hle/DSOUND/DirectSound/DirectSoundBuffer.cpp @@ -481,6 +481,16 @@ xbox::hresult_xt WINAPI xbox::EMUPATCH(IDirectSoundBuffer_Unlock) dword_xt pdwAudioBytes2 ) { + // DSoundMutexGuardLock; + + LOG_FUNC_BEGIN + LOG_FUNC_ARG(pHybridThis) + LOG_FUNC_ARG(ppvAudioPtr1) + LOG_FUNC_ARG(pdwAudioBytes1) + LOG_FUNC_ARG(ppvAudioPtr2) + LOG_FUNC_ARG(pdwAudioBytes2) + LOG_FUNC_END; + // Xbox directsound doesn't require locking buffers // This Xbox api only exists to match PC