mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-08-04 06:55:34 +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();
|
||||
}
|
||||
|
||||
void CGBASupport::Shutdown() {
|
||||
g_JbusListener.stop();
|
||||
}
|
||||
|
||||
void CGBASupport::GlobalPoll() {
|
||||
if (g_JbusEndpoint && !g_JbusEndpoint->connected())
|
||||
g_JbusEndpoint.reset();
|
||||
|
@ -36,6 +36,7 @@ private:
|
||||
|
||||
public:
|
||||
static void Initialize();
|
||||
static void Shutdown();
|
||||
static void GlobalPoll();
|
||||
|
||||
CGBASupport();
|
||||
|
@ -926,6 +926,7 @@ void CMain::ShutdownSubsystems() {
|
||||
CAnimData::FreeCache();
|
||||
CMemoryCardSys::Shutdown();
|
||||
CMappableObject::Shutdown();
|
||||
CGBASupport::Shutdown();
|
||||
}
|
||||
|
||||
void CMain::Shutdown() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user