summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-10-20Merge pull request #4811 from lioncash/warn-videobunnei
video_core: Conditially activate relevant compiler warnings
2020-10-20core: Fix clang build pt.2Lioncash
Resolves the clang build issue in a more unintrusive way.
2020-10-20Revert "core: Fix clang build"bunnei
2020-10-20video_core: Conditially activate relevant compiler warningsLioncash
These compiler flags aren't shared with clang, so specifying these flags unconditionally can lead to a bit of warning spam. While we're in the area, we can also enable -Wunused-but-set-parameter given this is almost always a bug.
2020-10-20kernel: Fix build with recent compiler flag changesLioncash
This slipped through the cracks due to another change being merged before the compiler flag changes.
2020-10-20Merge pull request #4807 from ReinUsesLisp/glasm-robust-ssboLC
gl_arb_decompiler: Implement robust buffer operations
2020-10-20Merge pull request #4796 from lioncash/clangLC
core: Fix clang build
2020-10-20Merge pull request #4390 from ogniK5377/get-applet-inf-stubbunnei
nifm: GetAppletInfo stub
2020-10-20Merge pull request #4809 from Morph1984/mjolnir-p3LC
configure_input_player: Fix modifier buttons
2020-10-20Merge pull request #4627 from Morph1984/fix-dinput-controller-disconnectbunnei
sdl_impl: Erase the SDLJoystick entry after removing a controller
2020-10-20configure_input_player: Fix modifier buttonsMorph
Fix them for real this time, now they finally work.
2020-10-20gl_arb_decompiler: Implement robust buffer operationsReinUsesLisp
This emulates the behavior we get on GLSL with regular SSBOs with a pointer + length pair. It aims to be consistent with the crashes we might get. Out of bounds stores are ignored. Atomics are ignored and return zero. Reads return zero.
2020-10-20Added remaining paramsDavid Marcec
2020-10-20nifm: GetAppletInfo stubDavid Marcec
Fixes crash for Catherine Full Body
2020-10-19Merge pull request #4788 from ReinUsesLisp/lockfree-host-threadbunnei
kernel: Implement host thread register methods without locking
2020-10-19Merge pull request #4785 from Morph1984/fs-hadesbunnei
filesystem: Fix CreateDirectory and DeleteFile
2020-10-19Merge pull request #4204 from ReinUsesLisp/vulkan-1.0bunnei
renderer_vulkan: Create and properly use Vulkan 1.0 instances when 1.1 is not available
2020-10-19Merge pull request #4802 from lioncash/bcatbunnei
core: Add boxcat sources with target_sources
2020-10-18Merge pull request #4783 from bunnei/nvdrv-freespacebunnei
hle: service: nvdrv: Implement nvhost_as_gpu::FreeSpace.
2020-10-18core: Add boxcat sources with target_sourcesLioncash
Same behavior, minus a script variable.
2020-10-17Merge pull request #4801 from lioncash/missing-boundbunnei
mii/manager: Make use of unused lower bound in GetRandomValue()
2020-10-17Merge pull request #4782 from ReinUsesLisp/remove-dyn-primitivebunnei
vk_graphics_pipeline: Manage primitive topology as fixed state
2020-10-17core: Fix clang buildLioncash
Recent changes to the build system that made more warnings be flagged as errors caused building via clang to break. Fixes #4795
2020-10-17mii/manager: Make use of unused lower bound in GetRandomValue()Lioncash
Previously, the lower bound wasn't being used and zero was being used as the lower bound every time this function was called. This affects the outcome of some of the randomized entries a little bit, for example, the lower-bound for beard and mustache flags was supposed to be 1, not 0. Aside from these cases, the bug didn't affect anything else.
2020-10-16Merge pull request #4797 from bunnei/bcat-errorsbunnei
service: bcat: Check client connection before interacting with socket.
2020-10-16service: bcat: Check client connection before interacting with socket.bunnei
- Fixes a crash when BCAT service is offline.
2020-10-16udp/client: Make use of designated initializers in TestCommunication()Lioncash
Same behavior, but makes the callback list nicer to look at.
2020-10-16udp/client: Take std::function by const reference with TestCommunication()Lioncash
Avoids redundant copies.
2020-10-16sdl_impl: Erase the SDLJoystick entry after removing a controllerMorph
Previously, disconnecting a controller still leaves a null SDLJoystick entry within the vector of SDLJoysticks mapped by GUID. When a DirectInput device of the same GUID is reconnected, it adds that device to a new port causing non-detectable input. Furthermore, opening the "Configure" menu would cause yuzu to crash since it first tries to resolve the name of a null SDLJoystick entry that was not removed. Resolve this by properly erasing the SDLJoystick entry from the vector.
2020-10-15Merge pull request #4790 from lioncash/input-commonbunnei
input_common/CMakeLists: Make some warnings errors
2020-10-15Merge pull request #4784 from bunnei/cancelbufferbunnei
hle: service: vi: Implement BufferQueue::CancelBuffer.
2020-10-15input_common/CMakeLists: Make some warnings errorsLioncash
Makes the input_common code warnings consistent with the rest of the codebase.
2020-10-14service: acc: Stub IManagerForApplication::StoreOpenContext.bunnei
- Used by Super Mario 3D All-Stars.
2020-10-14Merge pull request #4772 from goldenx86/block-rdnabunnei
vk_device: Block VK_EXT_extended_dynamic_state for RDNA devices
2020-10-13hle: service: vi: Implement BufferQueue::CancelBuffer.bunnei
- This is used by Super Mario 3D All-Stars.
2020-10-13kernel: Implement host thread register methods without lockingReinUsesLisp
Locks on GetCurrentHostThreadID were causing performance issues according to Visual Studio's profiler. It was consuming twice the time as arm_interface.Run(). The cost was not in the function itself but in the lockinig it required. Reimplement these functions using atomics and static storage instead of an unordered_map. This is a side effect to avoid locking and using linked lists for reads. Replace unordered_map with a linear search.
2020-10-13audio_core/CMakeLists: Make warnings consistent with coreLioncash
Normalizes the warnings shared between audio_core and core.
2020-10-13core/CMakeLists: Make some warnings errorsLioncash
Makes our error coverage a little more consistent across the board by applying it to Linux side of things as well. This also makes it more consistent with the warning settings in other libraries in the project. This also updates httplib to 0.7.9, as there are several warning cleanups made that allow us to enable several warnings as errors.
2020-10-13vk_graphics_pipeline: Manage primitive topology as fixed stateReinUsesLisp
Vulkan has requirements for primitive topologies that don't play nicely with yuzu's. Since it's only 4 bits, we can move it to fixed state without changing the size of the pipeline key. - Fixes a regression on recent Nvidia drivers on Fire Emblem: Three Houses.
2020-10-13filesystem: Fix CreateDirectory and DeleteFileMorph
Add a check if dir is nullptr (does not exist) Fixes save game creation in Hades
2020-10-12Merge pull request #3929 from FearlessTobi/ticket-keysbunnei
file_sys/nsp: Make SetTicketKeys actually do something
2020-10-12hle: service: nvdrv: Implement nvhost_as_gpu::FreeSpace.bunnei
- This is used by Super Mario 3D All-Stars.
2020-10-12Merge pull request #4766 from ReinUsesLisp/tmml-cubebunnei
shader/texture: Implement CUBE texture type for TMML and fix arrays
2020-10-09Merge pull request #4775 from ReinUsesLisp/enforce-class-memaccessbunnei
video_core: Enforce -Wclass-memaccess
2020-10-09Merge pull request #4757 from german77/BetterMotionbunnei
InputCommon: Add compatibility with only accelerometer and auto calibrate for drift
2020-10-09video_core: Enforce -Wclass-memaccessReinUsesLisp
2020-10-08Merge pull request #4771 from ReinUsesLisp/warn-unused-varLC
video_core: Enforce -Wunused-variable and -Wunused-but-set-variable
2020-10-08vk_device: Block VK_EXT_extended_dynamic_state for RDNA devicesgoldenx86
RDNA devices seem to crash when using VK_EXT_extended_dynamic_state in the latest 20.9.2 proprietary Windows drivers. As a workaround, for now we block device names corresponding to current RDNA released products.
2020-10-08Merge pull request #4677 from german77/ShakeFromButtonbunnei
InputCommon: Add random motion input for buttons
2020-10-08Merge pull request #4765 from ReinUsesLisp/fix-sort-devicesRodrigo Locatti
renderer_vulkan/wrapper: Fix physical device sorting