aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-05-24Merge pull request #6357 from lioncash/compressionbunnei
common/compression: Make use of std::span
2021-05-24Merge pull request #6312 from german77/analogMappingbunnei
input_common: Rewrite sdl analog mapping and fix controller disconnection crash
2021-05-24zstd_compression: Make use of std::spanLioncash
Allows for the incoming data stream to be non-allocating.
2021-05-24lz4_compression: Make use of std::spanLioncash
Allows making the incoming data stream non-allocating.
2021-05-24hid: ApplyNpadSystemCommonPolicyChloe Marcec
We already do this specifically for homebrew, so we can keep it stubbed out for the time being
2021-05-23settings: Forbid docked mode on handheldgerman77
2021-05-23Merge pull request #6347 from bunnei/ipc-improvements-next-2bunnei
Various improvements to IPC and session management (Part 2)
2021-05-22input_common: Add dual joycon supportgerman77
2021-05-22settings: Suppress duplicate label name warninggerman77
2021-05-22applets/swkbd: Make use of QueuedConnection in returnPressed signalMorph
Some users have reported rare crashes when pressing the Enter key on the keyboard to confirm input in the normal software keyboard, particularly in Super Smash Bros. Ultimate while entering the name of a ruleset or controller layout. It is suspected that the QLineEdit::returnPressed signal is causing a race condition as confirming input through other means does not produce the crash. Since Qt::QueuedConnection posts an event to the event queue of the callee's thread instead of executing it directly on the caller's thread, this eliminates any potential race conditions from occurring in this scenario.
2021-05-20Merge pull request #6248 from A-w-x/intelmesabunnei
gl_device: Intel: Disable texture view formats workaround on mesa
2021-05-20Merge pull request #6333 from Morph1984/swkbd-confirm-textbunnei
applets/swkbd: Send the correct text string on TextCheck::Confirm
2021-05-20hle: kernel: service_thread: Take reference to KServerSession on service ↵bunnei
request.
2021-05-20hle: kernel: k_port: Use AcceptSession to ensure SessionList state is correct.bunnei
- Fixes a use-after-free, work-around until we fixup session/port management.
2021-05-20hle: kernel: Use host memory allocations for KSlabMemory.bunnei
- There are some issues with the current workaround, we will just use host memory until we have a complete kernel memory implementation.
2021-05-20Revert "WORKAROUND: Do not use slab heap while we track down issues with ↵bunnei
resource management." This reverts commit f2c26443f85a3c3fd43137509368ba5c7ab80ee7.
2021-05-20hle: kernel: hle_ipc: Simplify incoming/outgoing move/copy/domain objects.bunnei
2021-05-20common: tree: Avoid a crash on nullptr dereference.bunnei
2021-05-20hle: kernel: Implement CloneCurrentObject and improve session management.bunnei
2021-05-20Revert "WORKAROUND: temp. disable session resource limits while we work out ↵bunnei
issues" This reverts commit fc086f93b2165b5c210cb7dcd6c18ebe17f1fd7b.
2021-05-20Merge pull request #6320 from Morph1984/get-pidbunnei
hle_ipc: Add a getter for PID
2021-05-20Merge pull request #6321 from lat9nq/per-game-cpubunnei
configuration: Add CPU tab to game properties and slight per-game settings rework
2021-05-20configure_cpu: Simplify UpdateGrouplat9nq
Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
2021-05-19Merge pull request #6297 from lioncash/common-convbunnei
parent_of_member: Make sign conversion explicit in OffsetOfImpl()
2021-05-19Merge pull request #6310 from german77/nanMotionbunnei
input_common: Sanitize motion data
2021-05-19configuration_shared: Drop unused function and template anotherlat9nq
Drops an unused variant of ApplyPerGameSetting, and turns the QComboBox variants of SetPerGameSetting into a template. Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
2021-05-19applets/swkbd: Send the correct text string on TextCheck::ConfirmMorph
Previously the text string for the inline software keyboard was being sent instead of the normal software keyboard, leading to empty text being sent all the time.
2021-05-18Merge pull request #6317 from ameerj/fps-fixbunnei
perf_stats: Rework FPS counter to be more accurate
2021-05-18KTransferMemory: Return size instead of size * PageSize in GetSize()Morph
size is already the size in bytes. We do not need to multiply it by the page size
2021-05-18hid/gesture: Factor out last gesture retrieval into its own functionLioncash
Deduplicates a commonly repeated expression.
2021-05-18hid/gesture: Ensure all ID arrays are initializedLioncash
Makes for deterministic initial state.
2021-05-18hid/gesture: Make Point a templateLioncash
We can now use this in a generic context to reuse it with the finger position.
2021-05-18hid/gesture: Replace x,y members of GestureState with a PointLioncash
Simplifies assignments.
2021-05-18hid/gesture: Add default comparators to PointLioncash
Simplifies some comparisons.
2021-05-18hid/gesture: Rename Points to PointLioncash
This only represents a single point
2021-05-17Merge pull request #6322 from ameerj/fast-null-bufferbunnei
buffer_cache: Ensure null buffers cannot take the fast uniform bind path
2021-05-17general: Demote custom_rtc to regular settinglat9nq
2021-05-17Merge pull request #6328 from Morph1984/enforce-c4715Mat M
CMakeLists: Enforce C4715 on MSVC
2021-05-17CMakeLists: Enforce C4715 on MSVCMorph
This is similar to -Werror=return-type
2021-05-16configure_debug: FIx duplicate labelsMorph
Duplicate labels were unintentionally introduced due to copy-paste. This silences the compilation warning produced by the presence of these duplicates.
2021-05-16yuzu/main: Fix version info in logging and about dialogMorph
2021-05-16Merge pull request #6319 from Morph1984/no-install-basebunnei
main: Prevent installing base titles into NAND
2021-05-16buffer_cache: Ensure null buffers cannot take the fast uniform bind pathameerj
Fixes a crash in New Pokemon Snap
2021-05-16Merge pull request #6284 from ameerj/shantae-fixbunnei
nvflinger: Create layers when they are queried but not found
2021-05-16Merge pull request #6296 from lioncash/shadow-errorbunnei
core: Make variable shadowing a compile-time error
2021-05-16Merge pull request #6307 from Morph1984/fix-response-push-sizebunnei
nifm, ssl: Fix incorrect response sizes
2021-05-16main: Prevent installing base titles into NANDMorph
Many users have been installing their base titles into NAND instead of adding them into the games list. This prevents users from installing any base titles and warns the user about the action.
2021-05-16hle_ipc: unsigned -> u32Morph
This is more concise and consistent with the rest of the codebase.
2021-05-16hle_ipc: Add a getter for PIDMorph
2021-05-16core: Make variable shadowing a compile-time errorLioncash
Now that we have most of core free of shadowing, we can enable the warning as an error to catch anything that may be remaining and also eliminate this class of logic bug entirely.