mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-08-03 11:38:59 -06:00
integrate LAN into the UI better
also fix the MPInterface destructor
This commit is contained in:
@ -42,6 +42,7 @@ public:
|
||||
|
||||
|
||||
std::unique_ptr<MPInterface> MPInterface::Current(std::make_unique<DummyMP>());
|
||||
MPInterfaceType MPInterface::CurrentType = MPInterface_Dummy;
|
||||
|
||||
|
||||
void MPInterface::Set(MPInterfaceType type)
|
||||
@ -60,6 +61,8 @@ void MPInterface::Set(MPInterfaceType type)
|
||||
Current = std::make_unique<DummyMP>();
|
||||
break;
|
||||
}
|
||||
|
||||
CurrentType = type;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user