mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-09-03 00:53:49 -04:00
Implement THA and THA_GA
This commit is contained in:
@@ -4,12 +4,12 @@
|
||||
#include "dolphin/os/OSTime.h"
|
||||
|
||||
extern OSTime __osTimeOffset;
|
||||
s32 osAppNMIBuffer[16];
|
||||
|
||||
void bcopy(void* __src, void* __dst, size_t __n) {
|
||||
memmove(__dst, __src, __n);
|
||||
}
|
||||
|
||||
|
||||
int bcmp(void* __s1, void* __s2, size_t __n) {
|
||||
return memcmp(__s1, __s2, __n);
|
||||
}
|
||||
@@ -17,18 +17,19 @@ 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, ...){
|
||||
|
||||
void osSyncPrintf(const char* format, ...) {
|
||||
va_list arg;
|
||||
va_start(arg, format);
|
||||
OSVReport(format, arg);
|
||||
va_end(arg);
|
||||
|
||||
}
|
||||
void osWritebackDCache(void* buf, u32 len){
|
||||
void osWritebackDCache(void* buf, u32 len) {
|
||||
DCStoreRange(buf, len);
|
||||
}
|
||||
|
||||
u32 osGetCount(void){
|
||||
u32 osGetCount(void) {
|
||||
return OSGetTick();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user