2022-10-09 05:13:17 +00:00
|
|
|
#ifndef _DOLPHIN_DB
|
|
|
|
#define _DOLPHIN_DB
|
2022-03-23 21:22:48 +00:00
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
2022-04-10 00:17:06 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2022-03-23 21:22:48 +00:00
|
|
|
#define ExceptionHookDestination 0x80000048
|
2022-04-10 00:17:06 +00:00
|
|
|
#define IsDebuggerPresent 0x80000040
|
2022-03-23 21:22:48 +00:00
|
|
|
|
|
|
|
// static int __DBInterface;
|
|
|
|
|
|
|
|
struct DBInterface {
|
2022-04-10 00:17:06 +00:00
|
|
|
u8 filler0[4];
|
|
|
|
u32 unk4;
|
2022-03-23 21:22:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
static struct DBInterface* __DBInterface;
|
|
|
|
static int DBVerbose;
|
|
|
|
|
|
|
|
void DBInit(void);
|
|
|
|
void DBInitComm(int* inputFlagPtr, int* mtrCallback);
|
|
|
|
static void __DBExceptionDestination(void);
|
|
|
|
|
2022-04-10 00:17:06 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2022-10-09 05:13:17 +00:00
|
|
|
#endif // _DOLPHIN_DB
|