Dsound hle fix (#539)

* Turned g_bEmuException into a thread_local variable (this fixes issue #135)

* Added DirectSoundUseFullHRTF to XTL namespace

This is a requirement for functions to be patched!
(Spotted this by chance while looking at the exports of our Cxbx.exe
using CFF Explorer VIII)
This commit is contained in:
PatrickvL 2017-07-28 14:12:22 +02:00 committed by Luke Usher
parent 57fd8f5c7a
commit 2cef285bc1
1 changed files with 3 additions and 1 deletions

View File

@ -2488,7 +2488,9 @@ HRESULT WINAPI XTL::EMUPATCH(IDirectSoundBuffer_SetFormat)
// ******************************************************************
// * patch: DirectSoundUseFullHRTF
// ******************************************************************
STDAPI_(void) EMUPATCH(DirectSoundUseFullHRTF)(void)
STDAPI_(void) XTL::EMUPATCH(DirectSoundUseFullHRTF)
(
void)
{
FUNC_EXPORTS;