Skip to content
Draft
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
2 changes: 1 addition & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
- name: Install Dependencies (Linux)
run: |-
sudo apt update
sudo apt install -y ninja-build llvm-${{ env.LLVM_VERSION }}-dev libgtk-3-dev \
sudo apt install -y ninja-build nasm llvm-${{ env.LLVM_VERSION }}-dev libgtk-3-dev \
libasound2-dev libpulse-dev libpipewire-0.3-dev libaudio-dev libjack-dev libsndio-dev \
libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxfixes-dev libxi-dev libxss-dev libxtst-dev \
libwayland-dev libdecor-0-dev libxkbcommon-dev \
Expand Down
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,3 @@
[submodule "thirdparty/plume"]
path = thirdparty/plume
url = https://github.com/renderbag/plume
[submodule "thirdparty/ffmpeg-core"]
path = thirdparty/ffmpeg-core
url = https://github.com/sonicnext-dev/ffmpeg-core
7 changes: 4 additions & 3 deletions MarathonRecomp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ set(MARATHON_RECOMP_GPU_CXX_SOURCES

set(MARATHON_RECOMP_APU_CXX_SOURCES
"apu/audio.cpp"
"apu/xma_decoder.cpp"
"apu/embedded_player.cpp"
"apu/host_pcm.cpp"
"apu/driver/sdl3_driver.cpp"
)

Expand Down Expand Up @@ -172,6 +172,7 @@ set(MARATHON_RECOMP_PATCHES_CXX_SOURCES
"patches/TitleTask_patches.cpp"
"patches/ui_toggle_listener.cpp"
"patches/video_patches.cpp"
"patches/xma_patches.cpp"
)

set(MARATHON_RECOMP_UI_CXX_SOURCES
Expand Down Expand Up @@ -392,6 +393,7 @@ if (MARATHON_RECOMP_FLATPAK)
endif()

find_package(CURL REQUIRED)
find_package(FFMPEG REQUIRED)

if (MARATHON_RECOMP_METAL)
target_compile_definitions(MarathonRecomp PRIVATE MARATHON_RECOMP_METAL)
Expand Down Expand Up @@ -443,11 +445,10 @@ target_link_libraries(MarathonRecomp PRIVATE
MarathonRecompLib
xxHash::xxhash
CURL::libcurl
${FFMPEG_LIBRARIES}
plume
)

target_link_libraries(MarathonRecomp PRIVATE ffmpeg)

target_include_directories(MarathonRecomp PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}
"${CMAKE_CURRENT_SOURCE_DIR}/api"
Expand Down
Loading
Loading