12 graph_set_mode(GRAPH_MODE_INTERLACED, mode, GRAPH_MODE_FIELD, GRAPH_ENABLE);
36 callback_id = AddIntcHandler(INTC_VBLANK_S, vsync_callback, -1);
38 EnableIntc(INTC_VBLANK_S);
51 DisableIntc(INTC_VBLANK_S);
53 RemoveIntcHandler(INTC_VBLANK_S, callback_id);
59int graph_get_field(
void)
66 return GRAPH_FIELD_ODD;
70 return GRAPH_FIELD_EVEN;
int graph_set_screen(int x, int y, int width, int height)
void graph_set_bgcolor(unsigned char r, unsigned char g, unsigned char b)
void graph_remove_vsync_handler(int callback_id)
int graph_initialize(int fbp, int width, int height, int psm, int x, int y)
int graph_add_vsync_handler(int(*vsync_callback)())
void graph_enable_output(void)
void graph_wait_vsync(void)
void graph_set_framebuffer_filtered(int fbp, int width, int psm, int x, int y)
int graph_get_region(void)
int graph_check_vsync(void)
void graph_start_vsync(void)
void graph_wait_hsync(void)
int graph_set_mode(int interlace, int mode, int ffmd, int flicker_filter)