mirror of https://github.com/PCSX2/pcsx2.git
spu2-x: Added a define in to make it easy to disable the decoder code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3186 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
aa430319c0
commit
00404edfbc
|
@ -16,8 +16,13 @@
|
|||
//Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
//
|
||||
|
||||
// Commenting this will disable all the code in Decoder.cpp (which is the only code that uses liba52 in spu2-x.)
|
||||
#define ENABLE_DECODER
|
||||
|
||||
#include "Global.h"
|
||||
|
||||
#ifdef ENABLE_DECODER
|
||||
|
||||
extern "C" {
|
||||
#include "liba52/inttypes.h"
|
||||
#include "liba52/a52.h"
|
||||
|
@ -381,3 +386,11 @@ void spdif_get_samples(s32*samples)
|
|||
}
|
||||
}
|
||||
}
|
||||
#else
|
||||
|
||||
u32 spdif_init() { return 1; }
|
||||
void spdif_update() {}
|
||||
void spdif_shutdown() {}
|
||||
void spdif_set51(u32 is_5_1_out) {}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue