From bd5c616b44666a1b21e9342455062afcd07cdccc Mon Sep 17 00:00:00 2001 From: Regan Green Date: Thu, 5 Oct 2023 07:03:59 -0400 Subject: [PATCH] fix decomp macros --- LEGO1/decomp.cpp | 2 +- LEGO1/decomp.h | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/LEGO1/decomp.cpp b/LEGO1/decomp.cpp index cc041fec..f4109dbc 100644 --- a/LEGO1/decomp.cpp +++ b/LEGO1/decomp.cpp @@ -20,7 +20,7 @@ static class DecompPatchList DecompPatchList() { // I'm having CRT initialization order issues - // with MSVC 4.20, so I'm going to leave m_head + // with MSVC 4.2, so I'm going to leave m_head // uninitialized. It's static so it should be // zeroed anyways. // m_head = NULL; diff --git a/LEGO1/decomp.h b/LEGO1/decomp.h index 06c18b5f..8f313d5c 100644 --- a/LEGO1/decomp.h +++ b/LEGO1/decomp.h @@ -34,11 +34,10 @@ void DecompPatchAdd(void *origFunc, void *newFunc); #else -#define DECOMP_METHOD_HOOK() - -#define DECOMP_HOOK_DECL_EXPORT() -#define DECOMP_HOOK_DEFN_EXPORT() -#define DECOMP_HOOK_EXPORT() +#define DECOMP_HOOK_DECL_CLS() +#define DECOMP_HOOK_START_CLS() +#define DECOMP_HOOK_END_CLS() +#define DECOMP_HOOK_EXPORT_CLS() #endif