integrate LAN into the UI better

also fix the MPInterface destructor
This commit is contained in:
Arisotura
2024-08-10 16:57:29 +02:00
parent e0f40cd2d1
commit 4f252cb713
11 changed files with 138 additions and 55 deletions

View File

@ -35,6 +35,7 @@
#include "Screen.h"
#include "Config.h"
#include "MPInterface.h"
class EmuInstance;
@ -125,6 +126,9 @@ public:
void osdAddMessage(unsigned int color, const char* msg);
// called when the MP interface is changed
void updateMPInterface(melonDS::MPInterfaceType type);
protected:
void keyPressEvent(QKeyEvent* event) override;
void keyReleaseEvent(QKeyEvent* event) override;