Commit Graph

17158 Commits (527188391c825836c91bd26c4b953999eb8f2dde)
 

Author SHA1 Message Date
lat9nq 527188391c CMakeLists: Use bundled FFmpeg as a fallback
Sets YUZU_USE_BUNDLED_FFMPEG as a CMake dependent option that is OFF on
Linux and ON for WIN32 targets. If FFmpeg is not found when
YUZU_USE_BUNDLED_FFMPEG is OFF, the bundled module/binaries are used
instead.

Reverts earlier changes to FindFFmpeg a bit, mostly to keep parity with
it's Citra version a bit. Now _FFmpeg_ALL_COMPONENTS lists all
components. We overwrite FFmpeg_LIBRARIES and FFmpeg_INCLUDE_DIR after
using the module.
4 years ago
lat9nq 8b54e219c9 CMakeLists: Update to FFmpeg 4.3.1 for WIN32
Minimal binaries go brrrrrrr
4 years ago
lat9nq 830612ef9e CMakeLists: Fixes for linux-fresh
Tells CMake to look for either nasm or yasm as it is required to build
FFmpeg. Avoids a compile-time error by checking for it during
configuration.

Adds a workaround for Ubuntu Bionic's old version of make not
communicating jobserver details properly.
4 years ago
lat9nq b7e6eca8b2 Address reviewer comments 4 years ago
lat9nq 1d19eac415 CMake: Port citra-emu/citra FindFFmpeg.cmake
Also renames related CMake variables to match both the Find*FFmpeg* and
variables defined within the file. Fixes odd errors produced by the old
FindFFmpeg.

