2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 09:47:43 +00:00

Fix CMemoryCardSys shutdown crash

This commit is contained in:
2017-01-22 09:36:25 -08:00
parent eb955c53ec
commit 12c6163e32
9 changed files with 88 additions and 20 deletions

View File

@@ -172,7 +172,7 @@ public:
static bool g_StaticListInitialized;
static int g_ParticleAliveCount;
static int g_ParticleSystemAliveCount;
static bool g_MoveRedToAlphaBuffer;
static bool sMoveRedToAlphaBuffer;
static void Initialize();
static void Shutdown();
@@ -239,6 +239,8 @@ public:
bool GetParticleEmission() const;
void DestroyParticles();
void Reset();
static void SetMoveRedToAlphaBuffer(bool);
};
ENABLE_BITWISE_ENUM(CElementGen::EOptionalSystemFlags)