mirror of
https://github.com/holub/mame
synced 2025-10-05 08:41:31 +03:00
Fix Visual Studio build
This commit is contained in:
parent
c049a91f4a
commit
854fe5592f
@ -86,14 +86,10 @@ function osdmodulesbuild()
|
||||
MAME_DIR .. "src/osd/modules/input/input_xinput.cpp",
|
||||
}
|
||||
|
||||
configuration { "mingw*"}
|
||||
includedirs {
|
||||
MAME_DIR .. "3rdparty/compat/mingw",
|
||||
}
|
||||
|
||||
if _OPTIONS["targetos"]=="windows" then
|
||||
includedirs {
|
||||
MAME_DIR .. "3rdparty/winpcap/Include",
|
||||
MAME_DIR .. "3rdparty/compat/mingw",
|
||||
}
|
||||
end
|
||||
|
||||
|
@ -304,13 +304,6 @@ int sound_xaudio2::init(osd_options const &options)
|
||||
|
||||
m_sample_bytes = format.nBlockAlign;
|
||||
|
||||
#if defined(_DEBUG)
|
||||
XAUDIO2_DEBUG_CONFIGURATION debugConfig = { 0 };
|
||||
debugConfig.TraceMask = XAUDIO2_LOG_WARNINGS | XAUDIO2_LOG_TIMING | XAUDIO2_LOG_STREAMING;
|
||||
debugConfig.LogFunctionName = TRUE;
|
||||
m_xAudio2->SetDebugConfiguration(&debugConfig);
|
||||
#endif
|
||||
|
||||
// Create the buffers
|
||||
create_buffers(format);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user