Commit Graph

18543 Commits (d9b1199ffb7670248a02acce7e8216f5a577de38)

Author SHA1 Message Date
Morph 4e766280c4 common: wall_clock: Utilize constants for ms, us, and ns ratios 5 years ago
german77 3d2d77eb3f input_common: Add home and hard touch press buttons to UDP controllers 5 years ago
ameerj e394e1ecc4 emit_glsl_atomic: Implement 32x2 fallback atomic ops 5 years ago
ameerj 90a0506d56 lower_int64_to_int32: Add 64-bit atomic fallbacks 5 years ago
ameerj ad58d7eae7 shaders: Add U64->U32x2 Atomic fallback functions 5 years ago
Fernando Sahmkow d0a5a48948 GPU: Improve syncing. 5 years ago
Fernando Sahmkow 4258d515e6 Rasterizer: Implement Inline2Memory Acceleration. 5 years ago
Fernando Sahmkow f54280dafd Inline2Memory: Flush before writting buffer. 5 years ago
Morph 11099dda2e
Merge pull request #7791 from german77/wall_clock
wall_clock: Use standard wall clock if rtsc frequency is too low
5 years ago
ameerj 4790ba7839 spirv_atomic: Define U32x2 storage buffers for 64-bit storage atomics
Some drivers do not support 64-bit atomics, and fallback to atomically modifying U32x2 vectors. This change ensures that U32x2 storage vectors are defined in the spir-v shader when 64-bit atomics are used.

