summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-08-20Merge pull request #1122 from lioncash/accbunnei
acc/profile_manager: General cleanup
2018-08-20Merge pull request #1095 from DarkLordZach/sysarchivesbunnei
filesystem: Add support for loading of system archives
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-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 #1104 from Subv/instanced_arraysbunnei
GLRasterizer: Implemented instanced vertex arrays.
2018-08-20Merge pull request #1115 from Subv/texs_maskbunnei
Shaders/TEXS: Write to the correct output register when swizzling.
2018-08-20Merge pull request #1112 from Subv/sampler_typesbunnei
Shaders: Use the correct shader type when sampling textures.
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-20Merge pull request #1120 from ogniK5377/rgba8-uintbunnei
Implemented RGBA8_UINT
2018-08-20Implemented RGBA8_UINTDavid Marcec
Needed by kirby
2018-08-20game_list: Avoid uninitialized variables when retrieving program IDLioncash
Avoids potentially leaving this variable uninitialized based off the loader failing to retrieve the ID value.
2018-08-20Added CheckFreeCommunicationPermissionDavid Marcec
This fixes save files not loading in splatoon 2
2018-08-19Shaders/TEXS: Fixed the component mask in the TEXS instruction.Subv
Previously we could end up with a TEXS that didn't write any outputs, this was wrong.
2018-08-19Merge pull request #1089 from Subv/neg_bitsbunnei
Shaders: Corrected the 'abs' and 'neg' bit usage in the float arithmetic instructions.
2018-08-19Merge pull request #1105 from Subv/convert_negbunnei
Shader: Remove an unneeded assert, the negate bit is implemented for conversion instructions.
2018-08-19Merge pull request #1113 from Subv/texs_maskbunnei
Shaders/TEXS: Fixed the component mask in the TEXS instruction.
2018-08-19Shaders/TEXS: Fixed the component mask in the TEXS instruction.Subv
Previously we could end up with a TEXS that didn't write any outputs, this was wrong.
2018-08-19Merge pull request #1102 from ogniK5377/mirror-clamp-edgebunnei
Added WrapMode MirrorOnceClampToEdge
2018-08-19Merge pull request #1101 from Subv/ssy_stackbunnei
Shaders: Implemented a stack for the SSY/SYNC instructions.
2018-08-19Shader: Implemented the TLD4 and TLD4S opcodes using GLSL's textureGather.Subv
It is unknown how TLD4S determines the sampler type, more research is needed.
2018-08-19Shader: Use the right sampler type in the TEX, TEXS and TLDS instructions.Subv
Different sampler types have their parameters in different registers.
2018-08-19Shader: Added bitfields for the texture type of the various sampling ↵Subv
instructions.
2018-08-19Shaders: Added decodings for TLD4 and TLD4SSubv
2018-08-19Merge pull request #1109 from Subv/ldg_decodebunnei
Shaders: Added decodings for the LDG and STG instructions.
2018-08-19Merge pull request #1108 from Subv/front_facingbunnei
Shaders: Implemented the gl_FrontFacing input attribute (attr 63).
2018-08-19Shaders: Added decodings for the LDG and STG instructions.Subv
2018-08-19Shaders: Implemented the gl_FrontFacing input attribute (attr 63).Subv
2018-08-19Added check to see if ARB_texture_mirror_clamp_to_edge is supportedDavid Marcec
2018-08-18filesystem: Add support for loading of system archivesZach Hilman
2018-08-18Shader: Remove an unneeded assert, the negate bit is implemented for ↵Subv
conversion instructions.
2018-08-18GLRasterizer: Implemented instanced vertex arrays.Subv
Before each draw call, for every enabled vertex array configured as instanced, we take the current instance id and divide it by its configured divisor, then we multiply that by the corresponding stride and increment the start address by the resulting amount. This way we can simulate the vertex array being incremented once per instance without actually using OpenGL's instancing functions.
2018-08-18Shader: Implemented the predicate and mode arguments of LOP.Subv
The mode can be used to set the predicate to true depending on the result of the logic operation. In some cases, this means discarding the result (writing it to register 0xFF (Zero)). This is used by Super Mario Odyssey.
2018-08-19Added WrapMode MirrorOnceClampToEdgeDavid Marcec
Used by splatoon 2
2018-08-18Shaders: Implemented a stack for the SSY/SYNC instructions.Subv
The SSY instruction pushes an address into the stack, and the SYNC instruction pops it. The current stack depth is 20, we should figure out if this is enough or not.
2018-08-18Shaders: Corrected the 'abs' and 'neg' bit usage in the float arithmetic ↵Subv
instructions. We should definitely audit our shader generator for more errors like this.
2018-08-18Added predcondition GreaterThanWithNanDavid Marcec