match some Z2Calc functions (#72)

* Z2Calc OK

* inline definitions in random.h and format

* set -enum int compiler flag and fix enum hacks

* note for get_ufloat_1 inline

* PR suggestions and UB note

Co-authored-by: Pheenoh <pheenoh@gmail.com>
This commit is contained in:
lepelog
2021-01-07 02:39:56 +01:00
committed by GitHub
parent a787699d14
commit 11e2bab926
19 changed files with 93 additions and 247 deletions
+1 -3
View File
@@ -93,8 +93,6 @@ typedef s32 OSHeapHandle;
typedef enum OSSoundMode {
SOUND_MODE_MONO = 0,
SOUND_MODE_STEREO = 1,
__SOUND_MODE_FORCE_ENUM_U32 = 0xffffffff,
} OSSoundMode;
typedef u16 OSThreadState;
@@ -151,7 +149,7 @@ BOOL OSJamMessage(OSMessageQueue* queue, OSMessage message, int flags);
s32 OSGetConsoleType(void);
s32 OSGetResetCode(void);
OSSoundMode OSGetSoundMode(void);
u32 OSGetSoundMode(void);
void OSSetSoundMode(OSSoundMode mode);
void OSReportInit(void);