update gui

This commit is contained in:
Logan McNaughton
2020-10-15 21:56:29 -06:00
parent e720a28337
commit 7a0ace4340
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -325,6 +325,7 @@ m64p_error launchGame(QString netplay_ip, int netplay_port, int netplay_player)
reg_id = rand();
#endif
}
reg_id += netplay_player;
if ((*CoreDoCommand)(M64CMD_NETPLAY_CONTROL_PLAYER, netplay_player, &reg_id) == M64ERR_SUCCESS)
DebugMessage(M64MSG_INFO, "Netplay: registered for player %d", netplay_player);
+1 -1
View File
@@ -567,7 +567,7 @@ void MainWindow::createOGLWindow(QSurfaceFormat* format)
if (my_window) my_window->deleteLater();
my_window = new OGLWindow();
QWidget *container = QWidget::createWindowContainer(my_window);
QWidget *container = QWidget::createWindowContainer(my_window, this);
container->setFocusPolicy(Qt::StrongFocus);
my_window->setCursor(Qt::BlankCursor);