Fixes a hang on some devices, notably Intel GPUs, when booting Pokemon Legends Arceus
5 years ago
Morph 1900abde13
Merge pull request #7784 from german77/ds5
input_common: Add DS5 to HD rumble list
5 years ago
Morph 60b5670577
Merge pull request #7787 from bunnei/scheduler-deadlock-fix
hle: kernel: KScheduler: Fix deadlock with core waiting for a thread lock that has migrated.
5 years ago
Morph b00406c8e4
Merge pull request #7788 from ameerj/stream-buffer-begin
buffer_cache: Reduce stream buffer allocations when expanding from the left
5 years ago
Morph 8dea7fa129
Merge pull request #7786 from ameerj/vmnmx-sel
video_minimum_maximum: Implement src operand selectors
5 years ago
ameerj beaf7654bb emit_spirv: Add Xfb execution mode when transform feedback is used
Fixes Transform Feedback on Vulkan AMD drivers.
5 years ago
bunnei 0dec42431f
Merge pull request #7770 from german77/motion-threshold
input_common: Add option to configure gyro threshold
5 years ago
german77 fea05a17ea hotkeys: Don't translate hotkey buttons 5 years ago
german77 e4c63d432d wall_clock: use standard wall clock if rtsc frequency is too low 5 years ago
ameerj f300a1d54b buffer_cache: Reduce stream buffer allocations when expanding from the left
The existing stream buffer optimization accounts for size increases at the end of the allocated buffer.
This adds the same optimization, increasing the size from the beginning of the buffer as well to reduce buffer allocations when expanding the same buffer from the left.
5 years ago
bunnei 3a1a3dd0db hle: kernel: KScheduler: Fix deadlock with core waiting for a thread lock that has migrated.
- Previously, it was possible for a thread migration to occur from core A to core B.
- Next, core B waits on a guest lock that must be released by a thread queued for core A.
- Meanwhile, core A is still waiting on the core B's current thread lock - resulting in a deadlock.
- Fix this by try-locking the thread lock.
- Fixes softlocks in FF8 and Pokemon Legends Arceus.
5 years ago
ameerj 74e6e3623f video_minimum_maximum: Implement src operand selectors
Used by Pokemon Legends: Arceus
5 years ago
Morph 8a244dd3d3
Merge pull request #7783 from lioncash/abi-cexpr
common/xbyak_api: Make BuildRegSet() constexpr
5 years ago
Narr the Reg fd1cef5616 input_common: Add DS5 to HD rumble list 5 years ago
bunnei adcac857f8
Merge pull request #7762 from bunnei/un-map-improve
Kernel Memory Updates (Part 4): Improve Un/MapPages, and more.
5 years ago
Lioncash f6a049337e common/xbyak_api: Make BuildRegSet() constexpr
This allows us to eliminate any static constructors that would have been
emitted due to the function not being constexpr.
5 years ago
bunnei 40050c1188
Merge pull request #7780 from lioncash/macro
video_core/macro: Move impl classes into their cpp files
5 years ago
bunnei 9bf7ad97f5
Merge pull request #7769 from german77/no-control
yuzu: Add setting to disable controller navigation
5 years ago
bunnei 5723145165
Merge pull request #7768 from Moonlacer/fsr-1.0.2
Update AMD FidelityFX Super Resolution™ to 1.0.2
5 years ago
Morph 84cc22b21b
Merge pull request #7777 from lioncash/nodisc
shader_recompiler: Remove unnecessary [[nodiscard]] specifier
5 years ago
Morph c93dd45997
Merge pull request #7779 from lioncash/gpu-iface
gpu: Remove obsoleted CDmaPusher() accessors
5 years ago
Morph a1c4bca908
Merge pull request #7778 from lioncash/comma
vk_fsr: Replace comma operator with semicolon
5 years ago
Morph 432f4441b9
Merge pull request #7774 from lioncash/mapping
input_common/main: Pass MappingData by const reference in callbacks
5 years ago
Morph 306b3491c4
Merge pull request #7773 from lioncash/udp-deprecated
input_common/udp_client: Replace deprecated from_string()/to_ulong() functions
5 years ago
Morph 8dbad556ec
Merge pull request #7771 from lioncash/assert
kernel/k_affinity_mask: Remove duplicated assert
5 years ago
Lioncash a8a4f37628 video_core/macro: Add missing <cstring> header
Necessary since memcpy is used.
5 years ago
Lioncash 81d1a1133d video_core/macro_interpreter: Move impl class to the cpp file
Keeps the implementation hidden from the intended API and lessens the
header dependencies on the interpreter's header.
5 years ago
Lioncash cfd9f7d25b video_core/macro_hle: Return unique_ptr directly from GetHLEProgram()
Same behavior, but less code and header dependencies.
5 years ago
Lioncash a05d9405b9 video_core/macro: Remove unused parameter from Execute()
Simplifies the function interface.
5 years ago
Lioncash 74f80299b0 video_core/macro_jit_x64: Remove unused impl class member
Reduces the size of the impl class a tiny bit.
5 years ago
Lioncash f11eefed56 video_core/macro_jit_x64: Decouple PersistentCallerSavedRegs() from impl
This doesn't depend on class state and can just be a regular function.
5 years ago
Lioncash 6b873b72ae video_core/macro_jit_x64: Move impl class into cpp file
Keeps the implementation internalized and also reduces API-facing header
dependencies.

Notably, this fully internalizes all of the xbyak externals.
5 years ago
Lioncash a3c81745b1 video_core/macro_hle: Move impl class into cpp file
Given it's intended to be an internal implementation class, we can move
it into the cpp file to ensure that.

This also lets us move some header dependencies into the cpp file as
well.
5 years ago
Lioncash d8486a9968 gpu: Tidy up forward declarations
Over time a few forward declarations became unnecessary, so we can
remove these to tidy up the header a little bit.
5 years ago
Lioncash 9b38c8ef08 gpu: Remove obsoleted CDMAPusher() accessors
These were obsoleted in 2c47f8aa18 but
were accidentally overlooked.
5 years ago
Lioncash e7af84670d vk_fsr: Replace comma operator with semicolon
Generally, we should be ending statements with a semicolon not a comma

