diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2021-08-12 17:26:01 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-12 17:26:01 -0700 |
commit | d9883945954a30e4b753ecbd5d807f4b6cd2a38a (patch) | |
tree | 093c45ab4de91a75d546f58a6672dfc72136677c /src/flash.c | |
parent | e005410884803f1ec8f5942bd0c8d2da5c2e29c8 (diff) |
More data dumping and some code cleaning (#46)
* more data dumping and some code cleaning
* split out cutscene scripts
* initial start at script conversion
* more script work
* use correct type
* clearer up struct field names
* split known scripts into seperate files
* no need to preproc pure ascii strings in debug
* more cutscene work
* split out personality test scripts
* solidify text macros and doc some dungeon fields
* more scripting work
Diffstat (limited to 'src/flash.c')
-rw-r--r-- | src/flash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash.c b/src/flash.c index c27a45e..934d071 100644 --- a/src/flash.c +++ b/src/flash.c @@ -5,13 +5,13 @@ extern u8 gFlashEnabled; -extern FlashIntrFunc *GetInterruptCallback(s32); +extern FlashIntrFunc *GetInterruptHandler(s32); static u8 TryProgramSector(s32, u8 *); void InitFlash(void) { - if (!IdentifyFlash() && !SetFlashTimerIntr(2, GetInterruptCallback(3))) + if (!IdentifyFlash() && !SetFlashTimerIntr(2, GetInterruptHandler(3))) gFlashEnabled = TRUE; } |