This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/CMakeLists.txt b/CMakeLists.txt | |
index c981f90..4b1f9e4 100644 | |
--- a/CMakeLists.txt | |
+++ b/CMakeLists.txt | |
@@ -72,4 +72,9 @@ | |
endif() | |
+if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR CMAKE_SYSTEM_NAME STREQUAL "OpenBSD") | |
+ find_package(Sndio REQUIRED) | |
+ find_package(UsbHid REQUIRED) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/gui/mainWindow.cpp b/src/gui/mainWindow.cpp | |
index e18e2b3..1d0840e 100644 | |
--- a/src/gui/mainWindow.cpp | |
+++ b/src/gui/mainWindow.cpp | |
@@ -175,5 +175,5 @@ | |
connect(shcjoy.timer, SIGNAL(timeout()), this, SLOT(s_shcjoy_read_timer())); | |
- connect(qApp, SIGNAL(receivedMessage(quint32, QByteArray)), this, SLOT(s_received_message(quint32, QByteArray))); | |
+ connect(qApp, SIGNAL(receivedMessage(quint32, QByteArray)), this, SLOT(s_received_message(quint32, QByteArray))); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/configure.ac b/configure.ac | |
index 6550ae9..9a886a8 100644 | |
--- a/configure.ac | |
+++ b/configure.ac | |
@@ -94,15 +94,30 @@ | |
my_CPPFLAGS="${my_CPPFLAGS} -I${TOP_SRCDIR}/src/gui/linux -I${TOP_SRCDIR}/src/video/opengl" | |
linux=yes | |
- openbsd=no | |
+ bsd=no | |
windows=no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/core/emu_thread.c b/src/core/emu_thread.c | |
index 680a082..14e4f2b 100644 | |
--- a/src/core/emu_thread.c | |
+++ b/src/core/emu_thread.c | |
@@ -54,4 +54,10 @@ | |
memset(&emu_thread, 0x00, sizeof(emu_thread)); | |
+ | |
+ | |
+ return (EXIT_OK); |