From 60babd9dd06bb89e89454c164230a6cb1e87757e Mon Sep 17 00:00:00 2001 From: Maschell Date: Mon, 2 Jan 2023 13:57:01 +0100 Subject: [PATCH] Set the outParam for CCRSysNeedsDRCFWUpdate --- src/main.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index d0bdd57..4bcc4a0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -10,7 +10,10 @@ DECL_FUNCTION(uint32_t, CCRSysDRCFWUpdate, uint32_t u1) { return 0; } -DECL_FUNCTION(uint32_t, CCRSysNeedsDRCFWUpdate, uint32_t u1, uint32_t u2) { +DECL_FUNCTION(uint32_t, CCRSysNeedsDRCFWUpdate, uint32_t u1, uint32_t *needsUpdateOut) { + if (needsUpdateOut) { + *needsUpdateOut = false; + } return 0; }