Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions platforms/android/arm64-v8a/external.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ cd ..
# build libserum and copy to external
#

curl -sL https://github.com/zesinger/libserum/archive/${LIBSERUM_SHA}.tar.gz -o libserum-${LIBSERUM_SHA}.tar.gz
curl -sL https://github.com/PPUC/libserum_concentrate/archive/${LIBSERUM_SHA}.tar.gz -o libserum-${LIBSERUM_SHA}.tar.gz
tar xzf libserum-${LIBSERUM_SHA}.tar.gz
mv libserum-${LIBSERUM_SHA} libserum
mv libserum_concentrate-${LIBSERUM_SHA} libserum
cd libserum
cmake \
-DPLATFORM=android \
Expand Down
2 changes: 1 addition & 1 deletion platforms/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e

LIBZEDMD_SHA=154772800e8f36378c629f066bfee563862728ac
LIBSERUM_SHA=b0cc2a871d9d5b6395658c56c65402ae388eb78c
LIBSERUM_SHA=708183391968307e1b45f9e60cf033fdd1d31f7d
LIBPUPDMD_SHA=124f45e5ddd59ceb339591de88fcca72f8c54612

if [ -z "${BUILD_TYPE}" ]; then
Expand Down
4 changes: 2 additions & 2 deletions platforms/ios-simulator/arm64/external.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ cd ..
# build libserum and copy to external
#

curl -sL https://github.com/zesinger/libserum/archive/${LIBSERUM_SHA}.tar.gz -o libserum-${LIBSERUM_SHA}.tar.gz
curl -sL https://github.com/PPUC/libserum_concentrate/archive/${LIBSERUM_SHA}.tar.gz -o libserum-${LIBSERUM_SHA}.tar.gz
tar xzf libserum-${LIBSERUM_SHA}.tar.gz
mv libserum-${LIBSERUM_SHA} libserum
mv libserum_concentrate-${LIBSERUM_SHA} libserum
cd libserum
cmake \
-DPLATFORM=ios-simulator \
Expand Down
4 changes: 2 additions & 2 deletions platforms/ios/arm64/external.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ cd ..
# build libserum and copy to external
#

curl -sL https://github.com/zesinger/libserum/archive/${LIBSERUM_SHA}.tar.gz -o libserum-${LIBSERUM_SHA}.tar.gz
curl -sL https://github.com/PPUC/libserum_concentrate/archive/${LIBSERUM_SHA}.tar.gz -o libserum-${LIBSERUM_SHA}.tar.gz
tar xzf libserum-${LIBSERUM_SHA}.tar.gz
mv libserum-${LIBSERUM_SHA} libserum
mv libserum_concentrate-${LIBSERUM_SHA} libserum
cd libserum
cmake \
-DPLATFORM=ios \
Expand Down
4 changes: 2 additions & 2 deletions platforms/linux/aarch64/external.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ cd ..
# build libserum and copy to external
#

curl -sL https://github.com/zesinger/libserum/archive/${LIBSERUM_SHA}.tar.gz -o libserum-${LIBSERUM_SHA}.tar.gz
curl -sL https://github.com/PPUC/libserum_concentrate/archive/${LIBSERUM_SHA}.tar.gz -o libserum-${LIBSERUM_SHA}.tar.gz
tar xzf libserum-${LIBSERUM_SHA}.tar.gz
mv libserum-${LIBSERUM_SHA} libserum
mv libserum_concentrate-${LIBSERUM_SHA} libserum
cd libserum
cmake \
-DPLATFORM=linux \
Expand Down
4 changes: 2 additions & 2 deletions platforms/linux/x64/external.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ cd ..
# build libserum and copy to external
#

curl -sL https://github.com/zesinger/libserum/archive/${LIBSERUM_SHA}.tar.gz -o libserum-${LIBSERUM_SHA}.tar.gz
curl -sL https://github.com/PPUC/libserum_concentrate/archive/${LIBSERUM_SHA}.tar.gz -o libserum-${LIBSERUM_SHA}.tar.gz
tar xzf libserum-${LIBSERUM_SHA}.tar.gz
mv libserum-${LIBSERUM_SHA} libserum
mv libserum_concentrate-${LIBSERUM_SHA} libserum
cd libserum
cmake \
-DPLATFORM=linux \
Expand Down
4 changes: 2 additions & 2 deletions platforms/macos/arm64/external.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ cd ..
# build libserum and copy to external
#

