aboutsummaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2018-08-23filesystem: Add CreateFactories methods to fsZach Hilman
Allows frontend to create registration caches for use before a game has booted.
2018-08-23filesystem: Add logging to registration gettersZach Hilman
2018-08-23loader: Add new NAX-specific errors and messagesZach Hilman
2018-08-23nax: Add AppLoader_NAX and update loader to support itZach Hilman
2018-08-23xts_encryption_layer: Implement XTSEncryptionLayerZach Hilman
2018-08-23aes_util: Make XTSTranscode stricter about sizesZach Hilman
XTS with Nintendo Tweak will fail mysteriously if the sector size is not 0x4000. Upgrade the critical log to an assert to prevent undefined behavior.
2018-08-23ctr_encryption_layer: Fix bug when transcoding small dataZach Hilman
Fixes a bug where data lengths of less than size 0x10 will fail or have misleading return values.
2018-08-23xci: Fix error masking issueZach Hilman
Prevents NCA-related errors from being masked into MissingProgramNCA or MissingKeyFile
2018-08-23Added SharedFonts loading via TTFDavid Marcec
By having the following TTF files in your yuzu sysdata directory. You can load sharedfonts via TTF files. FontStandard.ttf FontChineseSimplified.ttf FontExtendedChineseSimplified.ttf FontChineseTraditional.ttf FontKorean.ttf FontNintendoExtended.ttf FontNintendoExtended2.ttf
2018-08-22Merge pull request #1136 from tech4me/masterbunnei
qt/main: Port part of citra(#3411), open savedata works
2018-08-22Merge pull request #840 from FearlessTobi/port-3353bunnei
Port #3353 from Citra: "citra-qt: Add customizable speed limit target "
2018-08-22Added missing include for pl:uDavid Marcec
Should fix any compile errors
2018-08-21PL:U Added BFTTF loading(Loading from System NAND dumps) (#1088)David
* 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.
2018-08-21Merge pull request #1145 from lioncash/fwd-declbunnei
vfs: Replace mode.h include with forward declarations where applicable
2018-08-21vfs: Replace mode.h include with forward declarations where applicableLioncash
Avoids the need to rebuild these source files if the mode header changes.
2018-08-21am: Utilize std::array within PopLaunchParameter()Lioncash
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.
2018-08-21Merge pull request #1143 from lioncash/incbunnei
sdmc_factory: Remove unnecessary core include
2018-08-21perf_stats: Change MAX_LAG_TIME_US to an appropriate valueMerryMage
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.
2018-08-21sdmc_factory: Remove unnecessary core includeLioncash
This doesn't require the central core header to be included, it just needs the vfs headers.
2018-08-21qt/main: Port part of citra(#3411), open savedata workstech4me
2018-08-21Merge pull request #1129 from lioncash/headerbunnei
romfs_factory, service/filesystem: Use forward declarations where applicable
2018-08-20service/filesystem: Use forward declarations where applicableLioncash
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
2018-08-20Merge pull request #1126 from lioncash/telembunnei
telemetry_session: Don't allocate std::string instances for program lifetime in GetTelemetryId() and RegenerateTelemetryId()
2018-08-20Merge pull request #1122 from lioncash/accbunnei
acc/profile_manager: General cleanup
2018-08-20romfs_factory: Remove unnecessary includes and use forward declarations ↵Lioncash
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.
2018-08-20Merge pull request #1095 from DarkLordZach/sysarchivesbunnei
filesystem: Add support for loading of system archives
2018-08-20telemetry_session: Don't allocate std::string instances for program lifetime ↵Lioncash
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.
2018-08-20acc: Replace profile_manager include with a forward declarationLioncash
This is only used in a shared_ptr, so we can forward declare it.
2018-08-20acc: Simplify WriteBuffer call within LoadImage()Lioncash
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.
2018-08-20acc: Correct IProfile's constructor initializer list orderLioncash
Arranges them in the order the members would be initialized
2018-08-20acc: Remove unused DEFAULT_USER_IDLioncash
This is no longer used, so it can be removed.
2018-08-20profile_manager: Use INVALID_UUID in the initializer of last_opened_userLioncash
Makes it a little bit more self-documenting.
2018-08-20profile_manager: Remove unnecessary memcpy in GetProfileBaseAndData()Lioncash
Given the source and destination types are the same std::array type, we can simply use regular assignment to perform the same behavior.
2018-08-20profile_manager: Use type aliases for username data, profile data, and user ↵Lioncash
arrays Avoids the need to repeatedly specify the whole array type in multiple places.
2018-08-20profile_manager: Take ProfileInfo by const reference where applicableLioncash
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.
2018-08-20profile_manager: Make array parameter to CreateNewUser a const referenceLioncash
This doesn't modify the passed in array, so this can be a const reference.
2018-08-20profile_manager: Remove unnecessary staticLioncash
This can just be constexpr like the others
2018-08-20profile_manager: Simplify UUID's two param constructor, operator==, and ↵Lioncash
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.
2018-08-20profile_manager: Move UUID generation function to the cpp fileLioncash
This avoids needing to dump the contents of <random> into other files that include the profile manager header.
2018-08-20Merge pull request #1064 from lioncash/telemetrybunnei
common/telemetry: Migrate core-independent info gathering to common
2018-08-21Port #3353 from CitrafearlessTobi
2018-08-20registration: Add Data_Unknown5 NCAContentTypeZach Hilman
2018-08-20profile_manager: Remove unnecessary std::move in AddToProfiles() and ↵Lioncash
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).
2018-08-20Merge pull request #1117 from ogniK5377/CheckFreeCommunicationPermissionbunnei
Added CheckFreeCommunicationPermission
2018-08-20Merge pull request #1017 from ogniK5377/better-accountbunnei
New account backend to allow for future extended support
2018-08-20Added CheckFreeCommunicationPermissionDavid Marcec
This fixes save files not loading in splatoon 2
2018-08-18filesystem: Add support for loading of system archivesZach Hilman
2018-08-17Implement SetIdleTimeDetectionExtension & GetIdleTimeDetectionExtension (#1059)greggameplayer
* Used by Mario Tennis Aces
2018-08-17Merge pull request #1090 from lioncash/ctor-assignbunnei
core: Delete System copy/move constructors and assignment operators
2018-08-17Merge pull request #1093 from ↵bunnei
greggameplayer/GetDefaultDisplayResolutionChangeEvent Implement GetDefaultDisplayResolutionChangeEvent