bunnei
379ef37035
hle: services: TimeZoneContentManager: This can be made explicit.
5 years ago
Rodrigo Locatti
7789416042
Merge pull request #4827 from lioncash/trunc
controller: Convert led_patterns integer literals to bool literals
5 years ago
Rodrigo Locatti
e790827d99
Merge pull request #4828 from lioncash/lockguard
general: Use template deduction guides for lock_guard
5 years ago
Lioncash
59a56fa810
general: Use template deduction guides for lock_guard
Same behavior, less code.
5 years ago
Lioncash
652c36ef9c
controller: Convert led_patterns integer literals to bool literals
'bool' isn't always guaranteed to be the same size as an int, so this
can technically cause truncation warnings if we support other platforms.
5 years ago
LC
3529d28c7b
Merge pull request #4826 from Morph1984/resolve-warning
applets/profile_select: Resolve a warning in exec()
5 years ago
Morph
5bdd042c3e
applets/profile_select: Resolve a warning in exec()
Resolves a warning where not all control paths return a value.
5 years ago
bunnei
8cc9486364
Merge pull request #4817 from Kewlan/open-single-save-location
main/profile_select: Don't ask for profile when there's only one.
5 years ago
LC
f27bee6a7b
Merge pull request #4816 from Morph1984/controller-disconnect-fix
sdl_impl: Fix controller reconnection issues
5 years ago
bunnei
8d2916a15c
Merge pull request #4706 from ReinUsesLisp/cmake-host-shaders
video_core: Fix instances where msbuild always regenerated host shaders
5 years ago
bunnei
8246151e3a
Merge pull request #4792 from bunnei/rtc-fix
service: time: Update current time with changes to RTC setting.
5 years ago
Kewlan
2204839317
Don't ask for profile when there's only one.
5 years ago
Lioncash
c7b6027f34
core: Fix clang build pt.3
Should finally resolve building with clang.
5 years ago
Morph
62e0851476
sdl_impl: Fix controller reconnection issues
It turns out that after a controller is disconnected, there is a chance that events from the previous controller are sent/processed after it has been disconnected.
This causes the previously disconnected controller to reappear as connected due to GetSDLJoystickBySDLID() emplacing this controller back to the map.
Fix this by only returning an SDLJoystick if and only if it exists in the map.
5 years ago
bunnei
2a54a39e0c
Merge pull request #4811 from lioncash/warn-video
video_core: Conditially activate relevant compiler warnings
5 years ago
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
09a096c6ff
video_core: Conditially activate relevant compiler warnings
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.
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