summaryrefslogtreecommitdiff
path: root/src/core (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | kernel/scheduler: Mark SchedulerLock constructor as nodiscardGravatar Lioncash2020-08-141-1/+1
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows the compiler to warn about cases where the constructor is used but then immediately discarded, which is a potential cause of locking/unlocking bugs.
* / | | | | | | | time_zone_content_manager: Collapse auto and default caseGravatar Lioncash2020-08-141-3/+1
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | Prevents a useless self-assignment from occurring.
* | | | | | | | Merge pull request #4495 from lioncash/convGravatar Rodrigo Locatti2020-08-141-1/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | cheat_engine: Resolve implicit bool->u64 conversion
| * | | | | | | | cheat_engine: Resolve implicit bool->u64 conversionGravatar Lioncash2020-08-061-1/+1
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | We can just return zero here.
* | | | | | | | Merge pull request #4511 from lioncash/build2Gravatar LC2020-08-137-43/+52
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | General: Tidy up clang-format warnings part 2
| * | | | | | | | General: Tidy up clang-format warnings part 2Gravatar Lioncash2020-08-137-43/+52
| | | | | | | | |
* | | | | | | | | Merge pull request #4497 from lioncash/freezer-algGravatar bunnei2020-08-112-16/+22
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | freezer: Make use of std::erase_if
| * | | | | | | | freezer: Move entry finding to its own functionGravatar Lioncash2020-08-062-12/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cleans up the callsites in other functions.
| * | | | | | | | freezer: Take address values by valueGravatar Lioncash2020-08-061-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | VAddr will always be 64-bit, so there's no need to take a trivial primitive alias by reference.
| * | | | | | | | freezer: Make use of std::erase_ifGravatar Lioncash2020-08-061-4/+1
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | With C++20 we can simplify the erasing idiom.
* | | | | | | | Merge pull request #4496 from lioncash/ce-desigGravatar bunnei2020-08-101-6/+18
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | cheat_engine: Make use of designated initializers
| * | | | | | | | cheat_engine: Make use of designated initializersGravatar Lioncash2020-08-061-6/+18
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | Same behavior, but makes the member being assigned obvious.
* | | | | | | | Merge pull request #4491 from lioncash/unused-varsGravatar bunnei2020-08-102-18/+11
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | kernel: Remove unused variables
| * | | | | | | | kernel: Remove unused variablesGravatar Lioncash2020-08-052-18/+11
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | Resolves a few compiler warnings.
* | | | | | | | Merge pull request #4488 from lioncash/fileGravatar bunnei2020-08-094-41/+41
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | vfs_vector: Make creation of array vfs files less verbose
| * | | | | | | | vfs_vector: Make creation of array vfs files less verboseGravatar Lioncash2020-08-054-41/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can add a helper function to make creation of these files nicer. While we're at it, we can eliminate an unnecessary std::array copy in the constructor. This makes the overhead on some of these functions way less intensive, given some arrays were quite large. e.g. The timezone location names are 9633 bytes in size.
* | | | | | | | | Merge pull request #4457 from ogniK5377/SetScreenShotPermissionGravatar bunnei2020-08-072-1/+12
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | am: Unstub SetScreenShotPermission
| * | | | | | | | | am: Unstub SetScreenShotPermissionGravatar David Marcec2020-08-012-1/+12
| | | | | | | | | |
* | | | | | | | | | common/concepts: Rename IsBaseOf to DerivedFromGravatar Lioncash2020-08-072-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes it more inline with its currently unavailable standardized analogue std::derived_from. While we're at it, we can also make the template match the requirements of the standardized variant as well.
* | | | | | | | | | Merge pull request #4483 from lioncash/constexpr-hexGravatar bunnei2020-08-062-98/+118
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | partition_data_manager: Make data arrays constexpr
| * | | | | | | | | | partition_data_manager: Update master key hashesGravatar Lioncash2020-08-061-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fills in some hashes that were previously unhandled.
| * | | | | | | | | | partition_data_manager: Make data arrays constexprGravatar Lioncash2020-08-062-98/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the constructor for all of these would run at program startup, consuming time before the application can enter main(). This is also particularly dangerous, given the logging system wouldn't have been initialized properly yet, yet the program would use the logs to signify an error. To rectify this, we can replace the literals with constexpr functions that perform the conversion at compile-time, completely eliminating the runtime cost of initializing these arrays.
* | | | | | | | | | | Merge pull request #4490 from lioncash/arbiterGravatar bunnei2020-08-062-2/+3
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / |/| | | | | | | | | | address_arbiter/scheduler: Resolve sign conversion warnings
| * | | | | | | | | | scheduler: Resolve sign conversion warningGravatar Lioncash2020-08-051-1/+2
| | | | | | | | | | |
| * | | | | | | | | | address_arbiter: Resolve sign conversion warningGravatar Lioncash2020-08-051-1/+1
| | |_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Makes our type conversion explicit.
* | | | | | | | | | Merge pull request #4489 from lioncash/typesafeGravatar bunnei2020-08-051-0/+4
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | ipc_helpers: Only allow trivially copyable objects with PushRaw() and PopRaw()
| * | | | | | | | | | ipc_helpers: Only allow trivially copyable objects with PushRaw() and PopRaw()Gravatar Lioncash2020-08-051-0/+4
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's undefined behavior to use non-trivially copyable objects with std::memcpy, so we can add asserts to catch usages of these at compile-time.
* | | | | | | | | | Merge pull request #4484 from lioncash/aesutilGravatar bunnei2020-08-057-27/+36
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | aes_util: Allow SetIV() to be non-allocating
| * | | | | | | | | | aes_util: Allow SetIV to be non-allocatingGravatar Lioncash2020-08-037-27/+36
| | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In a few places, the data to be set as the IV is already within an array. We shouldn't require this data to be heap-allocated if it doesn't need to be. This allows certain callers to reduce heap churn.
* | | | | | | | | | Merge pull request #4475 from lioncash/bqueueGravatar bunnei2020-08-051-10/+11
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | buffer_queue: Make use of designated initializers/std::nullopt where applicable
| * | | | | | | | | | buffer_queue: Make use of std::nulloptGravatar Lioncash2020-08-031-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows compilers to eliminate unnecessary zeroing out of the optional's buffer.
| * | | | | | | | | | buffer_queue: Make use of designated initializersGravatar Lioncash2020-08-031-5/+5
| | |_|_|_|/ / / / / | |/| | | | | | | |
* | | | | | | | | | Merge pull request #4444 from lioncash/volatileGravatar bunnei2020-08-051-6/+4
|\ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / |/| | | | | | | | | common/atomic_ops: Don't cast away volatile from pointers
| * | | | | | | | | common/atomic_ops: Don't cast away volatile from pointersGravatar Lioncash2020-07-281-6/+4
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Preserves the volatility of the pointers being casted.
* | | | | | | | | Merge pull request #4466 from ogniK5377/loader-type-safeGravatar bunnei2020-08-051-18/+34
|\ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / |/| | | | | | | | loader: Make IdentifyFile typesafe
| * | | | | | | | Place in anonymous namespaceGravatar David Marcec2020-08-031-0/+4
| | | | | | | | |
| * | | | | | | | loader: Make IdentifyFile typesafeGravatar David Marcec2020-08-031-20/+32
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | Relies on #4465 for concept.h Common::IsBaseOf
* | | | | | | | Merge pull request #4476 from lioncash/tzGravatar bunnei2020-08-041-17/+25
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | time_zone_binary: Make use of designated initializers
| * | | | | | | | time_zone_binary: Make use of designated initializersGravatar Lioncash2020-08-031-17/+25
| |/ / / / / / /
* | | | | | | | Merge pull request #4401 from ogniK5377/GetIndirectLayerImageRequiredMemoryInfoGravatar bunnei2020-08-041-1/+19
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | vi: IApplicationDisplayService:GetIndirectLayerImageRequiredMemoryInfo
| * | | | | | | | vi: IApplicationDisplayService:GetIndirectLayerImageRequiredMemoryInfoGravatar David Marcec2020-07-211-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Needed for dark souls and monster hunter
* | | | | | | | | Merge pull request #4430 from bunnei/new-gpu-vmmGravatar bunnei2020-08-044-93/+227
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | hle: nvdrv: Rewrite of GPU memory management.
| * | | | | | | | | Update src/core/hle/service/nvdrv/devices/nvmap.cppGravatar bunnei2020-07-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: LC <mathew1800@gmail.com>
| * | | | | | | | | hle: nvdrv: Rewrite of GPU memory management.Gravatar bunnei2020-07-264-93/+227
| | | | | | | | | |
* | | | | | | | | | Merge pull request #4472 from lioncash/const-getGravatar bunnei2020-08-042-15/+16
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | perf_stats: Mark GetMeanFrametime() as const
| * | | | | | | | | | perf_stats: Make use of designated initializersGravatar Lioncash2020-08-031-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Same behavior, but allows us to avoid a now-unnecessary zero initialization.
| * | | | | | | | | | perf_stats: Mark GetMeanFrametime() as constGravatar Lioncash2020-08-032-9/+9
| | |_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The general pattern is to mark mutexes as mutable when it comes to matters of constness, given the mutex acts as a transient member of a data structure.
* | | | | | | | | | Merge pull request #4470 from lioncash/qualifierGravatar David2020-08-041-2/+2
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | patch_manager: Resolve -Wignored-qualifier warnings
| * | | | | | | | | | patch_manager: Resolve -Wignored-qualifier warningsGravatar Lioncash2020-08-031-2/+2
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Top level const will always be ignored in this case, so it can be removed.
* | | | | | | | | | Merge pull request #4481 from lioncash/cpp-depGravatar David2020-08-043-21/+21
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | yuzu: Resolve C++20 deprecation warnings related to lambda captures