KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
vblank.h File Reference

VBlank handler registration. More...

#include <sys/cdefs.h>
#include <dc/asic.h>

Go to the source code of this file.

Functions

int vblank_handler_add (asic_evt_handler hnd, void *data)
 Add a vblank handler.
 
int vblank_handler_remove (int handle)
 Remove a vblank handler.
 

Detailed Description

VBlank handler registration.

This file allows functions to be registered to be called on each vblank interrupt that occurs. This gives a way to schedule small functions that must occur regularly, without using threads.

Author
Megan Potter