From d9883945954a30e4b753ecbd5d807f4b6cd2a38a Mon Sep 17 00:00:00 2001 From: Seth Barberee Date: Thu, 12 Aug 2021 17:26:01 -0700 Subject: 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 --- src/flash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/flash.c') 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; } -- cgit v1.2.3