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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user