#include <unistd.h>
#include <freetype/freetype.h>
+char *user_info[1024];
+
/* NOTE: _user_info is defined in crt0.c. It points to a 4096 byte
block of memory that contains 1024 32-bit values that can be set
with the setUserInfo() method of MIPSEmu.
*/
-extern char *user_info[1024];
-
#define FT_Check(expr) do { \
if((expr) != 0) { \
errprint(#expr " failed\n"); \
}
old_glyph_index = glyph_index;
*/
+
+
+extern int mspack_main();
+int main(int argc, char **argv) {
+ if(argc < 1) return 1;
+ if(strcmp(argv[0],"mspack")==0) return mspack_main();
+ if(strcmp(argv[0],"freetype")==0) return freetype_main();
+ return 1;
+}