summaryrefslogtreecommitdiff
path: root/src/core (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | file_sys/patch_manager: Add missing includeGravatar ReinUsesLisp2020-09-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes build issues
* | | | | | | | Merge pull request #4568 from lioncash/fspGravatar bunnei2020-09-021-3/+13
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | fsp_srv: Resolve -Wmaybe_uninitialized warning in OpenSaveDataFileSystem()
| * | | | | | | | fsp_srv: Resolve -Wunused-but-set-variable warningGravatar Lioncash2020-08-231-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can just log out the parameters in the meantime.
| * | | | | | | | fsp_srv: Resolve -Wmaybe_uninitialized warning in OpenSaveDataFileSystem()Gravatar Lioncash2020-08-231-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initialize id to a deterministic value and also mark the unreachable cases in the switch with UNREACHABLE().
* | | | | | | | | Merge pull request #4564 from lioncash/file-includeGravatar bunnei2020-09-0227-37/+66
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | file_sys: Replace inclusions with forward declarations where applicable
| * | | | | | | | | file_sys: Replace inclusions with forward declarations where applicableGravatar Lioncash2020-08-2327-37/+66
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Same behavior, minus unnecessary inclusions where not necessary.
* | | | | | | | | Merge pull request #4382 from FearlessTobi/port-udp-configGravatar bunnei2020-09-014-3/+23
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | yuzu: Add motion and touch configuration from Citra
| * | | | | | | | | Address second batch of reviewsGravatar FearlessTobi2020-08-301-0/+1
| | | | | | | | | |
| * | | | | | | | | yuzu: Add motion and touch configurationGravatar FearlessTobi2020-08-293-3/+22
| | | | | | | | | |
* | | | | | | | | | Merge pull request #4589 from ReinUsesLisp/tsan-hostGravatar bunnei2020-08-311-1/+2
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | hle/kernel: Fix data race in GetCurrentHostThreadID
| * | | | | | | | | | hle/kernel: Fix data race in GetCurrentHostThreadIDGravatar ReinUsesLisp2020-08-261-1/+2
| | |_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As reported by tsan, host_thread_ids could be read while any of the RegisterHostThread variants were called. To fix this, lock the register mutex when yuzu is running in multicore mode and GetCurrentHostThreadID is called.
* | | | | | | | | | Merge pull request #4461 from comex/thread-namesGravatar LC2020-08-311-1/+1
|\ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / |/| | | | | | | | | Fix thread naming on Linux, which limits names to 15 bytes.
| * | | | | | | | | Fix thread naming on Linux, which limits names to 15 bytes.Gravatar comex2020-08-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - In `SetCurrentThreadName`, when on Linux, truncate to 15 bytes, as (at least on glibc) `pthread_set_name_np` will otherwise return `ERANGE` and do nothing. - Also, add logging in case `pthread_set_name_np` returns an error anyway. This is Linux-specific, as the Apple and BSD versions of `pthread_set_name_np return `void`. - Change the name for CPU threads in multi-core mode from "yuzu:CoreCPUThread_N" (19 bytes) to "yuzu:CPUCore_N" (14 bytes) so it fits into the Linux limit. Some other thread names are also cut off, but I didn't bother addressing them as you can guess them from the truncated versions. For a CPU thread, truncation means you can't see which core it is!
* | | | | | | | | | Merge pull request #4586 from yuzu-emu/tsan-cpu-interruptGravatar bunnei2020-08-282-5/+4
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | cpu_interrupt_handler: Make is_interrupted an atomic
| * | | | | | | | | | cpu_interrupt_handler: Misc style changesGravatar ReinUsesLisp2020-08-262-5/+3
| | | | | | | | | | |
| * | | | | | | | | | cpu_interrupt_handler: Make is_interrupted an atomicGravatar ReinUsesLisp2020-08-262-2/+3
| | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes a race condition detected from tsan
* | | | | | | | | | controllers/npad: Fix inconsistencies with controller connection statusesGravatar Morph2020-08-261-1/+7
| | | | | | | | | |
* | | | | | | | | | controllers/npad: Fix LibNX controller connection statusesGravatar Morph2020-08-261-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows homebrew applications to be able to properly detect connected controllers.
* | | | | | | | | | controllers/npad: Fix LedPattern for P1-4Gravatar Morph2020-08-261-3/+3
| | | | | | | | | |
* | | | | | | | | | Project Mjölnir: Part 1Gravatar Morph2020-08-265-510/+117
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: James Rowe <jroweboy@gmail.com> Co-authored-by: Its-Rei <kupfel@gmail.com>
* | | | | | | | | Merge pull request #4563 from lioncash/rcacheGravatar bunnei2020-08-251-17/+16
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ |/| | | | | | | | registered_cache: Make use of designated initializers
| * | | | | | | | registered_cache: Make use of ends_with for string suffix checkingGravatar Lioncash2020-08-231-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simplifies code.
| * | | | | | | | registered_cache: Make use of designated initializersGravatar Lioncash2020-08-231-15/+15
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | Removes the need for comments to indicate the fields being assigned.
* | | | | | | | Merge pull request #4562 from lioncash/loopGravatar bunnei2020-08-241-16/+13
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | cpu_manager: Make use of ranged for where applicable
| * | | | | | | | cpu_manager: Make use of ranged for where applicableGravatar Lioncash2020-08-221-16/+13
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | We can simplify a few loops by making use of ranged for.
* | | | | | | | Merge pull request #4561 from lioncash/key-constexprGravatar bunnei2020-08-232-75/+82
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | key_manager: Make data arrays constexpr
| * | | | | | | | key_manager: Make data arrays constexprGravatar Lioncash2020-08-222-75/+82
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can convert these maps into constexpr arrays to eliminate some runtime static constructors.
* | | | | | | | Merge pull request #4549 from lioncash/filesGravatar bunnei2020-08-231-32/+48
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | vfs_real: Avoid redundant map lookups
| * | | | | | | | vfs_real: Resolve sign conversion warningsGravatar Lioncash2020-08-181-2/+2
| | | | | | | | |
| * | | | | | | | vfs_real: Avoid redundant map lookupsGravatar Lioncash2020-08-181-30/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoids some trivially avoidable map lookups by keeping the result of find operations around and querying them.
* | | | | | | | | Merge pull request #4560 from lioncash/convertGravatar bunnei2020-08-233-8/+6
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | core_timing: Resolve sign conversion warning
| * | | | | | | | | core_timing: Remove unused headerGravatar Lioncash2020-08-223-2/+2
| | | | | | | | | |
| * | | | | | | | | core_timing: Move clock initializer into constructor initializer listGravatar Lioncash2020-08-221-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Same behavior, minus unnecessary zeroing out of the pointer.
| * | | | | | | | | core_timing: Resolve sign conversion warningGravatar Lioncash2020-08-221-2/+2
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This constant is only ever assigned to downcount, which is a s64, not a u64.
* | | | | | | | | Merge pull request #4541 from MerryMage/yoloGravatar bunnei2020-08-213-3/+29
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | dynarmic: Add unsafe optimizations
| * | | | | | | | dynarmic: Add unsafe optimizationsGravatar MerryMage2020-08-163-3/+29
| | | | | | | | |
* | | | | | | | | common/telemetry: Migrate namespace into the Common namespaceGravatar Lioncash2020-08-183-8/+11
| |/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrates the Telemetry namespace into the Common namespace to make the code consistent with the rest of our common code.
* | | | | | | | Merge pull request #4535 from lioncash/fileutilGravatar bunnei2020-08-1720-320/+398
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | common/fileutil: Convert namespace to Common::FS
| * | | | | | | | common/fileutil: Convert namespace to Common::FSGravatar Lioncash2020-08-1620-320/+398
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrates a remaining common file over to the Common namespace, making it consistent with the rest of common files. This also allows for high-traffic FS related code to alias the filesystem function namespace as namespace FS = Common::FS; for more concise typing.
* | | | | | | | Merge pull request #4494 from lioncash/transcodeGravatar bunnei2020-08-172-3/+3
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | aes_util: Make use of non-template variant of Transcode
| * | | | | | | partition_data_manager: Eliminate magic valueGravatar Lioncash2020-08-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can use sizeof to make it obvious at the call site where the value is coming from.
| * | | | | | | aes_util: Make use of non-template variant of TranscodeGravatar Lioncash2020-08-061-1/+1
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | Same behavior, less template instantiations.
* | | | | | | Merge pull request #4526 from lioncash/core-semiGravatar bunnei2020-08-153-7/+12
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | core: Resolve several -Wextra-semi warnings
| * | | | | | | core: Resolve several -Wextra-semi warningsGravatar Lioncash2020-08-143-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can amend one of the cascade macros to require semicolons in order to compile. In other cases, we can just remove the superfluous semicolons.
* | | | | | | | Merge pull request #4527 from lioncash/pessimizing2Gravatar bunnei2020-08-151-2/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | software_keyboard: Resolve a pessimizing move warning
| * | | | | | | | software_keyboard: Resolve a pessimizing move warningGravatar Lioncash2020-08-141-2/+1
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A std::vector created in place like this is already an rvalue and doesn't need to be moved.
* | | | | | | | Merge pull request #4492 from lioncash/linkageGravatar bunnei2020-08-152-15/+11
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | system_control: Make functions internally linked where applicable
| * | | | | | | | system_control: Make functions internally linked where applicableGravatar Lioncash2020-08-052-15/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These functions are only ever used internally as implementation details for GenerateRandomRange(), so these can be given internal linkage.
* | | | | | | | | Merge pull request #4463 from lioncash/lockdiscardGravatar bunnei2020-08-152-3/+3
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | kernel/scheduler: Mark SchedulerLock constructor as nodiscard
| * | | | | | | | | emu_window: Mark Scoped constructor and Acquire() as nodiscardGravatar Lioncash2020-08-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensures that callers make use of the constructor, preventing bugs from silently occurring.