From 5d7b8756296a632dcc03ae7077698693fac3716e Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sun, 30 Mar 2025 21:12:35 -0700 Subject: [PATCH] Scripting: Add SHA1 checksum constant --- src/script/stdlib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/script/stdlib.c b/src/script/stdlib.c index 8fc1b1404..caa1e8a31 100644 --- a/src/script/stdlib.c +++ b/src/script/stdlib.c @@ -131,6 +131,7 @@ void mScriptContextAttachStdlib(struct mScriptContext* context) { mScriptContextExportConstants(context, "CHECKSUM", (struct mScriptKVPair[]) { mSCRIPT_CONSTANT_PAIR(mCHECKSUM, CRC32), mSCRIPT_CONSTANT_PAIR(mCHECKSUM, MD5), + mSCRIPT_CONSTANT_PAIR(mCHECKSUM, SHA1), mSCRIPT_KV_SENTINEL }); #ifdef M_CORE_GBA