mirror of
https://github.com/zeldaret/oot
synced 2026-08-04 01:03:36 -04:00
[ntsc-1.2] Match N64 libultra (#2081)
* Match N64 libultra * INITIALIZE_FUNC -> OSINITIALIZE_FUNC * Document osGetIntMask * Refer readers of osGetIntMask to osSetIntMask comment * Whitelist new static functions in disasm unksyms check
This commit is contained in:
+2
-2
@@ -1677,7 +1677,7 @@ s32 __osCheckPackId(OSPfs* pfs, __OSPackId* check);
|
||||
s32 __osGetId(OSPfs* pfs);
|
||||
s32 __osCheckId(OSPfs* pfs);
|
||||
s32 __osPfsRWInode(OSPfs* pfs, __OSInode* inode, u8 flag, u8 bank);
|
||||
void guMtxL2F(MtxF* m1, Mtx* m2);
|
||||
void guMtxL2F(f32 mf[4][4], Mtx* m);
|
||||
s32 osPfsFindFile(OSPfs* pfs, u16 companyCode, u32 gameCode, u8* gameName, u8* extName, s32* fileNo);
|
||||
s32 osAfterPreNMI(void);
|
||||
s32 osContStartQuery(OSMesgQueue* mq);
|
||||
@@ -1728,7 +1728,7 @@ u32 __osSpGetStatus(void);
|
||||
void __osSpSetStatus(u32 status);
|
||||
void osWritebackDCacheAll(void);
|
||||
OSThread* __osGetCurrFaultedThread(void);
|
||||
void guMtxF2L(MtxF* m1, Mtx* m2);
|
||||
void guMtxF2L(f32 mf[4][4], Mtx* m);
|
||||
// ? __d_to_ll(?);
|
||||
// ? __f_to_ll(?);
|
||||
// ? __d_to_ull(?);
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
|
||||
#define GU_PI 3.1415926
|
||||
|
||||
#define FTOFIX32(x) (s32)((x) * (f32)0x00010000)
|
||||
#define FIX32TOF(x) ((f32)(x) * (1.0f / (f32)0x00010000))
|
||||
|
||||
#define ROUND(x) (s32)(((x) >= 0.0) ? ((x) + 0.5) : ((x) - 0.5))
|
||||
|
||||
typedef union du {
|
||||
|
||||
Reference in New Issue
Block a user