summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/isagbprn.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/isagbprn.c b/src/isagbprn.c
index d2a41a9db..a2f9b5241 100644
--- a/src/isagbprn.c
+++ b/src/isagbprn.c
@@ -156,12 +156,22 @@ void AGBAssert(const char *pFile, int nLine, const char *pExpression, int nStopP
}
}
-// no$gba print function, uncomment to use
+// no$gba print functions, uncomment to use
/*
void NoCashGBAPrint(const char *pBuf)
{
*(volatile u32*)NOCASHGBAPRINTADDR = (u32)pBuf;
}
+
+void NoCashGBAPrintf(const char *pBuf, ...)
+{
+ char bufPrint[0x100];
+ va_list vArgv;
+ va_start(vArgv, pBuf);
+ vsprintf(bufPrint, pBuf, vArgv);
+ va_end(vArgv);
+ NoCashGBAPrint(bufPrint);
+}
*/
#endif