mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 23:07:42 +00:00
Fix CInputGenerator, CRadarPaintShaderGLSL and CPhazonSuitFilterGLSL crashes
This commit is contained in:
@@ -179,7 +179,8 @@ public:
|
||||
if (!smashAdapter)
|
||||
{
|
||||
smashAdapter = std::dynamic_pointer_cast<boo::DolphinSmashAdapter>(tok.openAndGetDevice());
|
||||
smashAdapter->setCallback(&m_dolphinCb);
|
||||
if (smashAdapter)
|
||||
smashAdapter->setCallback(&m_dolphinCb);
|
||||
}
|
||||
}
|
||||
void deviceDisconnected(boo::DeviceToken&, boo::DeviceBase* device)
|
||||
|
||||
Reference in New Issue
Block a user