mirror of
https://github.com/holub/mame
synced 2025-10-04 08:28:39 +03:00
Added missing xaudio2 header from WINE that is free to use (nw)
This commit is contained in:
parent
a38c82c236
commit
298ce35d64
6491
3rdparty/compat/mingw/xaudio2.h
vendored
Normal file
6491
3rdparty/compat/mingw/xaudio2.h
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1196
3rdparty/win81sdk/Include/um/xaudio2.h
vendored
1196
3rdparty/win81sdk/Include/um/xaudio2.h
vendored
File diff suppressed because it is too large
Load Diff
@ -445,9 +445,11 @@ if _OPTIONS["USE_XAUDIO2"]=="1" then
|
||||
defines {
|
||||
"USE_XAUDIO2=1",
|
||||
},
|
||||
includedirs {
|
||||
MAME_DIR .. "3rdparty/win81sdk/Include/um",
|
||||
}
|
||||
configuration { "mingw*"}
|
||||
includedirs {
|
||||
MAME_DIR .. "3rdparty/compat/mingw",
|
||||
}
|
||||
configuration { }
|
||||
else
|
||||
defines {
|
||||
"USE_XAUDIO2=0",
|
||||
|
@ -38,6 +38,13 @@
|
||||
#include "emu.h"
|
||||
#include "osdepend.h"
|
||||
#include "emuopts.h"
|
||||
#if !defined(XAUDIO2_DLL)
|
||||
#if defined(UNICODE)
|
||||
#define XAUDIO2_DLL L"xaudio2_8.dll"
|
||||
#else
|
||||
#define XAUDIO2_DLL "xaudio2_8.dll"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
//============================================================
|
||||
// Constants
|
||||
|
Loading…
Reference in New Issue
Block a user