nuclear@0: #include "libgba.h" nuclear@0: nuclear@0: int main(void) { nuclear@0: int i; nuclear@0: struct font *font; nuclear@0: nuclear@0: set_video_mode(VMODE_LFB_240x160_16, 1); nuclear@0: nuclear@0: font = get_font(); nuclear@0: nuclear@0: clear_buffer(front_buffer, 0); nuclear@0: draw_string("int main(void) {", 0, 0, front_buffer); nuclear@0: draw_string(" return 0;", 0, font->y, front_buffer); nuclear@0: draw_string("}", 0, font->y * 2, front_buffer); nuclear@0: /*flip();*/ nuclear@0: nuclear@0: halt(); nuclear@0: nuclear@0: return 0; nuclear@0: }