diff options
| author | John Wilbert M. Villamor <lameguy64@gmail.com> | 2020-09-19 20:43:05 +0800 |
|---|---|---|
| committer | John Wilbert M. Villamor <lameguy64@gmail.com> | 2020-09-19 20:43:05 +0800 |
| commit | 9f4891f95070c66ea9f1aba99d72724d4ab24e5a (patch) | |
| tree | 723e3ef2118a3d1a9e6dafa811ed1b8b1bc9196e /libpsn00b/include/psxetc.h | |
| parent | 6762c39551ded059450d17d8bb0cb80642c8aaab (diff) | |
| download | psn00bsdk-9f4891f95070c66ea9f1aba99d72724d4ab24e5a.tar.gz | |
Revised makefiles, added strtok(), command line arguments, SetHeapSize(), moved ISR and callback system to psxetc, moved debug font to psxgpu, fixed CD-ROM library crashing on PSIO, fixed interrupt callback setup to fix crashing on ResetGraph()
Diffstat (limited to 'libpsn00b/include/psxetc.h')
| -rw-r--r-- | libpsn00b/include/psxetc.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libpsn00b/include/psxetc.h b/libpsn00b/include/psxetc.h index d0c8bc1..a55e593 100644 --- a/libpsn00b/include/psxetc.h +++ b/libpsn00b/include/psxetc.h @@ -5,11 +5,11 @@ extern "C" { #endif -void FntLoad(int x, int y); -char *FntSort(unsigned int *ot, char *pri, int x, int y, const char *text); -int FntOpen(int x, int y, int w, int h, int isbg, int n); -int FntPrint(int id, const char *fmt, ...); -char *FntFlush(int id); +// Interrupt callback functions +void *DMACallback(int dma, void (*func)(void)); +void *InterruptCallback(int irq, void (*func)(void)); +void *GetInterruptCallback(int irq); // Original +void RestartCallback(); #ifdef __cplusplus } |
