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

Fix saves sending you to incorrect rooms, fix triggers

This commit is contained in:
2019-11-05 09:18:14 -08:00
parent 1a5179feb2
commit 77b61b0e68
4 changed files with 11 additions and 7 deletions

View File

@@ -38,8 +38,10 @@ public:
: boo::DeviceFinder({dev_typeid(DolphinSmashAdapter)}), m_leftDiv(leftDiv), m_rightDiv(rightDiv) {}
~CInputGenerator() override {
if (smashAdapter)
if (smashAdapter) {
smashAdapter->setCallback(nullptr);
smashAdapter->closeDevice();
}
}
/* Keyboard and mouse events are delivered on the main game