2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 22:27:43 +00:00

several core runtime stubs added

This commit is contained in:
Jack Andersen
2015-08-16 19:26:58 -10:00
parent 53256dea15
commit 387332ed70
38 changed files with 373 additions and 6 deletions

19
Runtime/CBasicsPC.cpp Normal file
View File

@@ -0,0 +1,19 @@
#include <stdio.h>
#include <stdarg.h>
#include "CBasics.hpp"
void CBasics::Init()
{
}
char STRINGIZE_STR[2048];
const char* CBasics::Stringize(const char* fmt, ...)
{
va_list ap;
va_start(ap, fmt);
vsnprintf(STRINGIZE_STR, 2048, fmt, ap);
va_end(ap);
return STRINGIZE_STR;
}