curl -sL https://github.com/zesinger/libserum/archive/${LIBSERUM_SHA}.tar.gz -o libserum-${LIBSERUM_SHA}.tar.gz
curl -sL https://github.com/PPUC/libserum_concentrate/archive/${LIBSERUM_SHA}.tar.gz -o libserum-${LIBSERUM_SHA}.tar.gz
tar xzf libserum-${LIBSERUM_SHA}.tar.gz
mv libserum-${LIBSERUM_SHA} libserum
mv libserum_concentrate-${LIBSERUM_SHA} libserum
cd libserum
cmake \
-DPLATFORM=macos \
Expand Down
4 changes: 2 additions & 2 deletions platforms/macos/x64/external.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ cd ..
# build libserum and copy to external
#

curl -sL https://github.com/zesinger/libserum/archive/${LIBSERUM_SHA}.tar.gz -o libserum-${LIBSERUM_SHA}.tar.gz
curl -sL https://github.com/PPUC/libserum_concentrate/archive/${LIBSERUM_SHA}.tar.gz -o libserum-${LIBSERUM_SHA}.tar.gz
tar xzf libserum-${LIBSERUM_SHA}.tar.gz
mv libserum-${LIBSERUM_SHA} libserum
mv libserum_concentrate-${LIBSERUM_SHA} libserum
cd libserum
cmake \
-DPLATFORM=macos \
Expand Down
4 changes: 2 additions & 2 deletions platforms/tvos/arm64/external.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ cd ..
# build libserum and copy to external
#

curl -sL https://github.com/zesinger/libserum/archive/${LIBSERUM_SHA}.tar.gz -o libserum-${LIBSERUM_SHA}.tar.gz
curl -sL https://github.com/PPUC/libserum_concentrate/archive/${LIBSERUM_SHA}.tar.gz -o libserum-${LIBSERUM_SHA}.tar.gz
tar xzf libserum-${LIBSERUM_SHA}.tar.gz
mv libserum-${LIBSERUM_SHA} libserum
mv libserum_concentrate-${LIBSERUM_SHA} libserum
cd libserum
cmake \
-DPLATFORM=tvos \
Expand Down
4 changes: 2 additions & 2 deletions platforms/win/x64/external.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ cd ..
# build libserum and copy to external
#

curl -sL https://github.com/zesinger/libserum/archive/${LIBSERUM_SHA}.tar.gz -o libserum-${LIBSERUM_SHA}.tar.gz
curl -sL https://github.com/PPUC/libserum_concentrate/archive/${LIBSERUM_SHA}.tar.gz -o libserum-${LIBSERUM_SHA}.tar.gz
tar xzf libserum-${LIBSERUM_SHA}.tar.gz
mv libserum-${LIBSERUM_SHA} libserum
mv libserum_concentrate-${LIBSERUM_SHA} libserum
cd libserum
cmake \
-G "Visual Studio 17 2022" \
Expand Down
4 changes: 2 additions & 2 deletions platforms/win/x86/external.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ cd ..
# build libserum and copy to external
#

curl -sL https://github.com/zesinger/libserum/archive/${LIBSERUM_SHA}.tar.gz -o libserum-${LIBSERUM_SHA}.tar.gz
curl -sL https://github.com/PPUC/libserum_concentrate/archive/${LIBSERUM_SHA}.tar.gz -o libserum-${LIBSERUM_SHA}.tar.gz
tar xzf libserum-${LIBSERUM_SHA}.tar.gz
mv libserum-${LIBSERUM_SHA} libserum
mv libserum_concentrate-${LIBSERUM_SHA} libserum
cd libserum
cmake \
-G "Visual Studio 17 2022" \
Expand Down
8 changes: 4 additions & 4 deletions src/DMD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -836,10 +836,10 @@ void DMD::SerumThread()
}

if (m_altColorPath[0] == '\0') strcpy(m_altColorPath, Config::GetInstance()->GetAltColorPath());

m_pSerum = (name[0] != '\0')
? Serum_Load(m_altColorPath, m_romName, FLAG_REQUEST_32P_FRAMES | FLAG_REQUEST_64P_FRAMES)
: nullptr;
uint8_t flags = FLAG_REQUEST_32P_FRAMES;
// At the moment, ZeDMD HD is the only device supporting 64P frames. Not requesting 64P saves memory
if (m_pZeDMD && m_pZeDMD->GetWidth() == 256) flags |= FLAG_REQUEST_64P_FRAMES;
m_pSerum = (name[0] != '\0') ? Serum_Load(m_altColorPath, m_romName, flags) : nullptr;
if (m_pSerum)
{
Log(DMDUtil_LogLevel_INFO, "Loaded Serum v%d colorization for %s", m_pSerum->SerumVersion, m_romName);
Expand Down