attempt at fixing Linux linking error

This commit is contained in:
SimoneN64
2023-06-28 10:03:52 +02:00
parent cc7e9bc464
commit 18615ad36d
4 changed files with 4 additions and 7 deletions

View File

@@ -4,5 +4,4 @@
#include <array> #include <array>
namespace Netplay { namespace Netplay {
bool connected = false;
} }

View File

@@ -3,5 +3,4 @@
#include <PIF.hpp> #include <PIF.hpp>
namespace Netplay { namespace Netplay {
extern bool connected;
} }

View File

@@ -328,11 +328,11 @@ void PIF::EepromWrite(const u8* cmd, u8* res, const Mem& mem) {
} }
void PIF::UpdateController() { void PIF::UpdateController() {
if(Netplay::connected) { //if(Netplay::connected) {
Util::panic("Netplay!!!"); // Util::panic("Netplay!!!");
} else { //} else {
PollController(); PollController();
} //}
} }
void PIF::DoPIFHLE(Mem& mem, Registers& regs, bool pal, CICType cicType) { void PIF::DoPIFHLE(Mem& mem, Registers& regs, bool pal, CICType cicType) {

View File

@@ -1,5 +1,4 @@
#include <Netplay.hpp> #include <Netplay.hpp>
namespace Netplay { namespace Netplay {
} }