summaryrefslogtreecommitdiff
path: root/src/common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #10970 from Morph1984/thingGravatar liamwhite2023-07-012-21/+27
|\ | | | | general: Misc changes that did not deserve their own PRs
| * ring_buffer: Fix const usage on std::spanGravatar Morph2023-06-301-1/+1
| |
| * scratch_buffer: Add member types to ScratchBufferGravatar Morph2023-06-301-20/+26
| | | | | | | | Allows for implicit conversion to std::span<T>.
* | Merge pull request #10950 from german77/mouse_tuneGravatar liamwhite2023-07-011-6/+4
|\ \ | |/ |/| input_common: Tune mouse controls
| * input_common: Tune mouse controlsGravatar Narr the Reg2023-06-281-6/+4
| |
* | Merge pull request #10935 from Morph1984/mwaitxGravatar liamwhite2023-06-294-14/+41
|\ \ | | | | | | x64: Make use of monitorx instructions for power efficient sleeps (AMD)
| * | x64: cpu_wait: Implement MWAITX for non-MSVC compilersGravatar Morph2023-06-281-0/+10
| | |
| * | x64: cpu_wait: Remove magic valuesGravatar Morph2023-06-281-3/+8
| | |
| * | x64: cpu_wait: Make use of MWAITX in MicroSleepGravatar Morph2023-06-281-12/+21
| | | | | | | | | | | | | | | MWAITX is equivalent to UMWAIT on Intel's Alder Lake CPUs. We can emulate TPAUSE by using MONITORX in conjunction with MWAITX to wait for 100K cycles.
| * | x64: Add detection of monitorx instructionsGravatar Morph2023-06-283-0/+3
| |/ | | | | | | monitorx introduces 2 instructions: MONITORX and MWAITX.
* / input_common: Remove duplicated DriverResult enumGravatar german772023-06-281-0/+2
|/
* settings: Clean up includesGravatar lat9nq2023-06-271-2/+3
| | | | | | Adds <version> since we are looking at C++ implementation version details. Also moves exception header includes into the if preprocessor command since we only use it there.
* settings: Catch runtime_error, fallback time zoneGravatar lat9nq2023-06-271-3/+15
| | | | | | Windows will let you select time zones that will fail in their own C++ implementation library. Evidently from the stack trace, we get a runtime error to work with, so catch it and use the fallback.
* Merge pull request #10495 from bm01/masterGravatar liamwhite2023-06-271-2/+9
|\ | | | | input_common: Redesign mouse panning
| * input_common: Redesign mouse panningGravatar Baptiste Marie2023-06-121-2/+9
| |
* | android: Fix size check for content urisGravatar Charles Lombardo2023-06-261-0/+6
| | | | | | | | Fix for checking file size for android content uris
* | Merge pull request #10859 from liamwhite/no-more-atomic-waitGravatar liamwhite2023-06-231-1/+1
|\ \ | | | | | | general: remove atomic signal and wait
| * | general: remove atomic signal and waitGravatar Liam2023-06-221-1/+1
| | |
* | | Merge pull request #10842 from german77/native_mifareGravatar liamwhite2023-06-231-4/+39
|\ \ \ | | | | | | | | input_common: Implement native mifare/skylander support for joycons/pro controller
| * | | input_common: Implement native mifare supportGravatar Narr the Reg2023-06-211-4/+39
| | | |
* | | | Merge pull request #10457 from Kelebek1/optimiseGravatar bunnei2023-06-222-1/+11
|\ \ \ \ | | | | | | | | | | Remove memory allocations in some hot paths
| * | | | Remove memory allocations in some hot pathsGravatar Kelebek12023-06-222-1/+11
| | |/ / | |/| |
* | | | Merge pull request #10806 from liamwhite/worst-fs-implementation-everGravatar bunnei2023-06-222-5/+5
|\ \ \ \ | |/ / / |/| | | vfs_real: misc optimizations
| * | | vfs_real: misc optimizationsGravatar Liam2023-06-162-5/+5
| |/ /
* | | Merge pull request #10086 from Morph1984/coretiming-ng-1Gravatar bunnei2023-06-2110-274/+223
|\ \ \ | | | | | | | | core_timing: Use CNTPCT as the guest CPU tick
| * | | core_timing: Fix SingleCore cycle timerGravatar Morph2023-06-071-16/+20
| | | |
| * | | (wall, native)_clock: Add GetGPUTickGravatar Morph2023-06-074-4/+34
| | | | | | | | | | | | | | | | Allows us to directly calculate the GPU tick without double conversion to and from the host clock tick.
| * | | core_timing: Use CNTPCT as the guest CPU tickGravatar Morph2023-06-071-0/+17
| | | | | | | | | | | | | | | | | | | | Previously, we were mixing the raw CPU frequency and CNTFRQ. The raw CPU frequency (1020 MHz) should've never been used as CNTPCT (whose frequency is CNTFRQ) is the only counter available.
| * | | (wall, native)_clock: Rework NativeClockGravatar Morph2023-06-075-259/+94
| | | |
| * | | x64: Deduplicate RDTSC usageGravatar Morph2023-06-075-19/+82
| | | |
* | | | Merge pull request #10777 from liamwhite/no-barrierGravatar bunnei2023-06-211-0/+1
|\ \ \ \ | |_|/ / |/| | | video_core: optionally skip barriers on feedback loops
| * | | video_core: optionally skip barriers on feedback loopsGravatar Liam2023-06-141-0/+1
| | | |
* | | | android: fs: Fix Exists / IsFile for SAF.Gravatar bunnei2023-06-152-1/+31
|/ / /
* | | Merge pull request #10603 from lat9nq/tz-more-completeGravatar bunnei2023-06-133-15/+85
|\ \ \ | |_|/ |/| | core,common: Implement missing time zone data/computations
| * | time_zone: Handle offset time zonesGravatar lat9nq2023-06-051-38/+26
| | | | | | | | | | | | | | | | | | | | | | | | time_zone: Remove maybe_unused time_zone: Use s64 storages time_zone: Catch by reference
| * | common: Move system time zone string detectionGravatar lat9nq2023-06-053-76/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moves it from Settings to Common::TimeZone, since this algorithm doesn't depend on the setting. It also lets us use it in other libraries. common: Various fixes time_zone: Don't double up the std::abs Too many absolute values were causing mirrored time zones to resolve as the same.
| * | settings: Always report a valid time zoneGravatar lat9nq2023-06-051-2/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevents needing to deduce the non-Switch setting in core. Instead, we deduce the meaning of this setting where the heresy is committed, in common. settings: Remove strftime usage GetTimeZoneString: Use standard features Also forces GMT on MinGW due to broken strftime.
* | | Merge pull request #10623 from german77/backupGravatar liamwhite2023-06-083-0/+3
|\ \ \ | | | | | | | | service: nfc: Add backup support
| * | | service: nfc: Add backup supportGravatar german772023-06-063-0/+3
| | |/ | |/|
* | | Merge pull request #10666 from liamwhite/my-framerate-is-fineGravatar liamwhite2023-06-082-0/+2
|\ \ \ | | | | | | | | nvnflinger: allow locking framerate during video playback
| * | | nvnflinger: allow locking framerate during video playbackGravatar Liam2023-06-082-0/+2
| |/ /
* / / Fix potentially uninitialized local variable warningGravatar Tokarev Artem2023-06-091-1/+1
|/ /
* | Merge pull request #10508 from yuzu-emu/limeGravatar bunnei2023-06-0513-6/+322
|\ \ | |/ |/| Project Lime - yuzu Android Port
| * Use yuzu as category instead of citraGravatar Narr the Reg2023-06-031-1/+1
| |
| * common: link libandroid on androidGravatar Liam2023-06-031-0/+5
| |
| * common: dynamic_library: Add ctor for existing handle.Gravatar bunnei2023-06-032-0/+5
| |
| * android: Implement SAF support & migrate to SDK 31. (#4)Gravatar bunnei2023-06-036-9/+236
| |
| * common: error: Fix for Android.Gravatar bunnei2023-06-031-1/+2
| |
| * common: fs: Implement for Android.Gravatar bunnei2023-06-031-0/+7
| |
| * common: logging: Implement Android logcat backend.Gravatar bunnei2023-06-033-0/+63
| |