Lioncash
2d48020ca5
core: Fix clang build pt.2
Resolves the clang build issue in a more unintrusive way.
5 years ago
LC
f1381f0249
Merge pull request #4814 from yuzu-emu/revert-4796-clang
Revert "core: Fix clang build"
5 years ago
bunnei
deb3536936
Revert "core: Fix clang build"
5 years ago
Lioncash
1367e8fb75
kernel: Fix build with recent compiler flag changes
This slipped through the cracks due to another change being merged
before the compiler flag changes.
5 years ago
LC
3dbefaa839
Merge pull request #4807 from ReinUsesLisp/glasm-robust-ssbo
gl_arb_decompiler: Implement robust buffer operations
5 years ago
LC
b02702a86a
Merge pull request #4796 from lioncash/clang
core: Fix clang build
5 years ago
bunnei
28b9805482
Merge pull request #4390 from ogniK5377/get-applet-inf-stub
nifm: GetAppletInfo stub
5 years ago
LC
bd5383ad7e
Merge pull request #4809 from Morph1984/mjolnir-p3
configure_input_player: Fix modifier buttons
5 years ago
bunnei
d49a2e305e
Merge pull request #4627 from Morph1984/fix-dinput-controller-disconnect
sdl_impl: Erase the SDLJoystick entry after removing a controller
5 years ago
Morph
6fa2144d90
configure_input_player: Fix modifier buttons
Fix them for real this time, now they finally work.
5 years ago
ReinUsesLisp
1f6b67df03
gl_arb_decompiler: Implement robust buffer operations
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.
5 years ago
David Marcec
b54f39b1d4
Added remaining params
5 years ago
David Marcec
83cb5a2c74
nifm: GetAppletInfo stub
Fixes crash for Catherine Full Body
6 years ago
bunnei
639ff00184
Merge pull request #4788 from ReinUsesLisp/lockfree-host-thread
kernel: Implement host thread register methods without locking
5 years ago
bunnei
b1883e0c5f
Merge pull request #4785 from Morph1984/fs-hades
filesystem: Fix CreateDirectory and DeleteFile
5 years ago
bunnei
a8368cfaac
Merge pull request #4204 from ReinUsesLisp/vulkan-1.0
renderer_vulkan: Create and properly use Vulkan 1.0 instances when 1.1 is not available
5 years ago
bunnei
8e2a35be16
Merge pull request #4802 from lioncash/bcat
core: Add boxcat sources with target_sources
5 years ago
bunnei
65569c049e
Merge pull request #4783 from bunnei/nvdrv-freespace
hle: service: nvdrv: Implement nvhost_as_gpu::FreeSpace.
5 years ago
Lioncash
a1b5ea953f
core: Add boxcat sources with target_sources
Same behavior, minus a script variable.
5 years ago
bunnei
91e384c640
Merge pull request #4801 from lioncash/missing-bound
mii/manager: Make use of unused lower bound in GetRandomValue()
5 years ago
bunnei
220f44891a
Merge pull request #4782 from ReinUsesLisp/remove-dyn-primitive
vk_graphics_pipeline: Manage primitive topology as fixed state
5 years ago
Lioncash
18636013c9
core: Fix clang build
Recent changes to the build system that made more warnings be flagged as
errors caused building via clang to break.
Fixes #4795
5 years ago
Lioncash
ab33132ccb
mii/manager: Make use of unused lower bound in GetRandomValue()
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.
5 years ago
bunnei
cf9baa19df
Merge pull request #4797 from bunnei/bcat-errors
service: bcat: Check client connection before interacting with socket.
5 years ago
bunnei
165b5dfff1
Merge pull request #4798 from lioncash/input-copy
udp/client: Take std::function by const reference with TestCommunication()
5 years ago
bunnei
bf6d4d3052
service: bcat: Check client connection before interacting with socket.
- Fixes a crash when BCAT service is offline.
5 years ago
Lioncash
c3c19060dd
udp/client: Make use of designated initializers in TestCommunication()
Same behavior, but makes the callback list nicer to look at.
5 years ago
Lioncash
3232d03657
udp/client: Take std::function by const reference with TestCommunication()
Avoids redundant copies.
5 years ago
Morph
7f475ec996
sdl_impl: Erase the SDLJoystick entry after removing a controller
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.
5 years ago
bunnei
e0cc7f3b6e
Merge pull request #4790 from lioncash/input-common
input_common/CMakeLists: Make some warnings errors
5 years ago
bunnei
1ccbb35400
Merge pull request #4784 from bunnei/cancelbuffer
hle: service: vi: Implement BufferQueue::CancelBuffer.
5 years ago
Lioncash
d44d662529
input_common/CMakeLists: Make some warnings errors
Makes the input_common code warnings consistent with the rest of the
codebase.
5 years ago
bunnei
4b8fc4dedf
Merge pull request #4793 from bunnei/storeopencontext
service: acc: Stub IManagerForApplication::StoreOpenContext.
5 years ago
bunnei
de8829370d
service: acc: Stub IManagerForApplication::StoreOpenContext.
- Used by Super Mario 3D All-Stars.
5 years ago
bunnei
490815bdcd
Merge pull request #4772 from goldenx86/block-rdna
vk_device: Block VK_EXT_extended_dynamic_state for RDNA devices
5 years ago
bunnei
cab012dd01
hle: service: vi: Implement BufferQueue::CancelBuffer.
- This is used by Super Mario 3D All-Stars.
5 years ago
bunnei
72df55f8a5
Merge pull request #4787 from lioncash/conversion
audio_core/CMakeLists: Make warnings consistent with core
5 years ago
ReinUsesLisp
a13623c68b
kernel: Implement host thread register methods without locking
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.
5 years ago
Lioncash
8452ec7d7b
audio_core/CMakeLists: Make warnings consistent with core
Normalizes the warnings shared between audio_core and core.
5 years ago
Rodrigo Locatti
1f39359b71
Merge pull request #4786 from lioncash/flags
core/CMakeLists: Make some warnings errors
5 years ago
Lioncash
16de0a6a96
core/CMakeLists: Make some warnings errors
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.
5 years ago
ReinUsesLisp
038503cd6b
vk_graphics_pipeline: Manage primitive topology as fixed state
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.
5 years ago
Morph
585838ca42
filesystem: Fix CreateDirectory and DeleteFile
Add a check if dir is nullptr (does not exist)
Fixes save game creation in Hades
5 years ago
bunnei
77bf864c94
Merge pull request #3929 from FearlessTobi/ticket-keys
file_sys/nsp: Make SetTicketKeys actually do something
5 years ago
bunnei
649a262f4e
hle: service: nvdrv: Implement nvhost_as_gpu::FreeSpace.
- This is used by Super Mario 3D All-Stars.
5 years ago
bunnei
3b5a3d11bf
Merge pull request #4766 from ReinUsesLisp/tmml-cube
shader/texture: Implement CUBE texture type for TMML and fix arrays
5 years ago
bunnei
11d9ec7ad3
Merge pull request #4775 from ReinUsesLisp/enforce-class-memaccess
video_core: Enforce -Wclass-memaccess
5 years ago
bunnei
7eaad002f5
Merge pull request #4757 from german77/BetterMotion
InputCommon: Add compatibility with only accelerometer and auto calibrate for drift
5 years ago
ReinUsesLisp
31c5fbd15d
video_core: Enforce -Wclass-memaccess
5 years ago
LC
8dfb152d3f
Merge pull request #4771 from ReinUsesLisp/warn-unused-var
video_core: Enforce -Wunused-variable and -Wunused-but-set-variable
5 years ago