Citra's FindFFmpeg is slightly modified here: adds Citra's copyright at
the beginning, renames FFmpeg_INCLUDES to FFmpeg_INCLUDE_DIR, disables a
few components in _FFmpeg_ALL_COMPONENTS, and adds the missing avutil
component to the comment above.
4 years ago
lat9nq 0913aaa42a ci/windows: Copy downloaded FFmpeg libraries
Copies FFmpeg libraries that were downloaded during the CMake
configuration. Fixes dynamic linking issues with the MinGW builds.
4 years ago
lat9nq 47401016bf CMake: Implement YUZU_USE_BUNDLED_FFMPEG
For Linux, instructs CMake to use the FFmpeg submodule in externals.
This is HEAVILY based on our usage of the late Unicorn.  Minimal change
to MSVC as it uses the yuzu-emu/ext-windows-bin. MinGW now targets the
same ext-windows-bin libraries as MSVC for FFmpeg. Adds FFMPEG_LIBRARIES
to WIN32 and simplifies video_core/CMakeLists.txt a bit.
4 years ago
lat9nq 82dd376ba2 externals: Add submodule ffmpeg 4 years ago
bunnei 741dc13c5a
Merge pull request #5865 from lat9nq/conditionally-quiet
video_core: host_shaders: Don't pass --quiet to glslangValidator if unavailable
4 years ago
bunnei 00cb631b2f
Merge pull request #5876 from lioncash/truncation
k_affinity_mask: Avoid implicit truncation to bool
4 years ago
Lioncash 756365386a k_affinity_mask: Avoid implicit truncation to bool
This can cause compiler warnings. Instead, we can explicitly add a
boolean expression around it to naturally turn the result into a bool.
4 years ago
bunnei eb3afd30b1
Merge pull request #5874 from Morph1984/create-keys-dir
key_manager: Create the keys directory if it does not exist
4 years ago
Morph 806e2d7900 key_manager: Create the keys directory if it does not exist 4 years ago
bunnei b331bb5210
Merge pull request #5870 from german77/hanheldfix2
config: Always update handheld config
4 years ago
bunnei cde532cc52
Merge pull request #5863 from ogniK5377/disable-reverb
audren: Disable reverb for the time being
4 years ago
german c1b81f776c Always update handheld config 4 years ago
bunnei b0c9752663
Merge pull request #5848 from ogniK5377/k-resourcelimit
kernel: Rewrite resource limit to be more accurate
4 years ago
Chloe Marcec 2c6e940493 Simplify limitableresource names 4 years ago
bunnei 48d040fded
Merge pull request #5842 from german77/userfix
acc: Fix error when second user is selected
4 years ago
bunnei e5a76d728f
Merge pull request #5841 from german77/username
Avoid overwriting username
4 years ago
LC 82d232db46
Merge pull request #5866 from Morph1984/log-all-paths
settings: Log the cache, config and mod load directories
4 years ago
Morph 9137f3ec68 settings: Log the cache, config, and mod load directories 4 years ago
lat9nq fc43eac82a video_core: host_shaders: Don't pass --quiet to glslangValidator if unavailable
Prevents CMake from calling `glslangValidator` with `--quiet` when it is
not available, i.e. on older downstream versions from Ubuntu.
4 years ago
bunnei d4ebc9a120
Merge pull request #5861 from german77/HandheldFix
hid: Only update motion for npad and prevent over scheduling events
4 years ago
Chloe Marcec 64c3582705 Compile error 4 years ago
Chloe Marcec 9e4b2d60bc Address issues 4 years ago
LC 5e49b81d4d
Merge pull request #5864 from MerryMage/is-thumb
arm_dynarmic_32: Print out CPSR.T on exception
4 years ago
MerryMage 821fc4a7b6 arm_dynarmic_32: Print out CPSR.T on exception 4 years ago
bunnei f317b0d354
Merge pull request #5859 from Morph1984/nifm
nifm: Stub GetCurrentNetworkProfile and GetCurrentIpConfigInfo
4 years ago
Ameer J f614d7d887
Merge pull request #5856 from Morph1984/nifm-fix-getappletinfo-stub
nifm: Fix GetAppletInfo stub
4 years ago
Chloe Marcec 9fc7f60b94 audren: Disable reverb for the time being
As this is causing issues in a few games, it's best to have it disabled until it's completely implemented
4 years ago
bunnei 67d08f14af
Merge pull request #5858 from Morph1984/IsGamePlayRecordingSupported-stub
am/IApplicationFunctions: Stub IsGamePlayRecordingSupported
4 years ago
german 2489547dc5 Only update motion for npad and prevent over scheduling events 4 years ago
bunnei 1498ece290
Merge pull request #5860 from Morph1984/prepo-transmission-stub
prepo: Stub RequestImmediateTransmission and GetTransmissionStatus
4 years ago
Morph f7dc77e03a
Merge pull request #5846 from ameerj/analog-join
analog_from_button: Fix update_thread.join exception
4 years ago
Morph 8c7d89e6c7 nifm: Stub GetCurrentIpConfigInfo
- Used by Lets Sing 12
4 years ago
Morph 7d9465d47a prepo: Stub GetTransmissionStatus 4 years ago
Morph 2394807b42 prepo: Stub RequestImmediateTransmission
- Used by Animal Crossing: New Horizons
4 years ago
Morph 4bf1cf1f81 nifm: Stub GetCurrentNetworkProfile
- Used by Minecraft Bedrock Edition
- Used by Bloons TD 5
4 years ago
Morph 70a2065828 nifm: Add several structs 4 years ago
bunnei ec51f8de82
Merge pull request #5857 from Morph1984/bsd-fix-eventfd-stub
bsd: Fix EventFd stub
4 years ago
Morph 9f6b35e61f am/IApplicationFunctions: Stub IsGamePlayRecordingSupported
Used by RetroArch
4 years ago
Morph ded094a340 bsd: Fix EventFd stub 4 years ago
bunnei 1cc009a996
Merge pull request #5855 from Morph1984/bsd-fix-getsockopt-stub
bsd: Fix GetSockOpt stub
4 years ago
Morph 9914db8daa nifm: Fix GetAppletInfo stub 4 years ago
Morph 94f660d1cb
Merge pull request #5851 from ameerj/pop-inv-stub
am: Stub TryPopFromFriendInvitationStorageChannel
4 years ago
Morph 6cc769065d bsd: Fix GetSockOpt stub 4 years ago
bunnei 360ea64738
Merge pull request #5852 from ameerj/event-fd-stub
bsd: Stub EventFd
4 years ago
ameerj ad146eca60 bsd: Stub EventFd
Used by Family Feud
4 years ago
ameerj 99dcf7da21 am: Stub TryPopFromFriendInvitationStorageChannel
Used by Family Feud
4 years ago