mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-11 04:37:55 -04:00
3b742025db
- Fix struct/class forward declaration mismatches (JAIAudience, JASTrack) causing different MSVC mangled names and unresolved symbols - Add jsystem_stubs.cpp with stubs for JASHeap, JASVoiceBank, J3DShapeTable, JAUSection, JHICommBuf, HIO/HIO2, JOR
20 lines
271 B
C++
20 lines
271 B
C++
#ifndef J3DUD_H
|
|
#define J3DUD_H
|
|
|
|
#include "dolphin/types.h"
|
|
#ifndef __MWERKS__
|
|
#include <math.h>
|
|
#endif
|
|
|
|
namespace J3DUD {
|
|
inline f32 JMAAbs(f32 x) {
|
|
#ifdef __MWERKS__
|
|
return __fabsf(x);
|
|
#else
|
|
return fabsf(x);
|
|
#endif
|
|
}
|
|
} // namespace J3DUD
|
|
|
|
#endif /* J3DUD_H */
|