diff --git a/platforms/android/arm64-v8a/external.sh b/platforms/android/arm64-v8a/external.sh index a3b44e5..82802bf 100755 --- a/platforms/android/arm64-v8a/external.sh +++ b/platforms/android/arm64-v8a/external.sh @@ -2,7 +2,7 @@ set -e -LIBZEDMD_SHA=44a8f03cd2f6c8c358714d871f4c716f447052ec +LIBZEDMD_SHA=f7cab7910a347d744584274117f541182cd216d8 LIBSERUM_SHA=b69d2b436bc93570a2e7e78d0946cd3c43f7aed5 if [[ $(uname) == "Linux" ]]; then diff --git a/platforms/ios/arm64/external.sh b/platforms/ios/arm64/external.sh index c3b3a2c..7a81786 100755 --- a/platforms/ios/arm64/external.sh +++ b/platforms/ios/arm64/external.sh @@ -2,7 +2,7 @@ set -e -LIBZEDMD_SHA=44a8f03cd2f6c8c358714d871f4c716f447052ec +LIBZEDMD_SHA=f7cab7910a347d744584274117f541182cd216d8 LIBSERUM_SHA=b69d2b436bc93570a2e7e78d0946cd3c43f7aed5 NUM_PROCS=$(sysctl -n hw.ncpu) diff --git a/platforms/linux/aarch64/external.sh b/platforms/linux/aarch64/external.sh index 678705b..0963b0a 100755 --- a/platforms/linux/aarch64/external.sh +++ b/platforms/linux/aarch64/external.sh @@ -2,7 +2,7 @@ set -e -LIBZEDMD_SHA=44a8f03cd2f6c8c358714d871f4c716f447052ec +LIBZEDMD_SHA=f7cab7910a347d744584274117f541182cd216d8 LIBSERUM_SHA=b69d2b436bc93570a2e7e78d0946cd3c43f7aed5 NUM_PROCS=$(nproc) diff --git a/platforms/linux/x64/external.sh b/platforms/linux/x64/external.sh index d773af3..6fc42aa 100755 --- a/platforms/linux/x64/external.sh +++ b/platforms/linux/x64/external.sh @@ -2,7 +2,7 @@ set -e -LIBZEDMD_SHA=44a8f03cd2f6c8c358714d871f4c716f447052ec +LIBZEDMD_SHA=f7cab7910a347d744584274117f541182cd216d8 LIBSERUM_SHA=b69d2b436bc93570a2e7e78d0946cd3c43f7aed5 NUM_PROCS=$(nproc) diff --git a/platforms/macos/arm64/external.sh b/platforms/macos/arm64/external.sh index 02b3444..5d4c86d 100755 --- a/platforms/macos/arm64/external.sh +++ b/platforms/macos/arm64/external.sh @@ -2,7 +2,7 @@ set -e -LIBZEDMD_SHA=44a8f03cd2f6c8c358714d871f4c716f447052ec +LIBZEDMD_SHA=f7cab7910a347d744584274117f541182cd216d8 LIBSERUM_SHA=b69d2b436bc93570a2e7e78d0946cd3c43f7aed5 NUM_PROCS=$(sysctl -n hw.ncpu) diff --git a/platforms/macos/x64/external.sh b/platforms/macos/x64/external.sh index 309d97a..725524b 100755 --- a/platforms/macos/x64/external.sh +++ b/platforms/macos/x64/external.sh @@ -2,7 +2,7 @@ set -e -LIBZEDMD_SHA=44a8f03cd2f6c8c358714d871f4c716f447052ec +LIBZEDMD_SHA=f7cab7910a347d744584274117f541182cd216d8 LIBSERUM_SHA=b69d2b436bc93570a2e7e78d0946cd3c43f7aed5 NUM_PROCS=$(sysctl -n hw.ncpu) diff --git a/platforms/tvos/arm64/external.sh b/platforms/tvos/arm64/external.sh index 030602c..03d3bf8 100755 --- a/platforms/tvos/arm64/external.sh +++ b/platforms/tvos/arm64/external.sh @@ -2,7 +2,7 @@ set -e -LIBZEDMD_SHA=44a8f03cd2f6c8c358714d871f4c716f447052ec +LIBZEDMD_SHA=f7cab7910a347d744584274117f541182cd216d8 LIBSERUM_SHA=b69d2b436bc93570a2e7e78d0946cd3c43f7aed5 NUM_PROCS=$(sysctl -n hw.ncpu) diff --git a/platforms/win/x64/external.sh b/platforms/win/x64/external.sh index 1124288..14a56fa 100755 --- a/platforms/win/x64/external.sh +++ b/platforms/win/x64/external.sh @@ -2,7 +2,7 @@ set -e -LIBZEDMD_SHA=44a8f03cd2f6c8c358714d871f4c716f447052ec +LIBZEDMD_SHA=f7cab7910a347d744584274117f541182cd216d8 LIBSERUM_SHA=b69d2b436bc93570a2e7e78d0946cd3c43f7aed5 echo "Building libraries..." diff --git a/platforms/win/x86/external.sh b/platforms/win/x86/external.sh index 55cba5e..bb08cc2 100755 --- a/platforms/win/x86/external.sh +++ b/platforms/win/x86/external.sh @@ -2,7 +2,7 @@ set -e -LIBZEDMD_SHA=44a8f03cd2f6c8c358714d871f4c716f447052ec +LIBZEDMD_SHA=f7cab7910a347d744584274117f541182cd216d8 LIBSERUM_SHA=b69d2b436bc93570a2e7e78d0946cd3c43f7aed5 echo "Building libraries..." diff --git a/src/DMD.cpp b/src/DMD.cpp index bce63e9..09e2108 100644 --- a/src/DMD.cpp +++ b/src/DMD.cpp @@ -358,7 +358,7 @@ void DMD::FindDisplays() if (pConfig->IsPixelcade()) { pPixelcadeDMD = PixelcadeDMD::Connect(pConfig->GetPixelcadeDevice(), 128, 32); - m_pPixelcadeDMDThread = new std::thread(&DMD::PixelcadeDMDThread, this); + if (pPixelcadeDMD) m_pPixelcadeDMDThread = new std::thread(&DMD::PixelcadeDMDThread, this); } m_pPixelcadeDMD = pPixelcadeDMD; @@ -561,7 +561,7 @@ void DMD::PixelcadeDMDThread() while (!m_stopFlag && bufferPosition != m_updateBufferPosition) { // @todo scaling - if (m_updateBuffer[bufferPosition]->width == 128 && m_updateBuffer[bufferPosition]->width == 32 && + if (m_updateBuffer[bufferPosition]->width == 128 && m_updateBuffer[bufferPosition]->height == 32 && (m_updateBuffer[bufferPosition]->hasData || m_updateBuffer[bufferPosition]->hasSegData)) { int length = m_updateBuffer[bufferPosition]->width * m_updateBuffer[bufferPosition]->height;