aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-10-02services/fsp_srv: Amend service function tableLioncash
Adds new functions that have been given names to the table. Information is based off what is provided on Switchbrew.
2018-10-02service/lbl: Update service function tableLioncash
Amends the lbl service table to include new names of functions that were added to Switchbrew.
2018-10-02configure_input: Make analog mapping strings translatableLioncash
These strings are user-facing, so they should be specified as translatable with tr().
2018-10-02configure_audio: Move combo box index setting to their own functionsLioncash
Keeps the individual behaviors in their own functions, and cleanly separate. We can also do a little better by converting the relevant IDs within the core to a QString only once, instead of converting every string into a std::string.
2018-10-02configure_audio: Use QString::fromStdString() for converting audio device namesLioncash
This ensures that the proper codec will always be used no matter what. It also avoids relying on ASCII conversions.
2018-10-02configure_audio: Add disambiguation comment for the volume percentage stringLioncash
Disambiguates what the string represents to help translators more easily understand what it is that they're translating. While we're at it, we can move the code to its own function, so that we don't need to specify the same string twice.
2018-10-02configure_graphics: Make functions internally linked where applicableLioncash
These aren't used outside of this translation unit, so they can be internally linked.
2018-10-02nso: Optimize loading of IPS patchesZach Hilman
Avoid resource-heavy classes and remove quasi-duplicated code.
2018-10-02string_util: unify UTF8<->UTF16 conversion to codecvtWeiyi Wang
2018-10-02string_util: remove TString conversion for windowsWeiyi Wang
First of all they are foundamentally broken. As our convention is that std::string is always UTF-8, these functions assume that the multi-byte character version of TString (std::string) from windows is also in UTF-8, which is almost always wrong. We are not going to build multi-byte character build, and even if we do, this dirty work should be handled by frontend framework early.
2018-10-02string_util: remove ShiftJIS/CP1252 conversion functionWeiyi Wang
We always use unicode internally. Any dirty work of conversion with other codec should be handled by frontend framework (Qt). Further more, ShiftJIS/CP1252 are not special (they are not code set used by 3ds, or any guest/host dependencies we have), so there is no reason to specifically include them
2018-10-02Review comments - part 5fearlessTobi
2018-10-02Review comments -part 4fearlessTobi
2018-10-02Review comments - part 3fearlessTobi
2018-10-02web_backend: protect jwt cache with a mutexWeiyi Wang
2018-10-02Address more review commentsfearlessTobi
2018-10-02Address a bunch of review commentsfearlessTobi
2018-10-02Port web_service from CitrafearlessTobi
2018-10-01deconstructed_rom_directory: Force NSO loader to patch NSOsZach Hilman
2018-10-01nso: Add framework to support patching of uncompressed NSOsZach Hilman
2018-10-01patch_manager: Add PatchNSO functionZach Hilman
While PatchExeFS operated on the entire directory, this function operates on the uncompressed NSO. Avoids copying decompression code to PatchManager.
2018-10-01patch_manager: Use strings for patch type instead of enumZach Hilman
2018-10-01file_sys: Implement function to apply IPS patchesZach Hilman
2018-10-01nso: Replace NSOHeader padding bytes with build IDZach Hilman
2018-10-01Merge pull request #1407 from DarkLordZach/dlcbunnei
aoc_u: Implement functions and add support for DLC loading
2018-10-01gl_rasterizer: Fixup unassigned point sizesReinUsesLisp
2018-09-30Merge pull request #1330 from raven02/tldsbunnei
TLDS: Add 1D sampler
2018-09-30Merge pull request #1322 from bunnei/tex-cubemapbunnei
gl_rasterizer_cache: Implement cubemap textures.
2018-09-30Merge pull request #1403 from DarkLordZach/install-sysnandbunnei
qt: Install System TitleTypes to System NAND
2018-09-30aoc_u: Extract AccumulateAOCTitleIDs to separate functionZach Hilman
2018-09-30aoc_u: Implement GetAddOnContentBaseIdZach Hilman
Command #5
2018-09-30aoc_u: Implement Count, List and Prepare AddOnContentZach Hilman
Commands #2, #3, and #7
2018-09-30romfs_factory: Read from all locations with StorageId NoneZach Hilman
Previous behavior was to assert. Seems to mirror expected game behavior.
2018-09-30patch_manager: Add DLC recognition to PatchManagerZach Hilman
2018-09-30Merge pull request #1338 from raven02/service_vibunnei
Implement ISystemDisplayService::GetDisplayMode
2018-09-30gl_rasterizer_cache: Fixes to how we do render to cubemap.bunnei
- Fixes issues with Splatoon 2.
2018-09-30gl_rasterizer_cache: Add check for array rendering to cubemap texture.bunnei
2018-09-30gl_rasterizer_cache: Implement render to cubemap.bunnei
2018-09-30gl_shader_decompiler: TEXS: Implement TextureType::TextureCube.bunnei
2018-09-30gl_rasterizer_cache: Add support for SurfaceTarget::TextureCubemap.bunnei
2018-09-30gl_rasterizer_cache: Implement LoadGLBuffer for Texture2DArray.bunnei
2018-09-30gl_rasterizer_cache: Update BlitTextures to support non-Texture2D ↵bunnei
ColorTexture surfaces.
2018-09-30gl_rasterizer_cache: Track texture target and depth in the cache.bunnei
2018-09-30gl_rasterizer_cache: Workaround for Texture2D -> Texture2DArray scenario.bunnei
2018-09-30gl_rasterizer_cache: Keep track of surface 2D size separately from total size.bunnei
2018-09-30Fix trailing whitespaceraven02
2018-09-30kernel/svc: Implement svcGetThreadContext()Lioncash
Now that we have all of the rearranging and proper structure sizes in place, it's fairly trivial to implement svcGetThreadContext(). In the 64-bit case we can more or less just write out the context as is, minus some minor value sanitizing. In the 32-bit case we'll need to clear out the registers that wouldn't normally be accessible from a 32-bit AArch32 exectuable (or process).
2018-09-30kernel/process: Add a data member to determine if a process is 64-bit or not.Lioncash
This will be necessary for the implementation of svcGetThreadContext(), as the kernel checks whether or not the process that owns the thread that has it context being retrieved is a 64-bit or 32-bit process. If the process is 32-bit, then the upper 15 general-purpose registers and upper 16 vector registers are cleared to zero (as AArch32 only has 15 GPRs and 16 128-bit vector registers. not 31 general-purpose registers and 32 128-bit vector registers like AArch64).
2018-09-30kernel/process: Make data member variables privateLioncash
Makes the public interface consistent in terms of how accesses are done on a process object. It also makes it slightly nicer to reason about the logic of the process class, as we don't want to expose everything to external code.
2018-09-30arm_interface: Add missing fpsr/tpidr members to the ThreadContext structLioncash
Internally within the kernel, it also includes a member variable for the floating-point status register, and TPIDR, so we should do the same here to match it. While we're at it, also fix up the size of the struct and add a static assertion to ensure it always stays the correct size.