From 9f4891f95070c66ea9f1aba99d72724d4ab24e5a Mon Sep 17 00:00:00 2001 From: "John Wilbert M. Villamor" Date: Sat, 19 Sep 2020 20:43:05 +0800 Subject: 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() --- libpsn00b/include/psxetc.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libpsn00b/include/psxetc.h') 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 } -- cgit v1.2.3