summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Merge pull request #7695 from Morph1984/is-pow2Gravatar bunnei2022-01-201-0/+6
|\ \ \ \ \ | |_|_|/ / |/| | | | common: bit_util: Add IsPow2 helper function
| * | | | common: bit_util: Add IsPow2 helper functionGravatar Morph2022-01-111-0/+6
| | | | | | | | | | | | | | | | | | | | Makes use of std::has_single_bit() to check whether the value is a power of 2.
* | | | | Merge pull request #7710 from german77/just-shake-itGravatar bunnei2022-01-201-1/+1
|\ \ \ \ \ | | | | | | | | | | | | core/hid: Increment shake force
| * | | | | core/hid: Increment shake forceGravatar Narr the Reg2022-01-141-1/+1
| | | | | | | | | | | | | | | | | | 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
* | | | | | video_core: constify AVCodec for ffmpeg >= 5.0Gravatar Jan Beich2022-01-201-1/+1
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~
* | | | | Merge pull request #7726 from german77/clampGravatar Morph2022-01-191-1/+2
|\ \ \ \ \ | | | | | | | | | | | | service/hid: Initialize applet_resource on SetNpadAnalogStickUseCenterClamp
| * | | | | service/hid: Initialize applet_resource on SetNpadAnalogStickUseCenterClampGravatar german772022-01-191-1/+2
| | | | | |
* | | | | | vulkan_device: Fix sType for VkPhysicalDeviceShaderAtomicInt64FeaturesGravatar Georg Lehmann2022-01-191-1/+1
| | | | | |
* | | | | | Merge pull request #7701 from bunnei/clear-mem-pagesGravatar bunnei2022-01-185-16/+34
|\ \ \ \ \ \ | | | | | | | | | | | | | | Kernel Memory Updates (Part 3): Clear KMemoryManager pages & other fixes
| * | | | | | hle: kernel: k_memory_manager: Clear pages on allocation & free.Gravatar bunnei2022-01-145-16/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Heap pages should be zero'd. - Also explicitly passed along heap allocation option.
* | | | | | | Merge pull request #7715 from gidoly/patch-4Gravatar bunnei2022-01-181-2/+2
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | Xbox controller default name nit pick
| * | | | | | Xbox controller default name nit pickGravatar gidoly2022-01-161-2/+2
| | |_|_|_|/ | |/| | | | | | | | | | Discord User moon lacer pointed us that official name is 'Xbox' not 'XBox'
* | | | | | Merge pull request #7725 from german77/mouse_in_motionGravatar bunnei2022-01-185-1/+64
|\ \ \ \ \ \ | | | | | | | | | | | | | | input_common: Reintroduce motion from mouse and use button names
| * | | | | | input_common: Reintroduce motion from mouse and use button namesGravatar german772022-01-165-1/+64
| |/ / / / /
* | | | | | Merge pull request #7712 from bunnei/fix-thread-exitGravatar bunnei2022-01-1711-39/+181
|\ \ \ \ \ \ | | | | | | | | | | | | | | Accurately implement thread exit
| * | | | | | core: hle: kernel: KThread: Integrate with KWorkerTask and implement ↵Gravatar bunnei2022-01-142-2/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | | core: hle: kernel: KProcess: Integrate with KWorkerTask and add ↵Gravatar bunnei2022-01-142-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | unimplemented DoWorkerTaskImpl.
| * | | | | | core: hle: kernel: KThread: Replace Suspend with UpdateState & various updates.Gravatar bunnei2022-01-142-33/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - This makes our implementations of these more closely match HOS.
| * | | | | | core: hle: kernel: Instantiate a kernel instance of KWorkerTaskManager.Gravatar bunnei2022-01-142-0/+18
| | | | | | |
| * | | | | | core: hle: kernel: Add KWorkerTask and KWorkerTaskManager.Gravatar bunnei2022-01-144-0/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - These primitives are used to dispatch asynchronous kernel tasks from KThread and KProcess.
| * | | | | | common: fiber: YieldTo: Avoid hard crash on nullptr previous_fiber.Gravatar bunnei2022-01-141-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - When the emulator crashes to desktop below, we don't even get this captured in a log, making such issues harder to debug.
* | | | | | | Merge pull request #7724 from ameerj/astc_new_nvGravatar bunnei2022-01-171-34/+46
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | astc_decoder: Combine FastReplicate functions to work around new NV driver bug
| * | | | | | | astc_decoder: Combine FastReplicate functions to work around new NV driver bugGravatar ameerj2022-01-161-34/+46
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | Merge pull request #7732 from v1993/patch-7Gravatar bunnei2022-01-171-2/+0
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | kernel: remove no-op code
| * | | | | | | hle: remove no-op codeGravatar Valeri2022-01-171-2/+0
| | |_|_|_|_|/ | |/| | | | | | | | | | | | Found by static analysis with PVS-Studio. Nobody seems to really know what was it doing there.
* | | | | | | Merge pull request #7730 from v1993/patch-6Gravatar Mai M2022-01-171-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | input_common: nitpick about SetHatButton usage
| * | | | | | | input_common: nitpick about SetHatButton usageGravatar Valeri2022-01-171-1/+1
| | |/ / / / / | |/| | | | |
* | | | | | | Merge pull request #7729 from v1993/patch-5Gravatar Mai M2022-01-171-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | input_common: fix copy-paste error
| * | | | | | | input_common: fix copy-paste errorGravatar Valeri2022-01-171-1/+1
| |/ / / / / / | | | | | | | | | | | | | | Found by static analysis with PVS-Studio.
* | | | | | | Merge pull request #7728 from v1993/patch-4Gravatar Mai M2022-01-171-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | hid: fix std::transform call
| * | | | | | | hid: fix std::transform callGravatar Valeri2022-01-171-1/+1
| |/ / / / / / | | | | | | | | | | | | | | Found by static analysis with PVS-Studio.
* | | | | | | Merge pull request #7727 from v1993/patch-3Gravatar Mai M2022-01-171-1/+1
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | hid: Correct assignment source for rotations
| * | | | | | Correct assignment source for rotationsGravatar Valeri2022-01-171-1/+1
| |/ / / / / | | | | | | | | | | | | Found by static analysis with PVS-Studio
* | | | | | uisettings: Add enumeration type for themesGravatar Morph2022-01-172-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | Eliminates the usage of a magic number to indicate the default index of the themes array,
* | | | | | config: Change default theme to Dark ColorfulGravatar gidoly2022-01-171-2/+2
|/ / / / /
* | | | | Merge pull request #7713 from gidoly/patch-3Gravatar bunnei2022-01-151-0/+6
|\ \ \ \ \ | | | | | | | | | | | | Change default name for playstation controllers
| * | | | | Change default name for ps controllersGravatar gidoly2022-01-151-0/+6
| | |/ / / | |/| | | | | | | | | | | | | Minor nitpick Code is from narr
* | | | | Merge pull request #7711 from bunnei/fix-service-thread-race-v2Gravatar bunnei2022-01-141-12/+11
|\ \ \ \ \ | |/ / / / |/| | | | hle: kernel: Fix service_threads access to be thread safe V2.
| * | | | hle: kernel: Fix service_threads access to be thread safe V2.Gravatar bunnei2022-01-141-12/+11
| |/ / / | | | | | | | | | | | | | | | | | | | | - 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.
* | | | Merge pull request #7707 from german77/slow-updateGravatar bunnei2022-01-141-1/+2
|\ \ \ \ | |/ / / |/| | | service/hid: Decrease motion update rate
| * | | service/hid: Decrease motion update rateGravatar Narr the Reg2022-01-121-1/+2
| |/ / | | | | | | 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.
* | | Merge pull request #7699 from bunnei/fix-service-thread-raceGravatar Mai M2022-01-141-7/+27
|\ \ \ | | | | | | | | hle: kernel: Fix service_threads access to be thread safe.
| * | | hle: kernel: Fix service_threads access to be thread safe.Gravatar bunnei2022-01-131-7/+27
| | | | | | | | | | | | | | | | | | | | - 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.
* | | | Merge pull request #7698 from bunnei/mem-code-memory-updatesGravatar Mai M2022-01-146-81/+107
|\ \ \ \ | |/ / / |/| | | Kernel Memory Updates (Part 2): SetProcessMemoryPermission, update permissions, and other minor changes.
| * | | hle: kernel: k_page_table: Update SetProcessMemoryPermission.Gravatar bunnei2022-01-116-45/+68
| | | |
| * | | hle: service: ldr: UnmapCodeMemory BSS only when set.Gravatar bunnei2022-01-111-3/+7
| | | |
| * | | hle: kernel: k_page_table: ReadAndWrite -> UserReadWrite.Gravatar bunnei2022-01-113-18/+18
| | | |
| * | | hle: kernel: k_page_table: Rename *ProcessCodeMemory -> *CodeMemory.Gravatar bunnei2022-01-114-20/+19
| | | |
* | | | Merge pull request #7690 from Morph1984/increase-file-limit-winGravatar bunnei2022-01-131-2/+2
|\ \ \ \ | | | | | | | | | | yuzu: main: Increase the open file limit on Windows to 8192
| * | | | yuzu: main: Increase the open file limit on Windows to 8192Gravatar Morph2022-01-091-2/+2
| | |_|/ | |/| | | | | | | | | | This is a temporary solution for now to accommodate for mods containing more than 4096 files.