aboutsummaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2018-08-27Merge pull request #1168 from lioncash/headerbunnei
hid: Move core include to cpp file
2018-08-27Merge pull request #1171 from lioncash/truebunnei
core: Remove always true conditionals in Load()
2018-08-26set: Fixed GetAvailableLanguageCodes() to follow the max_entriestech4me
Rightnow, in games use GetAvailableLanguageCodes(), there is a WriteBuffer() with size larger than the buffer_size. (Core Critical core\hle\kernel\hle_ipc.cpp:WriteBuffer:296: size (0000000000000088) is greater than buffer_size (0000000000000078)) 0x88 = 17(languages) * 8 0x78 = 15(languages) * 8 GetAvailableLanguageCodes() can only support 15 languages. After firmware 4.0.0 there are 17 supported language instead of 15, to enable this GetAvailableLanguageCodes2() need to be used. So GetAvailableLanguageCodes() will be caped at 15 languages. Reference: http://switchbrew.org/index.php/Settings_services
2018-08-25kernel/error: Amend error code for ERR_MAX_CONNECTIONS_REACHEDLioncash
We can make this error code an alias of the resource limit exceeded error code, allowing us to get rid of the lingering 3DS error code of the same type.
2018-08-25kernel/error: Amend error code for ERR_PORT_NAME_TOO_LONGLioncash
We can treat this as an alias of TooLarge for documentation purposes. This also lets us get rid of another lingering 3DS-related error code.
2018-08-25kernel/error: Add error code for the handle table being fullLioncash
This replaces the lingering 3DS constant with the proper one, and utilizes it within HandleTable's Create() member function.
2018-08-25kernel/error: Add error code for invalid memory permissionsLioncash
2018-08-25kernel/error: Correct kernel error code for invalid combinationLioncash
2018-08-25Merge pull request #1166 from lioncash/typoSebastian Valle
filesystem: Fix typo in log message
2018-08-25svc: Return process title ID if queried in GetInfo()Lioncash
We already have the variable itself set up to perform this task, so we can just return its value from the currently executing process instead of always stubbing it to zero.
2018-08-24Merge pull request #1094 from DarkLordZach/nax0Mat M
file_sys: Add support for NAX archives
2018-08-24file_sys/crypto: Fix missing/unnecessary includesZach Hilman
2018-08-24core: Namespace all code in the arm subdirectory under the Core namespaceLioncash
Gets all of these types and interfaces out of the global namespace.
2018-08-24debug_utils: Remove unused includesLioncash
Quite a bit of these aren't necessary directly within the debug_utils header and can be removed or included where actually necessary.
2018-08-24Merge pull request #1065 from DarkLordZach/window-titleZach Hilman
qt: Add filename and title id to window title while running
2018-08-24core: Remove always true conditionals in Load()Lioncash
These conditions are always true, since the outer conditional already checks for these conditions.
2018-08-23hid: Move core include to cpp fileLioncash
This isn't required to be in the header. Instead, directly include what this header needs and move it to the cpp file where it belongs.
2018-08-23filesystem: Fix typo in log messageLioncash
2018-08-23xci: Ignore NCA files with updates in secureZach Hilman
2018-08-23content_archive: Add update title detectionZach Hilman
This is needed because the title IDs of update NCAs will not use the update title ID. The only sure way to tell is to look for a partition with BKTR crypto.
2018-08-23Added GetBootMode (#1107)David
* Added GetBootMode Used by homebrew * Added enum for GetBootMode
2018-08-23qt: Add filename and title id to window title while runningZach Hilman
2018-08-24Addressed plu TTF changesDavid Marcec
2018-08-23key_manager: Eliminate indexed for loopZach Hilman
2018-08-23key_manager: Create keys dir if it dosen't existZach Hilman
On call to WriteKeyToFile, so that the autogenerated file can be written.
2018-08-23file_sys: Cut down on includes and copiesZach Hilman
2018-08-23crypto: Eliminate magic constantsZach Hilman
2018-08-23key_manager: Add support for autogenerated keysZach Hilman
Stored in a separate file than manual keys.
2018-08-23key_manager: Add support for KEK and SD seed derivationZach Hilman
2018-08-23key_manager: Switch to boost flat_map for keysZach Hilman
Should make key gets marginally faster.
2018-08-23file_sys: Implement NAX containersZach Hilman
2018-08-23registration: Add GetEntryUnparsed methodsZach Hilman
Returns the file before calling parser on it.
2018-08-23sdmc_factory: Add SDMC RegisteredCache getterZach Hilman
2018-08-23vfs: Add GetOrCreateDirectoryRelative methodZach Hilman
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.