let the user deal with nogbaprint, forget this
This commit is contained in:
@@ -9,6 +9,11 @@
|
|||||||
#define AGB_PRINT_PROTECT_ADDR 0x9FE2FFE
|
#define AGB_PRINT_PROTECT_ADDR 0x9FE2FFE
|
||||||
#define WSCNT_DATA (WAITCNT_PHI_OUT_16MHZ | WAITCNT_WS0_S_2 | WAITCNT_WS0_N_4)
|
#define WSCNT_DATA (WAITCNT_PHI_OUT_16MHZ | WAITCNT_WS0_S_2 | WAITCNT_WS0_N_4)
|
||||||
|
|
||||||
|
// for auto no$gba support, the string "no$gba" should be at this address.
|
||||||
|
// except it's not, blame Martin, hence I'm letting the user deal with this nonsense.
|
||||||
|
#define NOGBAIDADDR 0x4FFFA00
|
||||||
|
#define NOGBAPRINTADDR 0x4FFFA14
|
||||||
|
|
||||||
struct AGBPrintStruct
|
struct AGBPrintStruct
|
||||||
{
|
{
|
||||||
u16 m_nRequest;
|
u16 m_nRequest;
|
||||||
@@ -151,4 +156,12 @@ void AGBAssert(const char *pFile, int nLine, const char *pExpression, int nStopP
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: Find a way to seamlessly support no$gba without shit hack defines
|
||||||
|
// nogba print function
|
||||||
|
/*
|
||||||
|
void NOGBAPrint(const char *pBuf)
|
||||||
|
{
|
||||||
|
*(volatile u32*)NOGBAPRINTADDR = (u32)pBuf;
|
||||||
|
}*/
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user