From 53abcfd28e79d6316227b187c197673dc0fe40d5 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Mon, 23 Jan 2023 21:03:50 -0800 Subject: [PATCH] Scripting: Fix mSCRIPT_TYPE_MS_PCS macro --- include/mgba/script/types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mgba/script/types.h b/include/mgba/script/types.h index 470ed40ce..3099540dc 100644 --- a/include/mgba/script/types.h +++ b/include/mgba/script/types.h @@ -97,7 +97,7 @@ CXX_GUARD_START #define mSCRIPT_TYPE_MS_CS(STRUCT) (&mSTStructConst_ ## STRUCT) #define mSCRIPT_TYPE_MS_S_METHOD(STRUCT, NAME) (&_mSTStructBindingType_ ## STRUCT ## _ ## NAME) #define mSCRIPT_TYPE_MS_PS(STRUCT) (&mSTStructPtr_ ## STRUCT) -#define mSCRIPT_TYPE_MS_PCS(STRUCT) (&mSTStructConstPtr_ ## STRUCT) +#define mSCRIPT_TYPE_MS_PCS(STRUCT) (&mSTStructPtrConst_ ## STRUCT) #define mSCRIPT_TYPE_MS_WSTR (&mSTStringWrapper) #define mSCRIPT_TYPE_MS_WLIST (&mSTListWrapper) #define mSCRIPT_TYPE_MS_W(TYPE) (&mSTWrapper_ ## TYPE)