Resolves a clang diagnostic.
5 years ago
Lioncash b46ec4efea shader_recompiler: Remove unnecessary [[nodiscard]]
Since ConvertLegacyToGeneric has a void return value, there's nothing
that is actually returned by the function.
5 years ago
bunnei 4f9f55ec21
Merge pull request #7765 from bunnei/update-thread-count
hle: kernel: KThread: Improve Increment/Decrement RunningThreadCount.
5 years ago
bunnei 3442365127
Merge pull request #7760 from german77/inverted_keyboard
yuzu: Add modifiers for keyboard
5 years ago
Lioncash 651358d0b6 input_common/input_engine: Ensure PadIdentifier UUIDs have a valid initial state
The default constructor of a UUID instance doesn't initialize the
underlying array.
5 years ago
Lioncash 187c9d7e33 input_common/input_mapping: Simplify UUID validity checks
Makes the checks a little more intuitive to read and doesn't construct
an extra UUID instance
5 years ago
Lioncash 0849be094e input_common/input_mapping: Add missing includes
Ensures that the class always sees the types it needs.
5 years ago
Lioncash 8bb39750a1 input_common/input_mapping: Remove const from return value
Top-level const on a return by value can inhibit move semantics, and is
unnecessary.
5 years ago
Lioncash 12e7d3b254 input_common/input_mapping: Default constructor 5 years ago
Lioncash 51dd3da11c input_common/main: Pass MappingData by const reference in callbacks
Avoids creating unnecessary 168 byte copies per callback invocation.
5 years ago
Lioncash 87eb3cb083 input_common/udp_client: Replace deprecated from_string()/to_ulong() functions
These are deprecated and make_address variants and to_uint() should be used instead.
5 years ago
Lioncash b084a9bf0a input_common/udp_client: Prevent unnecessary string copies
We can also remove some redundant const on the return values, since
these don't do anything
5 years ago
Lioncash 2f12caccf9 kernel/k_affinity_mask: Remove duplicated assert
This is already checked inside GetCoreBit()
5 years ago
german77 ebf19616f4 input_common: Add option to configure gyro threshold 5 years ago
german77 b998aa5504 yuzu: Add setting to disable controller navigation 5 years ago
Moonlacer fdde08bd01 Update FSR to 1.0.2
Updates yuzu's FSR implementation to 1.0.2
5 years ago
bunnei 59add00d4a hle: kernel: KThread: Improve Increment/Decrement RunningThreadCount.
- Previously implementation was incorrect, and would occasionally underflow.
5 years ago
bunnei e791da9791 core: hle: kernel: KPageTable: Various improvements to MapPages and UnmapPages. 5 years ago
bunnei 07add23251 core: hle: kernel: KPageTable: MapProcessCode: Various cleanup. 5 years ago
bunnei ee25e0a40b core: hle: kernel: KPageTable: ReserveTransferMemory: Various cleanup. 5 years ago
bunnei 0cee5e1af8 core: hle: kernel: KPageTable: ResetTransferMemory: Various cleanup. 5 years ago
bunnei ffcaf5af90 core: hle: kernel: KPageTable: SetMemoryAttribute: Various cleanup. 5 years ago
bunnei 5b57ee66ce
Merge pull request #7716 from german77/volume
yuzu: Add volume hotkeys
5 years ago
bunnei 2935c9d8de core: hle: kernel: KPageTable: Assert valid address on GetPhysicalAddr. 5 years ago
bunnei 264bb5abf7 core: hle: kernel: KPageTable: Operate: Assert lock ownership. 5 years ago
bunnei 0137f2e6e1 core: hle: kernel: KPageTable: SetHeapSize: Cleanup & take physical memory lock. 5 years ago
bunnei 6d8e498f76 core: hle: kernel: Refactor Un/MapPhysicalMemory to remove unnecessary methods. 5 years ago
bunnei b8b1b58f36 core: hle: kernel: Rename Un/Map to Un/MapMeory. 5 years ago
bunnei 8433edacb3
Merge pull request #7735 from german77/udp_battery
input_common: Report battery for UDP controllers
5 years ago
bunnei 68c8a1b170
Merge pull request #7737 from bunnei/fix-dummy-thread-leak
Various fixes to HLE service thread management
5 years ago
Narr the Reg 7d133fd37e yuzu: Add modifiers for keyboard 5 years ago
bunnei cef7649bed
Merge pull request #7752 from Morph1984/SetCpuOverclockEnabled
service: apm: Stub ISession SetCpuOverclockEnabled
5 years ago
bunnei 615fb40416 hle: kernel: KThread: Ensure host (dummy) threads block on locking.
- But do not enter the priority queue, as otherwise they will be scheduled.
- Allows dummy threads to use guest synchronization primitives.
5 years ago
Lioncash 12bf8ca929 service/wlan: Update function tables 5 years ago
Lioncash 8dd6dc9a29 service/usb: Update function tables 5 years ago
Lioncash 43039d95ac service/set: Update function tables 5 years ago
Lioncash 7ba6f68a8d service/ns: Update function tables 5 years ago
Lioncash 19c11e2fd2 service/nim: Update unknown function table entries 5 years ago
Lioncash 888bc10c17 service/friend: Update unknown function table entries 5 years ago
Lioncash 54150f5afa service/filsystem: Update fsp-srv function table 5 years ago
Lioncash 3da43ad2a9 service/btm: Update function tables 5 years ago
Lioncash 0f7337c522 service/audio: Update audctl unknown function names 5 years ago
Lioncash 29e3636e0a service/am: Update omm function tables 5 years ago
Lioncash a271cf89cf service/acc: Update unknown function names
Switchbrew has the function names now.
5 years ago
bunnei 88d9b55b14
Merge pull request #7755 from v1993/someone-in-here-lacks-system-wide-theming
Use Default Colorful theme by default outside of Windows
5 years ago
bunnei 03cf308c16
Merge pull request #7731 from v1993/xfb-varying-check-fix
shader_recompiler: fix potential OOB access
5 years ago
v1993 d63d8bf7f9
Use Default Colorful theme by default outside of Windows
On OSes with system-wide theming this allows yuzu to follow system style, regardless of its exact coloration, working well with both light and dark system themes. Dark /Colorful, on the other hand, forces dark theme regardless of user preferences set in system settings, making for a poor default.

