mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-25 00:03:44 +02:00
18 lines
458 B
Diff
18 lines
458 B
Diff
# In libretro builds, makes TheoraPlay use the Theora and Vorbis headers from our subprojects instead of the system Theora and Vorbis headers.
|
|
|
|
--- a/theoraplay.c
|
|
+++ b/theoraplay.c
|
|
@@ -42,8 +42,13 @@
|
|
#endif
|
|
|
|
#include "theoraplay.h"
|
|
+#ifdef MKXPZ_RETRO
|
|
+#include "../theora/include/theora/theoradec.h"
|
|
+#include "../vorbis/include/vorbis/codec.h"
|
|
+#else
|
|
#include "theora/theoradec.h"
|
|
#include "vorbis/codec.h"
|
|
+#endif
|
|
|
|
#define THEORAPLAY_INTERNAL 1
|
|
|