This commit is contained in:
TakaRikka
2026-01-05 13:46:27 -08:00
4117 changed files with 39584 additions and 27156 deletions
+7
View File
@@ -1,6 +1,9 @@
#ifndef _DOLPHIN_AR_H_
#define _DOLPHIN_AR_H_
#ifdef __REVOLUTION_SDK__
#include <revolution/aralt.h>
#else
#include <dolphin/types.h>
#ifdef __cplusplus
@@ -64,8 +67,12 @@ void ARQSetChunkSize(u32 size);
u32 ARQGetChunkSize(void);
BOOL ARQCheckInit(void);
u16 __ARGetInterruptStatus(void);
void __ARClearInterrupt(void);
#ifdef __cplusplus
}
#endif
#endif
#endif
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef _DOLPHIN_OS_H_
#define _DOLPHIN_OS_H_
#include <stdio.h>
#include <cstdio>
#ifdef __REVOLUTION_SDK__
#include <revolution/os.h>
@@ -1,4 +1,4 @@
#pragma cplusplus on
// fake MSL_C math for sdk specifically since it differs from game MSL_C math
extern inline float sqrtf(float x) {
static const double _half=.5;
@@ -46,6 +46,10 @@ extern inline float fabsf(float x) {
}
extern float cosf(float);
extern float sinf(float);
extern float tanf(float);
extern float acosf(float);
extern inline float cos(float x) {
return cosf(x);
}
@@ -62,5 +66,3 @@ inline float floor(float x) {
// x < 0 -> int conversion of x above rounded toward zero(so decrement)
return (float)i;
}
#pragma cplusplus reset
+1 -1
View File
@@ -88,7 +88,7 @@ typedef unsigned int uint;
#define __REGISTER
#endif
#include <stddef.h>
#include <cstddef>
#endif
#endif