Use Colorful variation to keep in line with icon style of patron-voted Dark Colorful.
5 years ago
Morph a396473201 service: apm: Stub ISession SetCpuOverclockEnabled
Since we don't currently support CPU overclocking within the emulated system, this can be stubbed for now, like APM IsCpuOverclockEnabled.

- Used by Gravity Rider Zero
5 years ago
bunnei ef7c50b276
Merge pull request #7695 from Morph1984/is-pow2
common: bit_util: Add IsPow2 helper function
5 years ago
bunnei f6815086a1 hle: kernel: Remove redundant tracking of dummy threads.
- These are already tracked by kernel's registered_objects member.
5 years ago
bunnei 91ff6d4cb3 hle: kernel: KThread: DummyThread can be waited, ensure wait_queue is not nullptr. 5 years ago
bunnei 46a620f9d7 hle: kernel: KThread: Decrease DummyThread priority to ensure it is never scheduled. 5 years ago
bunnei 0b37e7cb39 hle: kernel: service_thread: Ensure dummy thread is closed & destroyed on thread exit. 5 years ago
bunnei 384e24d3e9 hle: kernel: KServerSession: Remove hack for CompleteSyncRequest.
- This does not appear to be necessary anymore.
5 years ago
bunnei ad53dc22fd hle: kernel: KServerSession: Simplify CompleteSyncRequest EndWait.
- Considering is_thread_waiting is never set, so we can remove IsThreadWaiting.
- KThread::EndWait will take the scheduler lock, so we can remove the redundant lock.
5 years ago
bunnei 5ffec69dc7 hle: kernel: KThread: Ensure dummy threads never call EndWait.
- These are only used by host threads for locking and will never have a wait_queue.
5 years ago
bunnei 11a380c3da hle: kernel: KScheduler: Ensure dummy threads are never scheduled.
- These are only used by host threads for locking.
5 years ago
bunnei f6cbb14dce hle: kernel: KThread: Rename thread_type_for_debugging -> thread_type.
- This will be used to ensure that we do not schedule dummy threads.
5 years ago
bunnei e781f6e767
Merge pull request #7710 from german77/just-shake-it
core/hid: Increment shake force
5 years ago
Jan Beich d24a4b79d4 video_core: constify AVCodec for ffmpeg >= 5.0
src/video_core/command_classes/codecs/codec.cpp:177:16: error: assigning to 'AVCodec *' from 'const AVCodec *' discards qualifiers
    av_codec = avcodec_find_decoder(codec);
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~
5 years ago
Morph dc471700ca
Merge pull request #7726 from german77/clamp
service/hid: Initialize applet_resource on SetNpadAnalogStickUseCenterClamp
5 years ago
german77 8fa0416fee service/hid: Initialize applet_resource on SetNpadAnalogStickUseCenterClamp 5 years ago
Georg Lehmann d15814d39f vulkan_device: Fix sType for VkPhysicalDeviceShaderAtomicInt64Features 5 years ago
bunnei b5e83bcc7b
Merge pull request #7701 from bunnei/clear-mem-pages
Kernel Memory Updates (Part 3): Clear KMemoryManager pages & other fixes
5 years ago
bunnei fc3eb72359
Merge pull request #7715 from gidoly/patch-4
Xbox controller default name nit pick
5 years ago
bunnei eceee8e5f4
Merge pull request #7725 from german77/mouse_in_motion
input_common: Reintroduce motion from mouse and use button names
5 years ago
bunnei 101d86897b
Merge pull request #7712 from bunnei/fix-thread-exit
Accurately implement thread exit
5 years ago
bunnei 1dbb9e353e
Merge pull request #7724 from ameerj/astc_new_nv
astc_decoder: Combine FastReplicate functions to work around new NV driver bug
5 years ago
bunnei 5eb0b65590
Merge pull request #7732 from v1993/patch-7
kernel: remove no-op code
5 years ago
Narr the Reg 36144a5690 input_common: Report battery for UDP controllers 5 years ago
v1993 a943600019
shader_recompiler: fix potential OOB access
Found by static analysis with PVS-Studio. Original check wasn't actually checking for OOB and would segfault in case of it.
5 years ago
Mai M 45ac3f414e
Merge pull request #7730 from v1993/patch-6
input_common: nitpick about SetHatButton usage
5 years ago
Mai M b92198b7f8
Merge pull request #7729 from v1993/patch-5
input_common: fix copy-paste error
5 years ago
Mai M cf4893410b
Merge pull request #7728 from v1993/patch-4
hid: fix std::transform call
5 years ago
Mai M 345bcd4cdf
Merge pull request #7727 from v1993/patch-3
hid: Correct assignment source for rotations
5 years ago
Valeri 84786dde00
hle: remove no-op code
Found by static analysis with PVS-Studio. Nobody seems to really know what was it doing there.
5 years ago
Valeri 3431e0acf5
input_common: nitpick about SetHatButton usage 5 years ago
Valeri a99f84f4b2
input_common: fix copy-paste error
Found by static analysis with PVS-Studio.
5 years ago
Valeri 8eddafd9d0
hid: fix std::transform call
Found by static analysis with PVS-Studio.
5 years ago
Morph 78e233c460 uisettings: Add enumeration type for themes
Eliminates the usage of a magic number to indicate the default index of the themes array,
5 years ago
gidoly 789af19c60 config: Change default theme to Dark Colorful 5 years ago
Valeri c624edceba
Correct assignment source for rotations
Found by static analysis with PVS-Studio
5 years ago
german77 9eab07f863 input_common: Reintroduce motion from mouse and use button names 5 years ago
ameerj a5bff8e9b3 astc_decoder: Combine FastReplicate functions to work around new NV driver bug
The new Nvidia drivers have a bug where the FastReplicateTo6 function produces a lookup into the REPLICATE_TO_8 table rather than the REPLICATE_TO_6 table.

