Commit Graph

18115 Commits (caf38725ae2802bdc71ea45c40c34635c5090dca)

Author SHA1 Message Date
Morph 762b8ad448 general: Replace high_resolution_clock with steady_clock
On some OSes, high_resolution_clock is an alias to system_clock and is not monotonic in nature. Replace this with steady_clock.
4 years ago
Feng Chen 2c47f8aa18 Support multiple videos playing 4 years ago
Morph 505ae5ea1b service: friend: Implement GetCompletionEvent
- Used by Super Bomberman R Online
4 years ago
Narr the Reg 46e3ed5a48
Merge pull request #7472 from Morph1984/post-kraken-cleanup
core: hid: Post kraken cleanup
4 years ago
Narr the Reg e4492a9a82
input_common: Fix error with thread name 4 years ago
Morph 5deecd714b input_interpreter: Make use of NpadButton instead of a u64
Allows us to be more explicit with the representation of button states and use the provided bit manipulation operators
4 years ago
Morph 322339a5fd npad: Return NpadButton in GetAndResetPressState
We were previously truncating this to a u32 as there were no known buttons that used the full 64 bits of this type. Fix this now that we know they are used.
4 years ago
Morph bfac21fca1 core: hid: hid_types: Add "All" to NpadButton
This represents a bitmask for all pressed buttons
4 years ago
Morph b86fcf7c31 qt_controller: Make use of (Enable/Disable)AllControllerConfiguration
This also moves the use of DisableConfiguration to the destructor.
4 years ago
bunnei 051e63c9a1
Merge pull request #7466 from vonchenplus/add_miss_pixel_format_mapping
Add missing pixel format mapping
4 years ago
Morph 940375dfbb core: hid: hid_core: Add (Enable/DIsable)AllControllerConfiguration 4 years ago
Morph 410df5446e general: Fix handheld typo 4 years ago
Morph 04f48f0120 core: hid: Mark constructors as explicit 4 years ago
Morph b9b28c0457 core: hid: Cleanup and amend documentation 4 years ago
Feng Chen 524a9baa7e Add missing pixel format mapping 4 years ago
german77 dcc4685557 qt_controller: Fix input when the controller applet is ignored 4 years ago
Fernando S 3031223153
Merge pull request #7396 from FernandoS27/blit-this-mf
TextureCache: Eliminate format deduction as full depth conversion has been supported.
4 years ago
Fernando Sahmkow 5a3463bc2b Texture Cache: Secure insertions against deletions. 4 years ago
bunnei 11a9bff36d
Merge pull request #7438 from german77/homebrew2
Core: Stub services and functions needed for checkpoint
4 years ago
Narr the Reg 54f007efc6 core/ns: Implement GetReadOnlyApplicationControlDataInterface
Used in checkpoint homebrew
4 years ago
Narr the Reg 50d8e753c5 core/pdm: Stub QueryPlayStatisticsByApplicationIdAndUserAccountId
Used in checkpoint homebrew
4 years ago
german77 51df96b7c0 settings: Add debug setting to enable all controllers 4 years ago
Narr the Reg f966c05a74 core/hid: Stub GetUniquePadsFromNpad
Used in checkpoint homebrew
4 years ago
Fernando S 564f105277
Merge pull request #7255 from german77/kraken
Project Kraken: Input rewrite
4 years ago
Fernando Sahmkow ecefc932e6 Texture Cache: Redesigning the blitting system (again). 4 years ago
german77 182cd9004f config: Remove vibration configuration 4 years ago
german77 a4a0638bc8 applet/controller: Enable configuring mode while the applet is open 4 years ago
bunnei 157985f556
Merge pull request #7431 from liushuyu/fix-linux-decoding
video_core/codecs: fix multiple decoding issues on Linux
4 years ago
Narr the Reg 639402850a input_common: Fully implement UDP controllers 4 years ago
Fernando Sahmkow 1624f307d0 Texture Cache: Further fix regressions. 4 years ago
bunnei 06ad463ec8
Merge pull request #7330 from MightyCreak/simplify-theme-selection
Replace "Light" theme by "Default"
4 years ago
Narr the Reg 23bf2e3bb6 service/hid: Finish converting LIFO objects and address some nits 4 years ago
german77 e64ee99f00 yuzu: Fix TAS from rebase 4 years ago
german77 746c85b560 input_common: Move button names to the frontend 4 years ago
german77 c4760489a0 input_common: Fix SDL controller with inverted axis 4 years ago
german77 922aa9410a bootmanager: Use cross-platform keyboard input 4 years ago
german77 42949738f2 kraken: Address comments from review
Fix compiler bug
4 years ago
german77 f4e5f89e6f core/hid: Improve accuary of mouse implementation 4 years ago
german77 654d76e79e core/hid: Fully implement native mouse 4 years ago
german77 bca299e8e0 input_common: Allow keyboard to be backwards compatible 4 years ago
german77 b673857d7d core/hid: Improve accuracy of the keyboard implementation 4 years ago
german77 7fcfe24a3e core/hid: Fix keyboard alignment 4 years ago
german77 71f9b90dd9 core/hid: Remove usage of native types, fix a couple of errors with motion 4 years ago
german77 a17550be98 settings: Remove includes of core.h 4 years ago
german77 e7eee36d52 service/hid: Remove includes of core.h and settings.h 4 years ago
Levi Behunin 690013b342 UI nits
Set top margin to 6 on Right Stick, LeftStick, Face Buttons, D-Pad.
Change property on Input Device QComboBox from minimumSize to minimumContentsLength.
4 years ago
german77 b21fcd9527 service/hid: Add support for new controllers 4 years ago
german77 d14e74132c settings: Fix controller preview not displaying the correct controller 4 years ago
german77 5d0f3540c4 core/hid: Rename NpadType to NpadStyleIndex 4 years ago
german77 84c58666a4 config: Cleanup and documentation 4 years ago
german77 c35af8d1c0 input_common: Fix motion from 3 axis 4 years ago
german77 157e0b85fd core/hid: Prevent Emulated controller from flapping with multiple inputs devices 4 years ago
german77 136eb9c4c2 core/hid: Fully emulate motion from button 4 years ago
german77 77fa4d4bf6 second commit lion review 4 years ago
german77 730f078302 settings: Fix Debug controller type options 4 years ago
german77 2b1b0c2a30 kraken: Address comments from review
start lion review
4 years ago
german77 61d9eb9f69 input_common: Revert deleted TAS functions 4 years ago
german77 5f69fdbfcc core/hid: Explain better what a temporary value does 4 years ago
german77 d8e3f2b10b input_common: Fix GC adapter initialization
Fix GC controller
4 years ago
german77 2d3a63b289 core/hid: Update structs to 13.1.0 4 years ago
german77 c085e54316 core/hid: Add TAS input 4 years ago
german77 1d71d4b874 input_common: Fix UDP uuid 4 years ago
german77 7348e205d9 input_common: Add multiple vibration curves 4 years ago
german77 064ddacf49 core/hid: Rework battery mappings 4 years ago
german77 c6c32daf40 input_common: Add manual update options to input devices 4 years ago
german77 f01dac3bf9 service/hid: Fix memory allocated incorrectly 4 years ago
german77 464c4d26ac settings: Fix mouse and keyboard mappings 4 years ago
german77 cc651c7c99 web_applet: Replace HIDButton with NpadButton 4 years ago
german77 b564f024f0 Morph review first wave 4 years ago
german77 e2e5f1beaf service/hid: Match shared memory closer to HW 4 years ago
german77 21819da8cd yuzu: Fix loading input profiles 4 years ago
german77 b5e72de753 kraken: Address comments from review
review fixes
4 years ago
german77 95cf66b655 service/hid: Use ring buffer for gestures 4 years ago
german77 85052b8662 service/hid: Fix gesture input 4 years ago
german77 af55dd1935 configuration: Migrate controller settings to emulated controller 4 years ago
german77 c3ff0a8ac0 core/hid: Fix rumble too strong at 1% 4 years ago
german77 601ac43495 core/hid: Only signal when needed 4 years ago
german77 4d308fd0b4 hid: Fix controller connection/disconnection 4 years ago
german77 72e5920240 core/hid: Documment some files 4 years ago
german77 e0da5c1bbc kraken: Fix errors from rebase and format files 4 years ago
german77 06a5ef5874 core/hid: Add output devices 4 years ago
german77 e14ae06391 core: Update input interpreter 4 years ago
german77 1b82d5bb4f yuzu: Update overlay applet 4 years ago
german77 510c7d2953 core/frontend: Update applets 4 years ago
german77 dd62a0187d core: Remove frontend/input 4 years ago
german77 c87ad2d0d6 service/hid: Rewrite npad to use ring lifo and the emulated controller 4 years ago
german77 a2ad5762e6 service/hid: Update console sixaxis to the emulated console 4 years ago
german77 800a66d25a service/hid: Update mouse and keyboard to use ring lifo and the emulated device 4 years ago
german77 afe2d667d9 service/hid: Update touch and gestures to use ring lifo and the emulated console 4 years ago
german77 072559dede service/hid: Update debug pad, xpad, stubbed and controller base to use ring lifo and the emulated controller 4 years ago
german77 dbe0301102 service/hid: Use remove duplicated code, update names 4 years ago
german77 db08721dcc service/hid: Create ring LIFO 4 years ago
german77 8fff6d6c67 Qt_applets: Use new input 4 years ago
german77 6e2c84042d settings: Cleanup settings 4 years ago
german77 456397ed39 debugger/controller: Remove TAS 4 years ago
german77 173a6b1e57 core/emu_window: Remove touch input 4 years ago
german77 c405a19b73 yuzu: Update frontend 4 years ago
german77 967cca10ff core: Register HID 4 years ago
german77 c3f54ff232 core/hid: Add emulated controllers 4 years ago
german77 14b949a0da yuzu_cmd: Use new input 4 years ago
german77 737d305f63 yuzu: Use new input on main and bootmanager 4 years ago
german77 29ae42f3e2 input_common: Rewrite main and add the new drivers 4 years ago
german77 6d108f0dcb input_common: Remove obsolete files 4 years ago
german77 59b995a9e5 input_common: Rewrite SDL 4 years ago
german77 10241886dd input_common: Rewrite udp client 4 years ago
german77 dc3ab9e110 input_common: Rewrite tas input 4 years ago
german77 395e9a449d input_common: Rewrite gc_adapter 4 years ago
german77 fa8e23b842 input_common: Rewrite touch 4 years ago
german77 00834b84dd input_common: Rewrite mouse 4 years ago
german77 5a785ed794 input_common: Rewrite keyboard 4 years ago
german77 4c6f2c2547 input_common: Move touch and analog from button. Move udp protocol 4 years ago
german77 854c933716 input_common: Create input poller and mapping 4 years ago
german77 ea7b1fbc67 input_common: Create input_engine 4 years ago
german77 449576df93 core/hid: Move motion_input, create input converter and hid_types 4 years ago
german77 bf71d18af9 core/hid: Move input_interpreter to hid 4 years ago
german77 ad5142ac2c common: Rewrite and move core/frontend/input.h to common 4 years ago
Adam Heinermann f078d3d212
Refactor menu states and shortcuts in GMainWindow. (#7419)
Refactor menu states and shortcuts in GMainWindow.

- Removed "Start", since it was always disabled unless it was "Continue"
which has now been moved to "Pause".
- Allow hotkeys to be used while in fullscreen.
- Removed the load amiibo hotkey.
4 years ago
liushuyu 60928cf8cd
video_core/codec: address comments 4 years ago
liushuyu 72aa418b0b
video_core/codecs: fix multiple decoding issues on Linux ...
* when someone installed Intel video drivers on an AMD system, the
  decoder will select the Intel VA-API decoding driver and yuzu will
  crash due to incorrect driver selection; the fix will check if the
  currently about-to-use driver is loaded in the kernel
* when using NVIDIA driver on Linux with a ffmpeg that does not have
  CUDA capability enabled, the decoder will crash; the fix simply
  making the decoder prefers the VDPAU driver over CUDA on Linux
4 years ago
bunnei cd6cf0422d
Merge pull request #7404 from Kewlan/per-game-framerate-cap
configure_general: Allow framerate cap to be used in custom game configs
4 years ago
bunnei daecbd3a7f
Merge pull request #7394 from Morph1984/svc-SetMemoryPermission
kernel: svc: Implement SetProcessMemoryPermission
4 years ago
Fernando Sahmkow 08674aee87 Texture Cache: Fix issue with blitting 3D textures. 4 years ago
Mai M ee76b546d4
Merge pull request #7406 from heinermann/tas_menu
Added TAS controls to the menu under Tools
4 years ago
jam1garner 4d9c9e567e arm: dynarmic: Cleanup icache op handling 4 years ago
jam1garner c8a67a725d arm: dynarmic: Implement icache op handling for 'ic iallu' instruction 4 years ago
jam1garner 84eb3e7d02 arm: dynarmic: Implement icache op handling for 'ic ivau' instruction 4 years ago
Adam Heinermann 097de2febc const fixes 4 years ago
Adam Heinermann b7a938e817 Apply clang format 4 years ago
Adam Heinermann f90d980837 Added TAS controls to the menu under Tools 4 years ago
Fernando Sahmkow 1e474fb9d1 Texture Cache: Correct conversion shaders. 4 years ago
Fernando Sahmkow 0902119302 Texture Cache: Always copy on NVIDIA. 4 years ago
Fernando Sahmkow 8532849439 TextureCache: Simplify blitting of D24S8 formats and fix bugs. 4 years ago
Fernando Sahmkow d7f4434bd5 VulkanTexturECache: Use reinterpret on D32_S8 formats. 4 years ago
Fernando Sahmkow b96caf200d HostShaders: Fix D24S8 convertion shaders. 4 years ago
Kewlan 8e3371a5c5 configure_general: Allow framerate cap to be used in custom game configs 4 years ago
bunnei d20f91da11
Merge pull request #7395 from Morph1984/resolve-comments
general: Resolve comments in PR #7368
4 years ago
bunnei 5082712b4e
Merge pull request #7389 from ameerj/screenshot-1x
Fix screenshot dimensions when at 1x scale
4 years ago
bunnei ba5210675a
Merge pull request #7359 from heinermann/kthread_crash
Fix crash on exit due to static scoped dummy threads
4 years ago
bunnei fc34749778
Merge pull request #7393 from Morph1984/pm-ams-get-pid
service: pm: Implement AtmosphereGetProcessId
4 years ago
Fernando Sahmkow 779f4ac72d TextureCache: Eliminate format deduction as full depth conversion has been supported. 4 years ago
Morph 5cf93c1346 kernel: svc: Move all IsValid functions to an anonymous namespace 4 years ago
Morph 2726d705f8 kernel: svc: Implement SetProcessMemoryPermission
- Used by Skyline modding framework
4 years ago
Morph 281437c811 kernel: KPageTable: Rename SetCodeMemoryPermission to SetProcessMemoryPermission 4 years ago
Morph a41c6dafea vk_texture_cache: Mark VkBufferUsageFlags as static constexpr 4 years ago
Morph 095bc88428 vk_blit_image: Consolidate CreatePipelineTargetEx functions 4 years ago
Morph 9173f07a51 service: pm: Implement AtmosphereGetProcessId
- Used by Skyline modding framework
4 years ago
Morph 3dc38d185b service: pm: Add all relevant result codes 4 years ago
bunnei ea6fa044f3
Merge pull request #7368 from FernandoS27/vulkan-conv
Fix ART Blit detection regression and add D24S8 <-> RGBA8 conv to Vulkan
4 years ago
Morph 40cd0bb97b service: pm: Rename title id to program id 4 years ago
ameerj fe1f06c856 Fix screenshot dimensions when at 1x scale
This was regressed by ART.
Prior to ART, the screenshots were saved at the title's framebuffer resolution. A misunderstanding of the existing logic led to screenshot dimensions becoming dependent on the host render window size.

This changes the behavior to match how it was prior to ART at 1x, with screenshots now always being the title's framebuffer dimensions scaled by the resolution scaling factor.
4 years ago
Fernando Sahmkow da2fe81905 TextureCache: Refactor and fix linux compiling. 4 years ago
Fernando Sahmkow 4ca6e9a9e2 TextureCache: Assure full conversions on depth/stencil write shaders. 4 years ago
Fernando Sahmkow 0857f82913 TextureCache: Implement buffer copies on Vulkan. 4 years ago
bunnei c3e1ffc44b
Merge pull request #7294 from vonchenplus/fix_image_update_error_when_width_too_small
Fix image update/download error when width too small
4 years ago
Fernando Sahmkow e02cff2f69 TextureCache: Add R16G16 to D24S8 converter. 4 years ago
Fernando Sahmkow 1d5e6a51d7 TextureCache: Add B10G11R11 to D24S8 converter. 4 years ago
Fernando Sahmkow 6f896d1fae TextureCache: Further fixes on resolve algorithm. 4 years ago
bunnei b44fbf6cdd
Merge pull request #7369 from Morph1984/amd-fsr-statusbar
main: Shorten AMD FSR status bar text
4 years ago
bunnei a69813948f
Merge pull request #7342 from goldenx86/patch-3
Replace keys error pop up
4 years ago
bunnei c45af76ea0
Merge pull request #7357 from Morph1984/s8_uint
video_core: Implement S8_UINT format
4 years ago
Fernando Sahmkow b805c7bf05 TextureCache: Implement additional D24S8 convertions. 4 years ago
Fernando Sahmkow 0ff228405f TextureCache: force same image format when resolving an image. 4 years ago
Morph bc5ed1aa1b main: Fix default AA name
By default, no AA is applied, not FXAA
4 years ago
Morph a237fb5f75 configure_graphics_ui: AMD's -> AMD
AMD officially markets FSR as AMD FidelityFX™️ Super Resolution
4 years ago
Morph c76163b611 main: Shorten AMD FSR status bar text
AMD'S FIDELITYFX SR -> FSR
4 years ago
Fernando Sahmkow b130f648d7 TextureCache: Fix regression caused by ART and improve blit detection algorithm to be smarter. 4 years ago
Fernando Sahmkow 2ec7fcecb7 Vulkan: implement D24S8 <-> RGBA8 convertions. 4 years ago
bunnei 0bc46fedd6
Merge pull request #7349 from ameerj/ogl-convert-image
gl_texture_cache: Implement pixel format conversions for copies
4 years ago
bunnei a100f5d5d4
Merge pull request #7353 from v1993/no-more-epilepsy
Prevent window flickering when holding Esc
4 years ago
Morph dc61b7045b renderer_vulkan: Implement S8_UINT stencil format
It should be noted that on Windows, only nvidia gpus support this format natively as of this commit.
4 years ago
ameerj f7e155d8b9 gl_texture_cache: Round format conversion PBO to next power of 2 4 years ago
bunnei 2054013edb
Merge pull request #7355 from german77/hotkey_spam
hotkeys: Don't allow hotkeys to spam
4 years ago
Adam Heinermann d8a783a368 Fix crash on exit due to static scoped dummy threads 4 years ago
Morph 6dd6dc046c renderer_opengl: Implement S8_UINT stencil format 4 years ago
Morph 2348eb41f3 video_core: Add S8_UINT stencil format 4 years ago
german77 311324e231 hotkeys: Don't allow hotkeys to spam 4 years ago
Valeri f7e0a37753
Prevent window flickering when holding Esc
Reported on discord by Levlight. Don't try to exit fullscreen if it's already off.
4 years ago
Feng Chen 894cc9d876 Fix image update/download error when width too small 4 years ago
ameerj 20ed7ba441 texture_cache: Use pixel format conversion when supported by the runtime 4 years ago
ameerj 50c3d53076 gl_texture_cache: Make FormatConversionPass more generic
This allows the usage of the FormatConversionPass to be applied to more than the previously used BGR conversion scenarios.
4 years ago
ameerj 35ca6274f4 gl_texture_cache: Rename BGRCopyPass to FormatConversionPass 4 years ago
Fernando Sahmkow 1c8a3d8d29 TextureCache: Fix Automatic Anisotropic. 4 years ago
FernandoS27 1128cc35b9 TextureCache: OGL query device memory if possible. 4 years ago
Fernando Sahmkow 978f598ff6 TextureCache: Fix OGL cleaning 4 years ago
Fernando Sahmkow 282e04bffb TextureCache: Add automatic anisotropic filtering and refactor code. 4 years ago
Fernando Sahmkow 5230378709 TextureCache: Make a better Anisotropic setter. 4 years ago
Fernando Sahmkow 6c97ab571a Texture Cache: revert Image changes. 4 years ago
Fernando Sahmkow 6f98690963 ShaderCache: Better fix for Shuffling gl_FragCoord 4 years ago
FernandoS27 d46a71e786 HostShader: fix Gaussian filter. 4 years ago
FernandoS27 de1c8c5c2c Texture Cahe/Shader decompiler: Resize PointSize on rescaling, refactor and make reaper more agressive on 4Gb GPUs. 4 years ago
ameerj 917b2466ad texture_cache: Refactor Render Target scaling function 4 years ago
ameerj 9fc1fa1b0d gl_resource_manager: Ensure non EXT_framebuffer objects are created 4 years ago
FernandoS27 099b0b3167 Texture Cache: Fix memory usage on ScaleDown. 4 years ago
FernandoS27 9189aacfe2 OpenGL: Fix viewport/Scissor scaling on downscaling. 4 years ago
FernandoS27 c97c46747d Vulkan: fix regression. 4 years ago
ameerj 87abab71ff host_shaders: Misc copyright/style changes 4 years ago
ameerj 864f2e0b81 configure_graphics.ui: Cleanup scaling options and fix duplicate name warning 4 years ago
ameerj 99124b7261 FSR: Fix GCC build errors 4 years ago
Marshall Mohror bb03675485 Vulkan: Reimplement FSR constant generation functions to avoid GCC warnings 4 years ago
ameerj 47369faaab vk_blit_screen: Fix AA destruction order 4 years ago