Commit Graph

17368 Commits (51fb0a6f9647ba199da10fe4f018ee36e44e65ba)
 

Author SHA1 Message Date
bunnei 51fb0a6f96 core: Switch to unique_ptr for usage of Common::Fiber.
- With using unique_ptr instead of shared_ptr, we have more explicit ownership of the context.
- Fixes a memory leak due to circular reference of the shared pointer.
4 years ago
bunnei 09f7c355c6
Merge pull request #5953 from bunnei/memory-refactor-1
Kernel Rework: Memory updates and refactoring (Part 1)
4 years ago
bunnei bfa1644464
Merge pull request #5944 from Morph1984/gc-vibrations
hid: Implement GameCube Controller Vibrations
4 years ago
bunnei 272bc4c3d6
Merge pull request #5997 from Kelebek1/Depth
[OpenGL] Implement glDepthRangeIndexeddNV
4 years ago
bunnei 1ba578c4aa
Merge pull request #5977 from Morph1984/stub-acc
acc: Stub GetNintendoAccountUserResourceCacheForApplication
4 years ago
Kelebek1 d31dbb1bc1 Implement glDepthRangeIndexeddNV 4 years ago
LC ae876ed047
Merge pull request #5981 from lat9nq/ci-add-clang
ci: Add clang build scripts
4 years ago
lat9nq fb0b4c7e27 ci: Add clang build scripts
Adds scripts that instruct CI to build yuzu with the installed Clang
compiler on yuzuemu/build-environments:linux-fresh.

These scripts are based on the .ci/scripts/linux scripts, minus AppImage
building since that isn't necessary. Re-uses linux-fresh since that
container has Clang 12 installed.
4 years ago
bunnei 20245e660f
Merge pull request #5936 from Kelebek1/Offsets
Offsets for TexelFetch and TextureGather in Vulkan
4 years ago
Morph ec19a85890 hid: Implement GameCube Controller Vibrations
Implements both SendVibrationGcErmCommand and GetActualVibrationGcErmCommand, and modifies GetVibrationDeviceInfo to account for additional controllers.
4 years ago
Morph 3de8e7a8f2 acc: Stub GetNintendoAccountUserResourceCacheForApplication
This command returns a Nintendo Account ID and writes 2 output buffers. The first output buffer is a NasUserBaseForApplication and the second output buffer is currently empty.

