summaryrefslogtreecommitdiff
path: root/src/flash.c
diff options
context:
space:
mode:
authorSeth Barberee <seth.barberee@gmail.com>2021-08-12 17:26:01 -0700
committerGitHub <noreply@github.com>2021-08-12 17:26:01 -0700
commitd9883945954a30e4b753ecbd5d807f4b6cd2a38a (patch)
tree093c45ab4de91a75d546f58a6672dfc72136677c /src/flash.c
parente005410884803f1ec8f5942bd0c8d2da5c2e29c8 (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.c4
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;
}