d_a_movie_player OK (#2958)

* Match THPAudioDecode

* Match daMP_MixAudio

* Fix weak func order

* Fix global.h
This commit is contained in:
LagoLunatic
2025-12-16 09:52:28 -05:00
committed by GitHub
parent 2776a536dc
commit 80a6fcb319
4 changed files with 29 additions and 43 deletions
-5
View File
@@ -69,7 +69,6 @@ public:
int daMP_c_Finish();
int daMP_c_Main();
int daMP_c_Draw();
daMP_c() {}
static int daMP_c_Callback_Init(fopAc_ac_c*);
static int daMP_c_Callback_Finish(daMP_c*);
@@ -96,10 +95,6 @@ public:
virtual void draw();
};
inline s32 daMP_NEXT_READ_SIZE(daMP_THPReadBuffer* readBuf) {
return *(s32*)readBuf->ptr;
}
void daMP_PrepareReady(int);
#endif /* D_A_MOVIE_PLAYER_H */
+2 -12
View File
@@ -63,23 +63,13 @@
#define STATIC_ASSERT(...)
#endif
#ifdef __MWERKS__
// Intrinsics
#ifndef __MWERKS__
// Silence clangd errors about MWCC PPC intrinsics by declaring them here.
extern int __cntlzw(unsigned int);
extern int __rlwimi(int, int, int, int, int);
extern void __dcbz(void*, int);
extern void __sync();
extern int __abs(int);
#else
// to stop clangd errors
#define __cntlzw
#define __rlwimi
#define __dcbz
#define __sync
#define __abs
#endif
#ifndef __MWERKS__
void* __memcpy(void*, const void*, int);
#endif