fix decomp macros

This commit is contained in:
Regan Green 2023-10-05 07:03:59 -04:00
parent 1c195370fa
commit bd5c616b44
2 changed files with 5 additions and 6 deletions

View File

@ -20,7 +20,7 @@ static class DecompPatchList
DecompPatchList() DecompPatchList()
{ {
// I'm having CRT initialization order issues // 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 // uninitialized. It's static so it should be
// zeroed anyways. // zeroed anyways.
// m_head = NULL; // m_head = NULL;

View File

@ -34,11 +34,10 @@ void DecompPatchAdd(void *origFunc, void *newFunc);
#else #else
#define DECOMP_METHOD_HOOK() #define DECOMP_HOOK_DECL_CLS()
#define DECOMP_HOOK_START_CLS()
#define DECOMP_HOOK_DECL_EXPORT() #define DECOMP_HOOK_END_CLS()
#define DECOMP_HOOK_DEFN_EXPORT() #define DECOMP_HOOK_EXPORT_CLS()
#define DECOMP_HOOK_EXPORT()
#endif #endif