summaryrefslogtreecommitdiff
path: root/src/core (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1136 from tech4me/masterGravatar bunnei2018-08-222-4/+4
|\ | | | | qt/main: Port part of citra(#3411), open savedata works
| * qt/main: Port part of citra(#3411), open savedata worksGravatar tech4me2018-08-212-4/+4
| |
* | Merge pull request #840 from FearlessTobi/port-3353Gravatar bunnei2018-08-223-7/+18
|\ \ | | | | | | Port #3353 from Citra: "citra-qt: Add customizable speed limit target "
| * | Port #3353 from CitraGravatar fearlessTobi2018-08-213-7/+18
| | |
* | | Added missing include for pl:uGravatar David Marcec2018-08-221-0/+1
| | | | | | | | | | | | Should fix any compile errors
* | | PL:U Added BFTTF loading(Loading from System NAND dumps) (#1088)Gravatar David2018-08-211-25/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added bfttf loading We can now load system bfttf fonts from system archives AND shared memory dumps. This allows people who have installed their system nand dumps to yuzu to automatically get shared font support. We also now don't hard code the offsets or the sizes of the shared fonts and it's all calculated for us now. * Addressed plu fixups * Style changes for plu * Fixed logic error for plu and added more error checks.
* | | Merge pull request #1145 from lioncash/fwd-declGravatar bunnei2018-08-215-4/+7
|\ \ \ | | | | | | | | vfs: Replace mode.h include with forward declarations where applicable
| * | | vfs: Replace mode.h include with forward declarations where applicableGravatar Lioncash2018-08-215-4/+7
| | | | | | | | | | | | | | | | | | | | Avoids the need to rebuild these source files if the mode header changes.
* | | | am: Utilize std::array within PopLaunchParameter()Gravatar Lioncash2018-08-211-3/+4
|/ / / | | | | | | | | | | | | | | | Gets rid of the potential for C array-to-pointer decay, and also makes pointer arithmetic to get the end of the copy range unnecessary. We can just use std::array's begin() and end() member functions.
* | | Merge pull request #1143 from lioncash/incGravatar bunnei2018-08-212-1/+1
|\ \ \ | | | | | | | | sdmc_factory: Remove unnecessary core include
| * | | sdmc_factory: Remove unnecessary core includeGravatar Lioncash2018-08-212-1/+1
| | |/ | |/| | | | | | | | | | This doesn't require the central core header to be included, it just needs the vfs headers.
* / | perf_stats: Change MAX_LAG_TIME_US to an appropriate valueGravatar MerryMage2018-08-211-1/+1
|/ / | | | | | | | | | | | | | | | | | | 25us is far too small, and would result in std::this_thread::sleep_for being called with this as a maximum value. This means that a guest application that produces frames instantly would only be limited to 40 kHz. 25ms is a more appropriate value, as it allows for a 60 Hz refresh rate while providing enough slack in the negative region.
* | Merge pull request #1129 from lioncash/headerGravatar bunnei2018-08-218-8/+34
|\ \ | | | | | | romfs_factory, service/filesystem: Use forward declarations where applicable
| * | service/filesystem: Use forward declarations where applicableGravatar Lioncash2018-08-206-5/+22
| | | | | | | | | | | | | | | | | | | | | | | | Avoids the need to rebuild multiple source files if the filesystem code headers change. This also gets rid of a few instances of indirect inclusions being relied upon
| * | romfs_factory: Remove unnecessary includes and use forward declarations ↵Gravatar Lioncash2018-08-203-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | where applicable Avoids the need to rebuild whatever includes the romfs factory header if the loader header ever changes. We also don't need to include the main core header. We can instead include the headers we specifically need.
* | | Merge pull request #1126 from lioncash/telemGravatar bunnei2018-08-201-4/+4
|\ \ \ | | | | | | | | telemetry_session: Don't allocate std::string instances for program lifetime in GetTelemetryId() and RegenerateTelemetryId()
| * | | telemetry_session: Don't allocate std::string instances for program lifetime ↵Gravatar Lioncash2018-08-201-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in GetTelemetryId() and RegenerateTelemetryId() Given these functions aren't intended to be used frequently, there's no need to keep the std::string instances allocated for the whole lifetime of the program. It's just a waste of memory.
* | | | Merge pull request #1122 from lioncash/accGravatar bunnei2018-08-204-57/+61
|\ \ \ \ | |_|/ / |/| | | acc/profile_manager: General cleanup
| * | | acc: Replace profile_manager include with a forward declarationGravatar Lioncash2018-08-202-2/+6
| | | | | | | | | | | | | | | | This is only used in a shared_ptr, so we can forward declare it.
| * | | acc: Simplify WriteBuffer call within LoadImage()Gravatar Lioncash2018-08-201-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | We have an overload of WriteBuffer that accepts containers that satisfy the ContiguousContainer concept, which std::array does, so we only need to pass in the array itself.
| * | | acc: Correct IProfile's constructor initializer list orderGravatar Lioncash2018-08-201-1/+1
| | | | | | | | | | | | | | | | Arranges them in the order the members would be initialized
| * | | acc: Remove unused DEFAULT_USER_IDGravatar Lioncash2018-08-201-3/+0
| | | | | | | | | | | | | | | | This is no longer used, so it can be removed.
| * | | profile_manager: Use INVALID_UUID in the initializer of last_opened_userGravatar Lioncash2018-08-201-1/+1
| | | | | | | | | | | | | | | | Makes it a little bit more self-documenting.
| * | | profile_manager: Remove unnecessary memcpy in GetProfileBaseAndData()Gravatar Lioncash2018-08-201-1/+1
| | | | | | | | | | | | | | | | | | | | Given the source and destination types are the same std::array type, we can simply use regular assignment to perform the same behavior.
| * | | profile_manager: Use type aliases for username data, profile data, and user ↵Gravatar Lioncash2018-08-202-19/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | arrays Avoids the need to repeatedly specify the whole array type in multiple places.
| * | | profile_manager: Take ProfileInfo by const reference where applicableGravatar Lioncash2018-08-202-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | ProfileInfo is quite a large struct in terms of data, and we don't need to perform a copy in these instances, so we can just pass constant references instead.
| * | | profile_manager: Make array parameter to CreateNewUser a const referenceGravatar Lioncash2018-08-202-2/+2
| | | | | | | | | | | | | | | | | | | | This doesn't modify the passed in array, so this can be a const reference.
| * | | profile_manager: Remove unnecessary staticGravatar Lioncash2018-08-201-1/+1
| | | | | | | | | | | | | | | | This can just be constexpr like the others
| * | | profile_manager: Simplify UUID's two param constructor, operator==, and ↵Gravatar Lioncash2018-08-201-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | operator bool We can use the constructor initializer list and just compare the contained u128's together instead of comparing each element individually. Ditto for comparing against an invalid UUID.
| * | | profile_manager: Move UUID generation function to the cpp fileGravatar Lioncash2018-08-202-10/+12
| | | | | | | | | | | | | | | | | | | | This avoids needing to dump the contents of <random> into other files that include the profile manager header.
| * | | profile_manager: Remove unnecessary std::move in AddToProfiles() and ↵Gravatar Lioncash2018-08-201-2/+2
| | |/ | |/| | | | | | | | | | | | | | | | | | | CreateNewUser() Moving a const reference isn't possible, so this just results in a copy (and given ProfileInfo is composed of trivial types and aggregates, a move wouldn't really do anything).
* | | Merge pull request #1095 from DarkLordZach/sysarchivesGravatar bunnei2018-08-208-20/+100
|\ \ \ | |_|/ |/| | filesystem: Add support for loading of system archives
| * | registration: Add Data_Unknown5 NCAContentTypeGravatar Zach Hilman2018-08-203-2/+3
| | |
| * | filesystem: Add support for loading of system archivesGravatar Zach Hilman2018-08-187-20/+99
| | |
* | | Merge pull request #1064 from lioncash/telemetryGravatar bunnei2018-08-201-62/+7
|\ \ \ | |_|/ |/| | common/telemetry: Migrate core-independent info gathering to common
| * | common/telemetry: Migrate core-independent info gathering to commonGravatar Lioncash2018-08-141-62/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously core itself was the library containing the code to gather common information (build info, CPU info, and OS info), however all of this isn't core-dependent and can be moved to the common code and use the common interfaces. We can then just call those functions from the core instead. This will allow replacing our CPU detection with Xbyak's which has better detection facilities than ours. It also keeps more architecture-dependent code in common instead of core.
* | | Merge pull request #1117 from ogniK5377/CheckFreeCommunicationPermissionGravatar bunnei2018-08-201-1/+8
|\ \ \ | | | | | | | | Added CheckFreeCommunicationPermission
| * | | Added CheckFreeCommunicationPermissionGravatar David Marcec2018-08-201-1/+8
| | |/ | |/| | | | | | | This fixes save files not loading in splatoon 2
* | | Merge pull request #1017 from ogniK5377/better-accountGravatar bunnei2018-08-2013-74/+440
|\ \ \ | |/ / |/| | New account backend to allow for future extended support
| * | Better UUID randomnessGravatar David Marcec2018-08-121-2/+7
| | |
| * | Removed un-needed count from ListOpenUsers and ListAllUsersGravatar David Marcec2018-08-121-4/+2
| | |
| * | Added better explanations in the profile managerGravatar David Marcec2018-08-122-1/+34
| | |
| * | Code cleanup for profile managerGravatar David Marcec2018-08-123-40/+47
| | |
| * | Removed const from ProfileBase InvalidateGravatar David Marcec2018-08-121-1/+1
| | |
| * | fixed invalid uuid bool operatorGravatar David Marcec2018-08-111-1/+1
| | |
| * | Added GetOpenUserCountGravatar David Marcec2018-08-113-3/+14
| | |
| * | Removed all for loops from the profile managerGravatar David Marcec2018-08-111-9/+4
| | |
| * | Added missing ListAllUsers countGravatar David Marcec2018-08-111-1/+2
| | |
| * | If statement style changeGravatar David Marcec2018-08-111-11/+19
| | |
| * | Second round of account changesGravatar David Marcec2018-08-113-18/+21
| | |