Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
MorsGames
GitHub Repository: MorsGames/sm64plus
Path: blob/master/lib/src/EU_D_802f4330.c
7857 views
1
#include "libultra_internal.h"
2
3
// an array of pointers to functions taking no arguments and returning u32...
4
// this is only referenced in the exception handler and here. this function is called with a0=1 and
5
// then the same memory address is loaded. it's definitely an array access though..
6
extern u32 (*D_80334920[8])(void) ;
7
8
void EU_D_802f4330(u32 a0, u32 a1(void)) {
9
register u32 int_disabled = __osDisableInt();
10
D_80334920[a0] = a1;
11
__osRestoreInt(int_disabled);
12
}
13
14