mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-08-20 05:16:28 -04:00
nubinit work, breaks when linking
This commit is contained in:
@@ -9,6 +9,7 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
TRKResult TRKDispatchMessage(MessageBuffer* mBuf);
|
||||
TRKResult TRKInitializeDispatcher();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
@@ -1,12 +1,14 @@
|
||||
#ifndef DOLPHIN_TRK_H
|
||||
#define DOLPHIN_TRK_H
|
||||
#include "types.h"
|
||||
#include "TRK/trk.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C"{
|
||||
#endif
|
||||
|
||||
void InitMetroTRK(void);
|
||||
void exit(void);
|
||||
TRKResult TRKInitializeTarget();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
#ifndef DOLPHIN_TRK_GLUE_H
|
||||
#define DOLPHIN_TRK_GLUE_H
|
||||
#include "types.h"
|
||||
#include "TRK/trk.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C"{
|
||||
#endif
|
||||
|
||||
|
||||
TRKResult TRKInitializeIntDrivenUART(u32, u32, u32, void*);
|
||||
void TRK_board_display(const char*);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
@@ -16,6 +16,7 @@ typedef struct MessageBuffer {
|
||||
|
||||
MessageBuffer* TRKGetBuffer(int);
|
||||
void TRKReleaseBuffer(int);
|
||||
TRKResult TRKInitializeMessageBuffers();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
#ifndef TRK_NUBINIT
|
||||
#define TRK_NUBINIT
|
||||
#include "types.h"
|
||||
#include "TRK/trk.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
TRKResult TRKInitializeNub(void);
|
||||
TRKResult TRKTerminateNub(void);
|
||||
void TRKNubWelcome(void);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -6,6 +6,8 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
void TRKGetInput();
|
||||
TRKResult TRKInitializeSerialHandler();
|
||||
TRKResult TRKTerminateSerialHandler();
|
||||
|
||||
extern u8* gTRKInputPendingPtr;
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@ void TRKTargeInterrupt(TRKEvent*);
|
||||
void TRKTargetSupportRequest();
|
||||
BOOL TRKTargetStopped();
|
||||
void TRKTargetContinue();
|
||||
void TRKTargetSetInputPendingPtr(void*);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
#ifndef TRK_USER_PUT
|
||||
#define TRK_USER_PUT
|
||||
#include "types.h"
|
||||
#include "TRK/trk.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
TRKResult usr_put_initialize();
|
||||
TRKResult usr_put_serial(const char*);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
Reference in New Issue
Block a user