This seems to be an optimization gone wrong. Combining the logic of the FastReplicate functions seems to address the bug.
5 years ago
german77 850896a52b audio/stream: Adjust volume scale factor 5 years ago
german77 c8b3a12856 yuzu: Add volume up/down hotkeys 5 years ago
gidoly 92d676d788
Xbox controller default name nit pick
Discord User moon lacer pointed us that official name is 'Xbox' not 'XBox'
5 years ago
german77 419f427a01 yuzu: Remove speed limit hotkeys 5 years ago
bunnei 480b03b645
Merge pull request #7713 from gidoly/patch-3
Change default name for playstation controllers
5 years ago
bunnei 5eda606952
Merge pull request #7711 from bunnei/fix-service-thread-race-v2
hle: kernel: Fix service_threads access to be thread safe V2.
5 years ago
bunnei b54cbc985e hle: kernel: k_memory_manager: Clear pages on allocation & free.
- Heap pages should be zero'd.
- Also explicitly passed along heap allocation option.
5 years ago
gidoly 7978ea4e8c
Change default name for ps controllers
Minor nitpick
Code is from narr
5 years ago
bunnei 4064e03568
Merge pull request #7707 from german77/slow-update
service/hid: Decrease motion update rate
5 years ago
bunnei f499c8177e core: hle: kernel: KThread: Integrate with KWorkerTask and implement DoWorkerTaskImpl.
- This is used to terminate a thread asynchronously after it has been exited.
- This fixes a crash that can occur in Pokemon Sword/Shield because a thread is incorrectly closed on svcExitThread, then, the thread is destroyed on svcCloseHandle while it is still scheduled.
- Instead, we now wait for the thread to no longer be scheduled on all cores before destroying it from KWorkerTaskManager, which is accurate to HOS behavior.
5 years ago
bunnei d8b3f665db core: hle: kernel: KProcess: Integrate with KWorkerTask and add unimplemented DoWorkerTaskImpl. 5 years ago
bunnei 03884b7ea6 core: hle: kernel: KThread: Replace Suspend with UpdateState & various updates.
- This makes our implementations of these more closely match HOS.
5 years ago
bunnei c905044e1b core: hle: kernel: Instantiate a kernel instance of KWorkerTaskManager. 5 years ago
bunnei bf32fcc817 core: hle: kernel: Add KWorkerTask and KWorkerTaskManager.
- These primitives are used to dispatch asynchronous kernel tasks from KThread and KProcess.
5 years ago
bunnei f6de57c1a5 common: fiber: YieldTo: Avoid hard crash on nullptr previous_fiber.
- When the emulator crashes to desktop below, we don't even get this captured in a log, making such issues harder to debug.
5 years ago
bunnei cc112f971e hle: kernel: Fix service_threads access to be thread safe V2.
- PR #7699 attempted to fix CreateServiceThread and ReleaseServiceThread to be thread safe, but inadvertently introduced a possible dead-lock.
- With this PR, we use a worker thread to manage the service thread list, allowing it only to be accessed by a single thread, and guaranteeing threads will not destroy themselves.
- Fixes a rare crash in Pokemon Sword/Shield, I've now run this game for ~12 hours non-stop and am quite confident this is a good solution for this issue.
5 years ago
Narr the Reg 5ce5432830
core/hid: Increment shake force
With the current settings 2p mode in pokemon let's go wasn't showing up.  By making the shake more violent we can make it appear without any effort using the keyboard
5 years ago
Mai M b2d45a4072
Merge pull request #7699 from bunnei/fix-service-thread-race
hle: kernel: Fix service_threads access to be thread safe.
5 years ago
Mai M 07e477f891
Merge pull request #7698 from bunnei/mem-code-memory-updates
Kernel Memory Updates (Part 2): SetProcessMemoryPermission, update permissions, and other minor changes.
5 years ago
bunnei 2147240e47 hle: kernel: Fix service_threads access to be thread safe.
- CreateServiceThread and ReleaseServiceThread can be accessed by different threads, uses a lock to make this thread safe.
- Fixes a rare crash in Pokemon Sword/Shield that can occur when a new service thread is being created while an old one is being destroyed.
5 years ago
bunnei f1aa7ff893
Merge pull request #7690 from Morph1984/increase-file-limit-win
yuzu: main: Increase the open file limit on Windows to 8192
5 years ago
bunnei b3bcf0fa88
Merge pull request #7700 from german77/no-gyro
core/hid: Reduce gyro threshold even more
5 years ago
Narr the Reg 8185509683
service/hid: Decrease motion update rate
Motion stops working in Mario Tennis in swing mode if the update rate is too fast even when HW it updates at the same speed. 10ms it's the minimum period that the game needs to start working again.
5 years ago
Narr the Reg d348070226
core/hid: Reduce gyro threshold even more 5 years ago
bunnei eb7197eb47
Merge pull request #7697 from abouvier/opt-tests
cmake: make tests optional
5 years ago
bunnei 49a0e4330e hle: kernel: k_page_table: Update SetProcessMemoryPermission. 5 years ago
bunnei 6ac44f3bdc hle: service: ldr: UnmapCodeMemory BSS only when set. 5 years ago
bunnei 6123b6ea45 hle: kernel: k_page_table: ReadAndWrite -> UserReadWrite. 5 years ago
bunnei 081669c334 hle: kernel: k_page_table: Rename *ProcessCodeMemory -> *CodeMemory. 5 years ago
bunnei 599c0763e5
Merge pull request #7684 from bunnei/set-mem-perm-attr
Kernel Memory Updates (Part 1): SetMemoryAttribute, and other minor changes.
5 years ago
Alexandre Bouvier c8b358dba2 cmake: make tests optional 5 years ago
Morph d92b5fc435 common: bit_util: Add IsPow2 helper function
Makes use of std::has_single_bit() to check whether the value is a power of 2.
5 years ago
bunnei c65c651b6f
Merge pull request #7633 from german77/hotkeys
yuzu: Add controller hotkeys
5 years ago
Morph 36da4d1121 yuzu: main: Increase the open file limit on Windows to 8192
This is a temporary solution for now to accommodate for mods containing more than 4096 files.
5 years ago
Morph b3308830b2
Merge pull request #7683 from liushuyu/fmt-8.1
logging: adapt to changes in fmt 8.1
5 years ago
Morph 18adea343e
Merge pull request #7687 from german77/tas_handle
input_common: Handle errors on TAS scripts
5 years ago
liushuyu 09f4f3f23b
logging/log.h: move enum class formatter to a separate file ...
... to common/logging/formatter.h
5 years ago
liushuyu 099dd0c0d2
logging/log: use `underlying_type` instead of hardcoding types 5 years ago
bunnei acbfb0083a
Merge pull request #7682 from german77/udp_fix
input_common: Fix UDP controller mappings
5 years ago
bunnei af4696657c core: hle: kernel: svc: Updates to SetMemoryAttribute and SetMemoryPermission. 5 years ago
german77 ea089c012e input_common: Handle errors on TAS scripts 5 years ago
bunnei b9a313057e core: hle: kernel: k_page_table: Update CheckMemoryState. 5 years ago
liushuyu 42f653ab6f
logging: adapt to changes in fmt 8.1 5 years ago
bunnei 26f4e92c1f
Merge pull request #7680 from german77/accel_mapping
input_common: Allow to only have acceleration motion data
5 years ago
german77 873d26b335 yuzu: Use pad parameter to choose the correct controller 5 years ago
german77 d05675242a input_common: Fix udp motion not automapping to both sides 5 years ago
german77 72c8a94a6c yuzu: Add controller hotkeys 5 years ago
german77 b94e947793 core/hid: Add home and screenshot button support 5 years ago
german77 50a7152941 core/hid: Set minimum gyro threshold 5 years ago
german77 4b4af29f86 input_common: Use accelerometer data for mapping 5 years ago
Fernando S a95c49e7d0
Merge pull request #7658 from ameerj/sparse-fixes
video_core/memory_manager: Fixes for sparse memory management
5 years ago
bunnei f46e1b8ca2
Merge pull request #7674 from lat9nq/fix-custom-highlight
configure_per_game: Initialize tabs after loading custom configuration
5 years ago
Mai M 7116a7d28b
Merge pull request #7673 from german77/no_return
glsl: Remove unreachable return
5 years ago
lat9nq 62c13e8318 configure_per_game: Initialize tabs after loading custom configuration
Changes tab initialization to happen after the configuration is loaded,
which means that it no longer happens as member initializers in the
ConfigurePerGame constructor. Removes the cluster of
??_tab->SetConfiguration's that I added earlier to get around this issue
initially.

