mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-09-03 08:57:02 -04:00
Implement aligned funcs
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
#include "types.h"
|
||||
|
||||
void EXI2_Init(void){
|
||||
|
||||
}
|
||||
void EXI2_EnableInterrupts(void){
|
||||
|
||||
}
|
||||
u8 EXI2_Poll(void){
|
||||
return 0;
|
||||
}
|
||||
|
||||
u8 EXI2_ReadN(void){
|
||||
return 0;
|
||||
}
|
||||
|
||||
u8 EXI2_WriteN(void){
|
||||
return 0;
|
||||
}
|
||||
|
||||
void EXI2_Reserve(void){
|
||||
|
||||
}
|
||||
void EXI2_Unreserve(void){
|
||||
|
||||
}
|
||||
u8 AMC_IsStub(void){
|
||||
return 1;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
#include "types.h"
|
||||
|
||||
void __GXSetRange(void){
|
||||
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
#include "types.h"
|
||||
|
||||
BOOL Hu_IsStub(void){
|
||||
return 0;
|
||||
}
|
||||
+16
-5
@@ -1,4 +1,9 @@
|
||||
#include "libultra/libultra.h"
|
||||
#include "_mem.h"
|
||||
#include "dolphin/OS/os.h"
|
||||
#include "dolphin/OS/OSTime.h"
|
||||
|
||||
extern OSTime __osTimeOffset;
|
||||
|
||||
void bcopy(void* __src, void* __dst, size_t __n) {
|
||||
memmove(__dst, __src, __n);
|
||||
@@ -12,12 +17,18 @@ int bcmp(void* __s1, void* __s2, size_t __n) {
|
||||
void bzero(void* __s, size_t __n) {
|
||||
memset(__s, 0, __n);
|
||||
}
|
||||
void osSyncPrintf(const char* format, ...){
|
||||
va_list arg;
|
||||
va_start(arg, format);
|
||||
OSVReport(format, arg);
|
||||
va_end(arg);
|
||||
|
||||
//void osWritebackDCache(void* buf, u32 len){
|
||||
// DCStoreRange(buf, len);
|
||||
//}
|
||||
}
|
||||
void osWritebackDCache(void* buf, u32 len){
|
||||
DCStoreRange(buf, len);
|
||||
}
|
||||
|
||||
/* s32 osGetCount(void){
|
||||
u32 osGetCount(void){
|
||||
return OSGetTick();
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user