Controller: Add emulation of Namco GunCon

This commit is contained in:
Connor McLaughlin
2020-04-26 01:18:42 +10:00
parent 2026ef99e8
commit e6bd6587fd
11 changed files with 320 additions and 7 deletions

View File

@ -785,7 +785,7 @@ void System::UpdateControllers()
const ControllerType type = settings.controller_types[i];
if (type != ControllerType::None)
{
std::unique_ptr<Controller> controller = Controller::Create(type);
std::unique_ptr<Controller> controller = Controller::Create(this, type);
if (controller)
m_pad->SetController(i, std::move(controller));
}