mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-08-09 16:19:05 +00:00
CGBASupport: Add Shutdown function
This commit is contained in:
parent
9da5ddff36
commit
ddf17bd8b7
@ -18,6 +18,10 @@ void CGBASupport::Initialize() {
|
|||||||
g_JbusListener.start();
|
g_JbusListener.start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void CGBASupport::Shutdown() {
|
||||||
|
g_JbusListener.stop();
|
||||||
|
}
|
||||||
|
|
||||||
void CGBASupport::GlobalPoll() {
|
void CGBASupport::GlobalPoll() {
|
||||||
if (g_JbusEndpoint && !g_JbusEndpoint->connected())
|
if (g_JbusEndpoint && !g_JbusEndpoint->connected())
|
||||||
g_JbusEndpoint.reset();
|
g_JbusEndpoint.reset();
|
||||||
|
@ -36,6 +36,7 @@ private:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
static void Initialize();
|
static void Initialize();
|
||||||
|
static void Shutdown();
|
||||||
static void GlobalPoll();
|
static void GlobalPoll();
|
||||||
|
|
||||||
CGBASupport();
|
CGBASupport();
|
||||||
|
@ -926,6 +926,7 @@ void CMain::ShutdownSubsystems() {
|
|||||||
CAnimData::FreeCache();
|
CAnimData::FreeCache();
|
||||||
CMemoryCardSys::Shutdown();
|
CMemoryCardSys::Shutdown();
|
||||||
CMappableObject::Shutdown();
|
CMappableObject::Shutdown();
|
||||||
|
CGBASupport::Shutdown();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CMain::Shutdown() {
|
void CMain::Shutdown() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user