Fixes a regression in #6774
5 years ago
Narr the Reg 41bbb31af4 video_core: Remove unnecesary maybe_unused flag 5 years ago
Narr the Reg 524674aafc glsl: Remove unreachable return 5 years ago
bunnei afb06b1495
Merge pull request #7636 from vonchenplus/buffer_queue_query
core:hle:service:nvflinger Implement few type in bufferqueue query method
5 years ago
Fernando S 118d5fa3b0
Merge pull request #7670 from ameerj/vsync-block
gpu: Add shut down method to synchronize threads before destruction
5 years ago
bunnei c68a0d17fc
Merge pull request #7251 from FernandoS27/shader-dump
ShaderDecompiler: Add a debug option to dump the game's shaders.
5 years ago
ameerj c17938f96b gpu: Add shut down method to synchronize threads before destruction 5 years ago
Fernando Sahmkow f58ee3f15f ShaderDecompiler: Add a debug option to dump the game's shaders. 5 years ago
ameerj 7652543231 Revert "Merge pull request #7668 from ameerj/fence-stop-token"
This reverts commit e773354477, reversing
changes made to abbbdc2bc0.
5 years ago
bunnei e773354477
Merge pull request #7668 from ameerj/fence-stop-token
gpu: Use std::stop_token in WaitFence for VSync thread
5 years ago
bunnei abbbdc2bc0
Merge pull request #7664 from german77/fallback
core/hid: Add fallback to fullkey controllers
5 years ago
bunnei 05b7b177f6
Merge pull request #7662 from german77/uistatus
yuzu: Fix UI elements not updating correctly
5 years ago
bunnei b89d096652
Merge pull request #7663 from german77/applet
controller_applet: Only populate supported controllers
5 years ago
ameerj d866916f42 gpu: Use std::stop_token in WaitFence for VSync thread
Fixes a hang that may occur when stopping emulation and the VSync thread is blocked on the syncpoint condition variable.
5 years ago
Fernando S da8e0f6571
Merge pull request #7648 from bunnei/thread-pinning
core: hle: kernel: Implement thread pinning.
5 years ago
Fernando S 3fa9702952
Merge pull request #7624 from ameerj/intel-msaa-scale
vk_texture_cache: Use 3D scale helpers for MSAA texture scaling on Intel Windows drivers
5 years ago
Fernando S ae7da0b12d
Merge pull request #7629 from ameerj/nv-driver-fixes
shaders: Add fixes for NVIDIA drivers 495+
5 years ago
german77 7a13a515d9 core/hid: Add fallback to fullkey controllers 5 years ago
german77 133f497f84 controller_applet: Only populate supported controllers 5 years ago