Used by:
- Pokken Tournament DX
- Super Smash Bros. Ultimate
- Super Nintendo Entertainment System - Nintendo Switch Online
- Mario Kart 8 Deluxe
4 years ago
bunnei 3d0394681c
Merge pull request #5971 from ameerj/reslimit-dtor
kernel: Fix resource release exception on exit
4 years ago
ameerj 8e4c9c9852 kernel: Fix resource release exception on exit
After rewriting the resource limit, objects releasing reserved resources require a live kernel instance.
This commit fixes exceptions that occur due to the kernel being destroyed before some objects released their resources, allowing for a graceful exit.
4 years ago
Ameer J 2807a98168
Merge pull request #5965 from Morph1984/shader-count
gl_disk_shader_cache: Log total shader entries count on game load
4 years ago
Morph 1a5d4d7840 gl_disk_shader_cache: Log total shader entries count on game load 4 years ago
bunnei def03d4075
Merge pull request #5964 from bunnei/timing-fix
common: wall_clock: Fix integer overflow with StandardWallClock.
4 years ago
bunnei 3acb265c9e common: wall_clock: Fix integer overflow with StandardWallClock.
- Previous optimized impl. resulted in an integer overflow, so revert.
- This is our slow/fallback path that should never be really be used, so the optimization in unimportant.
4 years ago
bunnei 728ee181eb
Merge pull request #5924 from ReinUsesLisp/inline-bindings
vk_update_descriptor: Inline and improve code for binding buffers
4 years ago
bunnei 93e20867b0 hle: kernel: Migrate PageHeap/PageTable to KPageHeap/KPageTable. 4 years ago
bunnei b1e27890e8 hle: kernel: Migrate MemoryManager to KMemoryManager. 4 years ago
bunnei 93109c870e hle: kernel: Migrate PageLinkedList to KPageLinkedList. 4 years ago
bunnei 65e0178cc0 hle: kernel: Migrate to KMemoryBlock, KMemoryBlockManager, and others. 4 years ago
bunnei 9e520e8f12 hle: kernel: Migrate SlabHeap to KSlabHeap. 4 years ago
bunnei 1d162f28d1 hle: kernel: Migrate MemoryLayout to KMemoryLayout. 4 years ago
bunnei 7ed5dd0d62 hle: kernel: Migrate AddressSpaceInfo to KAddressSpaceInfo. 4 years ago
bunnei 701ef616b2 hle: kernel: memory_manager: Rename AllocateContinuous to AllocateContinuous. 4 years ago
bunnei f7a008d77f hle: kernel: KSystemControl does not belong in Memory namespace. 4 years ago
bunnei 6a19086001 hle: kernel: memory: PageHeap: Migrate to KPageBitmap class. 4 years ago
bunnei a02566136c hle: kernel: Add KPageBitmap class. 4 years ago
bunnei e7c33d1ad6 hle: kernel: system_control: Add function GenerateRandomU64. 4 years ago
bunnei c9235764c7 common: Add implementation of TinyMT (Mersenne Twister RNG). 4 years ago
bunnei 6da91da08e hle: kernel: Add KSpinLock implementation. 4 years ago
bunnei 24e1e17a8a core: memory: Add templated GetPointer methods. 4 years ago
bunnei b5b92fd1e5 common: alignment: Add DivideUp utility method. 4 years ago
bunnei 0d62f30b00 hle: kernel: Rename SharedMemory to KSharedMemory. 4 years ago
bunnei 51e8b2733c
Merge pull request #5957 from lat9nq/update-dynarmic
externals: Update dynarmic to latest
4 years ago
bunnei 9cae3e6e90
Merge pull request #4973 from ameerj/nvdec-opt
nvdec: Reuse allocated buffers and general cleanup
4 years ago
lat9nq 0c24ae300c externals: Update dynarmic to latest
Updates dynarmic to its latest commit. Includes a fix for argument
limits while compiling with Clang 12.
4 years ago
Morph 6686468df0
Merge pull request #5955 from yuzu-emu/revert-3603-port-5123
Revert "Port citra-emu/citra#5123: "SDL: Disable hidapi drivers due to compatibility problems with certain controllers""
4 years ago
Morph 1c550ff954
Revert "Port citra-emu/citra#5123: "SDL: Disable hidapi drivers due to compatibility problems with certain controllers"" 4 years ago
LC c864f2c532
Merge pull request #5952 from ReinUsesLisp/cityhash
common/cityhash: Use common types
4 years ago
LC 90f93a408a
Merge pull request #5954 from lat9nq/ffmpeg-431-2
cmake: Update FFmpeg to 4.3.1
4 years ago
ReinUsesLisp f3805376f7 common/cityhash: Use common types
Allow sharing return types with the rest of the code base. For example,
we use 'u128 = std::array<u64, 2>', meanwhile Google's code uses
'uint128 = std::pair<u64, u64>'.

While we are at it, use size_t instead of std::size_t.
4 years ago
ReinUsesLisp 9ca5e52f07 tests: Add tests for CityHash 4 years ago
bunnei 6be0975bf2
Merge pull request #5121 from bunnei/optimize-core-timing
core: Optimize core timing utility functions to avoid unnecessary math
4 years ago
Morph 723e038dba
Merge pull request #5929 from german77/mousePanning
Improve mouse panning
4 years ago
bunnei aaccb21f81
Merge pull request #4298 from FearlessTobi/remove-cache-setting
yuzu/configure_filesystem: Remove "Select Cache Directory" option
4 years ago
LC df1a9d09a9
Merge pull request #5942 from ReinUsesLisp/fixup-rebase
vk_rasterizer: Fix loading shader addresses twice
4 years ago
ReinUsesLisp 24d0cc3ab8 vk_rasterizer: Fix loading shader addresses twice
This was recently introduced on a wrongly rebased commit.
4 years ago
bunnei 86212d4bcd
Merge pull request #3603 from FearlessTobi/port-5123
Port citra-emu/citra#5123: "SDL: Disable hidapi drivers due to compatibility problems with certain controllers"
4 years ago