From 6189948701e0c17df91432afeee14e1a36edef20 Mon Sep 17 00:00:00 2001 From: Logan McNaughton Date: Sun, 28 Jun 2020 20:19:15 -0600 Subject: [PATCH] update gui --- mupen64plus-gui/interface/common.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mupen64plus-gui/interface/common.cpp b/mupen64plus-gui/interface/common.cpp index 9533b64..f9576e2 100644 --- a/mupen64plus-gui/interface/common.cpp +++ b/mupen64plus-gui/interface/common.cpp @@ -225,7 +225,6 @@ m64p_error loadROM(std::string filename) static void loadPif() { -#if 0 /* Try to load the PIF image into the core */ if (!w->getSettings()->value("PIF_ROM").toString().isEmpty()) { QFile pifFile(w->getSettings()->value("PIF_ROM").toString()); @@ -246,13 +245,14 @@ static void loadPif() pifFile.close(); } } -#endif } m64p_error launchGame(QString netplay_ip, int netplay_port, int netplay_player) { uint32_t i; - loadPif(); + + if (!netplay_port) + loadPif(); /* search for and load plugins */ m64p_error rval = PluginSearchLoad();