mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-27 00:00:07 -06:00
get things in a startable state
This commit is contained in:
@ -75,6 +75,7 @@
|
||||
#include "Savestate.h"
|
||||
#include "MPInterface.h"
|
||||
#include "LANDialog.h"
|
||||
#include "NetplayDialog.h"
|
||||
|
||||
//#include "main_shaders.h"
|
||||
|
||||
@ -1705,14 +1706,14 @@ void MainWindow::onLANStartClient()
|
||||
|
||||
void MainWindow::onNPStartHost()
|
||||
{
|
||||
//Netplay::StartHost();
|
||||
//NetplayStartHostDialog::openDlg(this);
|
||||
if (!netplayWarning(true)) return;
|
||||
NetplayStartHostDialog::openDlg(this);
|
||||
}
|
||||
|
||||
void MainWindow::onNPStartClient()
|
||||
{
|
||||
//Netplay::StartClient();
|
||||
//NetplayStartClientDialog::openDlg(this);
|
||||
if (!netplayWarning(false)) return;
|
||||
NetplayStartClientDialog::openDlg(this);
|
||||
}
|
||||
|
||||
void MainWindow::onNPTest()
|
||||
@ -1752,6 +1753,15 @@ bool MainWindow::lanWarning(bool host)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool MainWindow::netplayWarning(bool host)
|
||||
{
|
||||
// TODO
|
||||
// * if a game is running it needs to be closed
|
||||
// * if multiple instances are open they need to be closed
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void MainWindow::onOpenEmuSettings()
|
||||
{
|
||||
emuThread->emuPause();
|
||||
|
Reference in New Issue
Block a user