aboutsummaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2020-08-25Merge pull request #4563 from lioncash/rcachebunnei
registered_cache: Make use of designated initializers
2020-08-24logging/settings: Increase maximum log size to 100 MB and add extended ↵M&M
logging option The extended logging option is automatically disabled on boot but can be enabled afterwards, allowing the log file to go up to 1 GB during that session. This commit also fixes a few errors that are present in the general debug menu.
2020-08-24Merge pull request #4562 from lioncash/loopbunnei
cpu_manager: Make use of ranged for where applicable
2020-08-23Merge pull request #4561 from lioncash/key-constexprbunnei
key_manager: Make data arrays constexpr
2020-08-23Merge pull request #4549 from lioncash/filesbunnei
vfs_real: Avoid redundant map lookups
2020-08-23fsp_srv: Resolve -Wunused-but-set-variable warningLioncash
We can just log out the parameters in the meantime.
2020-08-23file_sys: Replace inclusions with forward declarations where applicableLioncash
Same behavior, minus unnecessary inclusions where not necessary.
2020-08-23fsp_srv: Resolve -Wmaybe_uninitialized warning in OpenSaveDataFileSystem()Lioncash
Initialize id to a deterministic value and also mark the unreachable cases in the switch with UNREACHABLE().
2020-08-23registered_cache: Make use of ends_with for string suffix checkingLioncash
Simplifies code.
2020-08-23registered_cache: Make use of designated initializersLioncash
Removes the need for comments to indicate the fields being assigned.
2020-08-23Merge pull request #4560 from lioncash/convertbunnei
core_timing: Resolve sign conversion warning
2020-08-22key_manager: Make data arrays constexprLioncash
We can convert these maps into constexpr arrays to eliminate some runtime static constructors.
2020-08-22cpu_manager: Make use of ranged for where applicableLioncash
We can simplify a few loops by making use of ranged for.
2020-08-22core_timing: Remove unused headerLioncash
2020-08-22core_timing: Move clock initializer into constructor initializer listLioncash
Same behavior, minus unnecessary zeroing out of the pointer.
2020-08-22core_timing: Resolve sign conversion warningLioncash
This constant is only ever assigned to downcount, which is a s64, not a u64.
2020-08-21Merge pull request #4541 from MerryMage/yolobunnei
dynarmic: Add unsafe optimizations
2020-08-18common/telemetry: Migrate namespace into the Common namespaceLioncash
Migrates the Telemetry namespace into the Common namespace to make the code consistent with the rest of our common code.
2020-08-18vfs_real: Resolve sign conversion warningsLioncash
2020-08-18vfs_real: Avoid redundant map lookupsLioncash
Avoids some trivially avoidable map lookups by keeping the result of find operations around and querying them.
2020-08-17Merge pull request #4535 from lioncash/fileutilbunnei
common/fileutil: Convert namespace to Common::FS
2020-08-17Merge pull request #4494 from lioncash/transcodebunnei
aes_util: Make use of non-template variant of Transcode
2020-08-16dynarmic: Add unsafe optimizationsMerryMage
2020-08-16common/fileutil: Convert namespace to Common::FSLioncash
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.
2020-08-15Merge pull request #4526 from lioncash/core-semibunnei
core: Resolve several -Wextra-semi warnings
2020-08-15Merge pull request #4527 from lioncash/pessimizing2bunnei
software_keyboard: Resolve a pessimizing move warning
2020-08-15Merge pull request #4492 from lioncash/linkagebunnei
system_control: Make functions internally linked where applicable
2020-08-15Merge pull request #4463 from lioncash/lockdiscardbunnei
kernel/scheduler: Mark SchedulerLock constructor as nodiscard
2020-08-14time_zone_content_manager: Collapse auto and default caseLioncash
Prevents a useless self-assignment from occurring.
2020-08-14software_keyboard: Resolve a pessimizing move warningLioncash
A std::vector created in place like this is already an rvalue and doesn't need to be moved.
2020-08-14core: Resolve several -Wextra-semi warningsLioncash
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.
2020-08-14emu_window: Mark Scoped constructor and Acquire() as nodiscardLioncash
Ensures that callers make use of the constructor, preventing bugs from silently occurring.
2020-08-14kernel/scheduler: Mark SchedulerLock constructor as nodiscardLioncash
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.
2020-08-14Merge pull request #4495 from lioncash/convRodrigo Locatti
cheat_engine: Resolve implicit bool->u64 conversion
2020-08-13Merge pull request #4511 from lioncash/build2LC
General: Tidy up clang-format warnings part 2
2020-08-13General: Tidy up clang-format warnings part 2Lioncash
2020-08-11Merge pull request #4497 from lioncash/freezer-algbunnei
freezer: Make use of std::erase_if
2020-08-10Merge pull request #4496 from lioncash/ce-desigbunnei
cheat_engine: Make use of designated initializers
2020-08-10Merge pull request #4491 from lioncash/unused-varsbunnei
kernel: Remove unused variables
2020-08-09Merge pull request #4488 from lioncash/filebunnei
vfs_vector: Make creation of array vfs files less verbose
2020-08-07Merge pull request #4457 from ogniK5377/SetScreenShotPermissionbunnei
am: Unstub SetScreenShotPermission
2020-08-07common/concepts: Rename IsBaseOf to DerivedFromLioncash
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.
2020-08-06Merge pull request #4483 from lioncash/constexpr-hexbunnei
partition_data_manager: Make data arrays constexpr
2020-08-06Merge pull request #4490 from lioncash/arbiterbunnei
address_arbiter/scheduler: Resolve sign conversion warnings
2020-08-06freezer: Move entry finding to its own functionLioncash
Cleans up the callsites in other functions.
2020-08-06freezer: Take address values by valueLioncash
VAddr will always be 64-bit, so there's no need to take a trivial primitive alias by reference.
2020-08-06freezer: Make use of std::erase_ifLioncash
With C++20 we can simplify the erasing idiom.
2020-08-06cheat_engine: Resolve implicit bool->u64 conversionLioncash
We can just return zero here.
2020-08-06cheat_engine: Make use of designated initializersLioncash
Same behavior, but makes the member being assigned obvious.
2020-08-06partition_data_manager: Update master key hashesLioncash
Fills in some hashes that were previously unhandled.