summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-10-02Address a bunch of review commentsfearlessTobi
2018-10-02Port web_service from CitrafearlessTobi
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.
2018-09-30Implement ISystemDisplayService::GetDisplayModeraven02
2018-09-29loader: Make the Load() function take a process as a regular reference, not ↵Lioncash
a SharedPtr A process should never require being reference counted in this situation. If the handle to a process is freed before this function is called, it's definitely a bug with our lifetime management, so we can put the requirement in place for the API that the process must be a valid instance.
2018-09-29Merge pull request #1412 from lioncash/movebunnei
kernel/object: Remove unnecessary std::move from DynamicObjectCast()
2018-09-29Merge pull request #1411 from ReinUsesLisp/point-sizebunnei
video_core: Implement point_size and add point state sync
2018-09-29Merge pull request #1406 from ReinUsesLisp/multibind-samplersbunnei
gl_state: Pack sampler bindings into a single ARB_multi_bind
2018-09-29Merge pull request #1395 from lioncash/vmbunnei
process/vm_manager: Initial modifications to load NPDM metadata
2018-09-28kernel/object: Remove unnecessary std::move from DynamicObjectCast()Lioncash
boost::static_pointer_cast for boost::intrusive_ptr (what SharedPtr is), takes its parameter by const reference. Given that, it means that this std::move doesn't actually do anything other than obscure what the function's actual behavior is, so we can remove this. To clarify, this would only do something if the parameter was either taking its argument by value, by non-const ref, or by rvalue-reference.
2018-09-28video_core: Implement point_size and add point state syncReinUsesLisp
2018-09-28gl_state: Pack sampler bindings into a single ARB_multi_bindReinUsesLisp
2018-09-27Merge pull request #1360 from FearlessTobi/port-3979bunnei
Port citra-emu/citra#3979 game_list: move SearchField to game_list_p.h and fix untranslated text
2018-09-27Merge pull request #1394 from lioncash/streambunnei
stream: Preserve enum class type in GetState()
2018-09-27Merge pull request #1389 from PhiBabin/valgrindMat M
FPCR register was uninitialized at start up
2018-09-27Merge pull request #1377 from FernandoS27/faster-swizzlebunnei
Improved Fast Swizzle and Legacy Swizzle
2018-09-27qt: Install System TitleTypes to System NANDZach Hilman
Fixes an issue where installed system archive NCAs would be installed to user NAND and not recognized by games.
2018-09-26fsmitm_romfsbuild: std::move std::vector instances in Build()Lioncash
Avoids making copies of large std::vector instances where it's trivially avoidable to do so.
2018-09-26fsmitm_romfsbuild: Replace manual value aligning with Common::AlignUp()Lioncash
Theres no need to do explicit bitwise arithmetic here, when we have a function that does this with a more descriptive name.
2018-09-26Merge pull request #1399 from lioncash/schedbunnei
kernel/scheduler: Take ARM_Interface instances by reference
2018-09-26Merge pull request #1400 from lioncash/headerbunnei
service: Add missing headers inclusions where applicable
2018-09-26Merge pull request #1402 from ReinUsesLisp/assertsbunnei
video_core: Add asserts for CS, TFB and alpha testing
2018-09-25patch_manager: Invert conditionals within ApplyLayeredFS()Lioncash
Avoids the need to nest code quite a bit by early-exiting in error cases.
2018-09-25video_core: Add asserts for CS, TFB and alpha testingReinUsesLisp
Add asserts for compute shader dispatching, transform feedback being enabled and alpha testing. These have in common that they'll probably break rendering without logging.
2018-09-25vfs_vector: Amend initializer list order in VectorVfsFile's constructor ↵Lioncash
initializer list Orders the initializer list members to be in the same order that they would be initialized in. Avoids compiler warnings.