summaryrefslogtreecommitdiff
path: root/src/common (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | common: uuid: Use sizeof(u64) instead of 8 in Hash()Gravatar Morph2022-02-101-5/+5
| |
* | common: uuid: Return an invalid UUID if conversion from string failsGravatar Morph2022-02-051-14/+39
| | | | | | | | | | The string constructor of UUID states: Should the input string not meet the above requirements, an assert will be triggered and an invalid UUID is set instead.
* | general: Rename NewUUID to UUID, and remove the previous UUID implGravatar Morph2022-02-056-434/+256
| | | | | | | | This completes the removal of the old UUID implementation.
* | common: uuid: Add AsU128()Gravatar Morph2022-02-052-0/+9
| | | | | | | | This copies the internal bytes of the UUID into a u128 for backwards compatibility. This should not be used.
* | input/hid: Migrate to the new UUID implementationGravatar Morph2022-02-051-4/+4
| |
* | common: Implement NewUUIDGravatar Morph2022-02-053-0/+322
|/ | | | | This is a fixed and revised implementation of UUID that uses an array of bytes as its internal representation of a UUID instead of a u128 (which was an array of 2 u64s). In addition to this, the generation of RFC 4122 Version 4 compliant UUIDs is also implemented.
* common_types: Remove NonCopyable structGravatar Lioncash2022-02-021-10/+0
| | | | | Now that we're moved over to the YUZU_ defines, we can get rid of this struct.
* general: Replace NonCopyable struct with equivalentsGravatar Lioncash2022-02-021-9/+17
|
* Merge pull request #7807 from german77/moar-buttonsGravatar bunnei2022-02-011-0/+2
|\ | | | | input_common: Add home and hard touch press buttons to UDP controllers
| * input_common: Add home and hard touch press buttons to UDP controllersGravatar german772022-01-301-0/+2
| |
* | Merge pull request #7809 from Morph1984/clock-constantsGravatar bunnei2022-02-013-11/+19
|\ \ | | | | | | common: wall_clock: Utilize constants for ms, us, and ns ratios
| * | common: wall_clock: Check precision against the emulated CPU and CNTFRQGravatar Morph2022-01-302-8/+12
| | | | | | | | | | | | In addition to requiring nanosecond precision, using the native clock requires that the hardware TSC has a precision greater than the emulated CPU and its clock counter.
| * | common: wall_clock: Utilize constants for ms, us, and ns ratiosGravatar Morph2022-01-303-5/+9
| |/
* / common/file: Remove [[nodiscard]] from Open()Gravatar Lioncash2022-02-011-3/+2
|/ | | | | Since this has a void return value, there's nothing that can actually be used.
* Merge pull request #7791 from german77/wall_clockGravatar Morph2022-01-281-1/+3
|\ | | | | wall_clock: Use standard wall clock if rtsc frequency is too low
| * wall_clock: use standard wall clock if rtsc frequency is too lowGravatar german772022-01-271-1/+3
| |
* | common/xbyak_api: Make BuildRegSet() constexprGravatar Lioncash2022-01-261-8/+8
| | | | | | | | | | This allows us to eliminate any static constructors that would have been emitted due to the function not being constexpr.
* | yuzu: Add setting to disable controller navigationGravatar german772022-01-231-0/+1
|/
* 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 #7725 from german77/mouse_in_motionGravatar bunnei2022-01-181-0/+7
|\ \ | | | | | | input_common: Reintroduce motion from mouse and use button names
| * | input_common: Reintroduce motion from mouse and use button namesGravatar german772022-01-161-0/+7
| |/
* / 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.
* logging/log.h: move enum class formatter to a separate file ...Gravatar liushuyu2022-01-093-15/+25
| | | | ... to common/logging/formatter.h
* logging/log: use `underlying_type` instead of hardcoding typesGravatar liushuyu2022-01-081-2/+4
|
* logging: adapt to changes in fmt 8.1Gravatar liushuyu2022-01-081-1/+14
|
* ShaderDecompiler: Add a debug option to dump the game's shaders.Gravatar Fernando Sahmkow2022-01-041-0/+1
|
* Allow overriding SCM version infoGravatar Andrew Udvare2021-12-201-0/+5
| | | | | | If the build is from a non-repository, these functions will return empty. This patch allows using defines to CMake to set version info such as -DGIT_BRANCH=master.
* Merge pull request #7558 from Morph1984/unused-cpu-family-modelGravatar Mai M2021-12-141-12/+0
|\ | | | | common/cpu_detect: Remove CPU family and model
| * common/cpu_detect: Remove CPU family and modelGravatar Morph2021-12-131-12/+0
| | | | | | | | We currently do not make use of these fields, remove them for now.
* | common/input: Avoid numerous large copies of CallbackStatusGravatar Lioncash2021-12-131-2/+2
| | | | | | | | | | | | | | | | | | CallbackStatus instances aren't the cheapest things to copy around (relative to everything else), given that they're currently 520 bytes in size and are currently copied numerous times when callbacks are invoked. Instead, we can pass the status by const reference to avoid all the copying.
* | common/input: Remove unnecessary returnsGravatar Lioncash2021-12-131-6/+2
| | | | | | | | Given these return void, these can be omitted.
* | input_engine: Pass LedStatus by const referenceGravatar Lioncash2021-12-131-1/+1
| | | | | | | | Avoids copies where reasonably applicable
* | input_engine: Pass VibrationStatus by const reference in SetRumble()Gravatar Lioncash2021-12-131-4/+2
|/ | | | Avoids creating copies of the struct where not necessary.
* Merge pull request #7525 from german77/notifaGravatar bunnei2021-12-072-0/+2
|\ | | | | service/notif: Add notif:a and stub ListAlarmSettings, Initialize
| * service/notif: Add notif:a and stub ListAlarmSettings,InitializeGravatar german772021-12-062-0/+2
| | | | | | | | Used by ring fit adventure 1.2.0
* | general: Add missing copyright noticesGravatar ameerj2021-12-051-0/+4
|/
* native_clock: Wait for less time in EstimateRDTSCFrequencyGravatar Morph2021-12-031-18/+18
| | | | | In my testing, waiting for 200ms provided the same level of precision as the previous implementation when estimating the RDTSC frequency. This significantly improves the yuzu executable launch times since we reduced the wait time from 3 seconds to 200 milliseconds.
* general: Replace high_resolution_clock with steady_clockGravatar Morph2021-12-021-3/+3
| | | | On some OSes, high_resolution_clock is an alias to system_clock and is not monotonic in nature. Replace this with steady_clock.
* settings: Add debug setting to enable all controllersGravatar german772021-11-272-0/+6
|
* config: Remove vibration configurationGravatar german772021-11-261-2/+0
|
* input_common: Fully implement UDP controllersGravatar Narr the Reg2021-11-262-0/+15
|
* input_common: Move button names to the frontendGravatar german772021-11-241-0/+22
|
* core/hid: Fully implement native mouseGravatar german772021-11-242-5/+11
|
* input_common: Allow keyboard to be backwards compatibleGravatar german772021-11-241-2/+0
|
* core/hid: Improve accuracy of the keyboard implementationGravatar german772021-11-241-12/+23
|
* config: Cleanup and documentationGravatar german772021-11-242-6/+31
|
* core/hid: Prevent Emulated controller from flapping with multiple inputs devicesGravatar german772021-11-241-0/+4
|
* core/hid: Fully emulate motion from buttonGravatar german772021-11-241-0/+5
|
* second commit lion reviewGravatar german772021-11-241-1/+1
|