bunnei
346bfb6c47
hle: service: kernel_helpers: Remove unnecessary pragma once.
5 years ago
bunnei
f3db3dcc8d
hle: kernel: svc: Remove part of ExitProcess.
- ExitProcess is not actually implemented either way, and this needs more work before we implement.
5 years ago
bunnei
185b19fd5b
hle: service: nvdrv: Remove unused kernel reference.
5 years ago
bunnei
6c6e730e9a
hle: service: hid: npad: Remove unused kernel reference.
5 years ago
bunnei
52caa52cc2
hle: kernel: Track and release server sessions, and protect methods with locks.
5 years ago
bunnei
8d755147d8
hle: kernel: KProcess: Change process termination assert to a warning.
- Since we do not implement multiprocess right now, this should not be a crashing assert.
5 years ago
bunnei
854c7a3c28
hle: kernel: Ensure current running process is closed.
5 years ago
bunnei
ecf3653444
hle: kernel: Ensure global handle table is finalized before closing.
5 years ago
bunnei
24540e0ad9
kernel: svc: ConnectToNamedPort: Close extra reference to port.
5 years ago
bunnei
7bd020e030
hle: service: sm: Refactor to better manage ports.
5 years ago
bunnei
b119363fc2
hle: kernel: k_process: Close the handle table on shutdown.
5 years ago
bunnei
6020723e77
hle: kernel: k_process: Close main thread reference after it is inserted into handle table.
5 years ago
bunnei
fe402d3506
hle: kernel: Ensure global handle table is initialized.
5 years ago
bunnei
015058fadf
hle: service: Add a helper module for managing kernel objects.
5 years ago
bunnei
929994132a
hle: kernel: Provide methods for tracking dangling kernel objects.
5 years ago
ReinUsesLisp
a0c4557557
gl_buffer_cache: Use glClearNamedBufferSubData:GL_RED instead of GL_RGBA
Avoids reading out of bounds from the stack.
5 years ago
ReinUsesLisp
6e2ca7fbee
buffer_cache: Simplify clear logic
Use existing helper functions and avoid looping when
only one buffer has to be active.
5 years ago
ReinUsesLisp
ad189488b3
vk_texture_cache: Use VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL when possible
Silences performance warnings generated from validation layers on each frame.
5 years ago
ReinUsesLisp
2e2d6cf5e5
gl_texture_cache: Workaround slow PBO downloads on radeonsi
There's an optimization bug on non-git mesa versions where not
specifying GL_CLIENT_STORAGE_BIT causes very slow reads on the CPU
side.
Add this bit for all vendors.
5 years ago
Chloe Marcec
75e9d3b992
uuid: Directly compare UUID instead of checking per element
We can now update this for C++20
5 years ago
Fernando S
9a26d96c98
vk_buffer_cache: Fix quad index array with 0 vertices ( #6627 )
5 years ago
Nicolas Jallamion
6573ff64b4
input/sdl_impl: fix rumble support on DualSense. ( #6683 )
- value return can be different 0, is not error is normal, error is only -1.
5 years ago
Morph
9b7e57f3f4
applet_controller: Add preliminary support for version 8
Version 8 adds support for key remapping introduced in FW 11.0, we will not be implementing this for now.
5 years ago
Morph
747a33a41e
bootmanager: Create a dummy render widget
This ensures that Qt positions the render window at the correct position on initializing the respective render backends.
5 years ago
Feng Chen
07073734ed
file_sys: Support load game collection ( #6582 )
Adds support for loading games with multiple programs embedded within such as the Dragon Quest 1+2+3 Collection
5 years ago
yzct12345
03a7131563
Update src/video_core/renderer_vulkan/vk_texture_cache.cpp
Co-authored-by: Vitor K <vitor-kiguchi@hotmail.com>
5 years ago
yzct12345
b727b6784f
Update src/video_core/renderer_vulkan/vk_texture_cache.cpp
Co-authored-by: Vitor K <vitor-kiguchi@hotmail.com>
5 years ago
yzct12345
9e7f41cec6
Ignore wrong blit format
5 years ago
ReinUsesLisp
29c39838fe
vk_texture_cache: Finalize renderpass when downloading images
5 years ago
ReinUsesLisp
7850dd0a76
vk_compute_pass: Fix pipeline barriers on non-initialized ASTC images
5 years ago
ReinUsesLisp
a3ce26ae01
vk_compute_pass: Fix ASTC buffer setup synchronization
5 years ago
ReinUsesLisp
6d9f347e22
texture_cache/util: Fix size calculations of multisampled images
On the texture cache we handle multisampled images by keeping their real
size in samples (e.g. 1920x1080 with 4 samples is 3840x2160).
This works nicely with size matches and other comparisons, but the
calculation for guest sizes was not having this in mind, and the size
was being multiplied (again) by the number of samples per dimension.
For example a 3840x2160 texture cache image had its width and height
multiplied by 2, resulting in a much larger texture.
Fix this issue.
- Fixes performance regression on cooking related titles when an
unrelated bug was fixed.
5 years ago
ReinUsesLisp
cb08e5bdd2
texture_cache: Always prepare image views on render targets
Images used as render targets were not being "prepared", causing
desynchronizations on the texture cache. Needs #6669 to avoid
performance regressions on certain cooking titles.
- Fixes black shadows on Age of Calamity.
5 years ago
german77
2c339a5114
configure/ui: Add sliders for trigger buttons
5 years ago
german77
14d5202da6
input_common: Fix mouse panning behaivour
5 years ago
lat9nq
f785933125
sdl_impl, emu_window: Remove clang ignore
Fixed upstream by
libsdl-org/SDL@25fc40b0bd44c484051064bc6b945ea9943f88dd
5 years ago
lat9nq
0e6ba0cd0d
emu_window_sdl2_vk: Specify the window manager if it should be supported
The original language "not implemented" is wrong if the implementation
exists but is not compiled. This causes a bit of a debugging headache
when it goes wrong. Log it if the window manager is known before
exiting.
5 years ago
lat9nq
d3748cad73
emu_window_sdl2_vk: Use the generated SDL config
On Linux, due to the way we include SDL2 as a submodule, it makes it
difficult for us to specify which SDL_config.h we intended to include.
Before, CMake would default to the dummy one included with SDL and
ignore the generated one.
This tells CMake to use the generated one. In addition, we define
USING_GENERATED_CONFIG_H to throw an error in case the dummy config is
used by accident. Fixes Vulkan not working on Linux yuzu-cmd.
5 years ago
Morph
b804f77fa5
configure_audio: Fix volume clamping to 0
5 years ago
lat9nq
15ed73a6eb
yuzu_cmd: Add missing or update current settings
Many settings in common/settings.h are missing from yuzu-cmd, either
they were added to default_ini.h but not read in, or vice versa, or the
setting was altogether omitted from yuzu-cmd. Some defaults were
reported wrong, so those were fixed where noticed.
5 years ago
german77
240019feca
input_common: Make button threshold customizable
5 years ago
lat9nq
7dfd2715b7
default_ini: Remove deprecated settings
These settings are not being read in config.cpp AND they do not exist in
common/settings.h. Remove their references.
5 years ago
german77
c7478642a6
input_common: Support SDL toggle buttons
5 years ago
ameerj
b7fa264749
vic: Fix dimension compuation of YUV frames
Fixes out of bound memory crashes in Mario Golf
5 years ago
Morph
0d88a2bc05
applets/web: Resolve Nintendo CDN URLs
This fixes the hint videos in New Super Mario Bros. U Deluxe
5 years ago
ameerj
8943f2158d
nvhost_nvdec_common: Read Submit ioctl data from object addr
Fixes Mario Golf intro video decoding.
5 years ago
ameerj
3f601ed8bc
nvhost_nvdec_common: Fix {Slice/Write}Vectors return
Plus some minor cleanup for consistency.
5 years ago
Fernando Sahmkow
1ae4b684ff
Buffer cache: Fixes, Clang and Feedback.
5 years ago
Fernando Sahmkow
1a95a7cdd9
GPUMemoryManager: Force inmediate invalidation when writting block.
5 years ago
Fernando Sahmkow
a0eb3f8a3e
Buffer Cache: Fixes to DMA Copy.
5 years ago