mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 07:07:42 +00:00
Fix CMemoryCardSys shutdown crash
This commit is contained in:
@@ -63,6 +63,7 @@ class CMemoryCardSys
|
||||
std::vector<std::pair<ResId, CSaveWorldMemory>> xc_memoryWorlds; /* MLVL as key */
|
||||
std::experimental::optional<std::vector<CSaveWorldIntermediate>> x1c_worldInter; /* used to be auto_ptr of vector */
|
||||
std::vector<std::pair<ResId, CSaveWorld::EScanCategory>> x20_scanStates;
|
||||
|
||||
public:
|
||||
static kabufuda::SystemString ResolveDolphinCardPath(kabufuda::ECardSlot slot);
|
||||
|
||||
@@ -174,6 +175,7 @@ public:
|
||||
static ECardResult FormatCard(kabufuda::ECardSlot port);
|
||||
|
||||
static void CommitToDisk(kabufuda::ECardSlot port);
|
||||
static void Shutdown();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user