mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-04-04 22:18:53 +00:00
Optimizations (#1680)
* Optimizations 1) Some headers simplified for better compilation time 2) Some templates simplified for smaller executable size 3) Eliminate std::future to fix compilation for mingw64 4) PKG installation can be cancelled now 5) cellGame fixes 6) XAudio2 fix for mingw64 7) PPUInterpreter bug fixed (Clang) * any_pod<> implemented Aliases: any16, any32, any64 rsx::make_command fixed
This commit is contained in:
parent
75fe95eeb1
commit
da7472fe81
96 changed files with 2086 additions and 1772 deletions
13
3rdparty/XAudio2_7/XAudio2.h
vendored
13
3rdparty/XAudio2_7/XAudio2.h
vendored
|
|
@ -62,6 +62,19 @@ DEFINE_IID(IXAudio2, 8bcf1f58, 9fe7, 4583, 8a, c6, e2, ad, c4, 65, c8, bb);
|
|||
#include <objbase.h> // Windows COM declarations
|
||||
#endif
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#define __in
|
||||
#define __in_opt
|
||||
#define __in_bcount(x)
|
||||
#define __in_ecount(x)
|
||||
#define __deref_out
|
||||
#define __out
|
||||
#define __out_ecount(x)
|
||||
#define __out_bcount(x)
|
||||
#define __inout
|
||||
#define __reserved
|
||||
#endif
|
||||
|
||||
#include <sal.h> // Markers for documenting API semantics
|
||||
#include <audiodefs.h> // Basic audio data types and constants
|
||||
#include <xma2defs.h> // Data types and constants for XMA2 audio
|
||||
|
|
|
|||
8
3rdparty/XAudio2_7/comdecl.h
vendored
8
3rdparty/XAudio2_7/comdecl.h
vendored
|
|
@ -21,7 +21,13 @@
|
|||
// GUID definitions by defining the INITGUID preprocessor constant or by linking
|
||||
// to a GUID library. This works in either C or C++.
|
||||
|
||||
#ifdef __cplusplus
|
||||
#ifndef _MSC_VER
|
||||
|
||||
#define DEFINE_UUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) __CRT_UUID_DECL(name, 0x##l, 0x##w1, 0x##w2, 0x##b1, 0x##b2, 0x##b3, 0x##b4, 0x##b5, 0x##b6, 0x##b7, 0x##b8)
|
||||
#define DEFINE_CLSID(className, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) class className; DEFINE_UUID(className, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8)
|
||||
#define DEFINE_IID(interfaceName, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) struct interfaceName; DEFINE_UUID(interfaceName, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8)
|
||||
|
||||
#elif __cplusplus
|
||||
|
||||
#define DECLSPEC_UUID_WRAPPER(x) __declspec(uuid(#x))
|
||||
#ifdef INITGUID
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue