mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-09 04:30:49 -04:00
d_a_movie_player OK (#2958)
* Match THPAudioDecode * Match daMP_MixAudio * Fix weak func order * Fix global.h
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user