From 753eb5a7dce3d409dfa2c29026a34c805767e841 Mon Sep 17 00:00:00 2001 From: gijs Date: Fri, 20 Oct 2023 17:26:01 +0200 Subject: [PATCH] Decompile `func_80089990` --- src/_ob_thoughtless_van.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/_ob_thoughtless_van.c b/src/_ob_thoughtless_van.c index 155b35e..42e4171 100644 --- a/src/_ob_thoughtless_van.c +++ b/src/_ob_thoughtless_van.c @@ -1,3 +1,13 @@ #include "common.h" -INCLUDE_ASM(const s32, "_ob_thoughtless_van", func_80089990); +#include "nu/nusys.h" + +/* 19D90 80089990 */ +void func_80089990(NUGfxFunc func) { + s32 mask; + + nuGfxTaskAllEndWait(); + mask = osSetIntMask(OS_IM_NONE); + nuGfxFunc = func; + osSetIntMask(mask); +}