mirror of
https://github.com/zeldaret/tp
synced 2026-08-21 14:37:49 -04:00
almost all of dolphin matched (#2036)
* TRK full match * remove trk asm * ar done * cleanup some dolphin headers * more dolphin cleanup * cleanup / GD fully matched * almost all of GX fully matched * GX / Mtx full matched * most of OS done * pad done * most of VI * remove asm * forgot couple vec funcs * couple JUtility matches
This commit is contained in:
@@ -1,38 +0,0 @@
|
||||
#ifndef DB_H
|
||||
#define DB_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include "amcstubs/AmcExi2Stubs.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define OS_DBINTERFACE_ADDR 0x00000040
|
||||
|
||||
typedef struct DBInterface {
|
||||
/* 0x0 */ u32 bPresent;
|
||||
/* 0x4 */ u32 exceptionMask;
|
||||
/* 0x8 */ void (*ExceptionDestination)(void);
|
||||
/* 0xC */ void* exceptionReturn;
|
||||
} DBInterface;
|
||||
|
||||
extern DBInterface* __DBInterface;
|
||||
|
||||
void DBInit(void);
|
||||
void __DBExceptionDestinationAux(void);
|
||||
void __DBExceptionDestination(void);
|
||||
void DBPrintf(char* format, ...);
|
||||
void DBInitComm(vu8**, AmcEXICallback); // possibly not this type, but some similar construction
|
||||
void DBInitInterrupts();
|
||||
u32 DBQueryData();
|
||||
BOOL DBRead(void*, u32);
|
||||
BOOL DBWrite(const void*, u32);
|
||||
void DBOpen();
|
||||
void DBClose();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* DB_H */
|
||||
Reference in New Issue
Block a user