aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-10-17gl_rasterizer_cache: Remove unnecessary block_depth=1 on Flush.bunnei
2018-10-17gl_rasterizer_cache: Remove unnecessary temporary buffer with unswizzle.bunnei
2018-10-17registered_cache: Deduplicate results of ListEntry and ListEntryFilterZach Hilman
Prevents a Entry from appearing in the list twice if the user has it installed in two places (e.g. User NAND and SDMC)
2018-10-18Using dual joycons as the default controllerDavid Marcec
Reason for the change is to allow both docked and undocked mode to work
2018-10-17fsp_srv: Apply patches to Data storage in OpenDataStorageByDataIdZach Hilman
2018-10-17patch_manager: Add support for using LayeredFS with DataZach Hilman
2018-10-16gl_rasterizer_cache: Use AccurateCopySurface for use_accurate_gpu_emulation.bunnei
2018-10-16config: Rename use_accurate_framebuffers -> use_accurate_gpu_emulation.bunnei
- This will be used as a catch-all for slow-but-accurate GPU emulation paths.
2018-10-16rasterizer_cache: Refactor to support in-order flushing.bunnei
2018-10-16content_archive: Simpify assignment of bktr_base_romfs in the constructorLioncash
std::move doesn't actually dereference the data, so it doesn't matter whether or not the type is null.
2018-10-16content_archive: Make IsValidNCA() an internally linked functionLioncash
This is only ever used within the cpp file, so it can just be an internal function.
2018-10-16content_archive: Simplify rights ID checkLioncash
This is the same as using std::any_of with an inverted predicate.
2018-10-16content_archive: Split loading into separate functionsLioncash
The constructor alone is pretty large, the reading code should be split into its consistuent parts to make it easier to understand it without having to build a mental model of a 300+ line function.
2018-10-16content_archive: Pass and take NCASectionHeader instance by referenceLioncash
Each header is 512 bytes in size, which is kind of an excessive amount to copy all the time when it's possible to avoid doing so.
2018-10-16XCI: Add function for checking the existence of the program NCALioncash
The only reason the getter existed was to check whether or not the program NCA was null. Instead, we can just provide a function to query for the existence of it, instead of exposing it entirely.
2018-10-16gl_rasterizer_cache: Refactor to only call GetRegionEnd on surface creation.bunnei
2018-10-16gl_rasterizer_cache: Only flush when use_accurate_framebuffers is enabled.bunnei
2018-10-16gl_rasterizer_cache: Separate guest and host surface size managment.bunnei
2018-10-16gl_rasterizer_cache: Rename GetGLBytesPerPixel to GetBytesPerPixel.bunnei
- This does not really have anything to do with OpenGL.
2018-10-16gl_rasterizer_cache: Remove unused FlushSurface method.bunnei
2018-10-16gl_rasterizer: Implement flushing.bunnei
2018-10-16gl_rasterizer_cache: Remove usage of Memory::Read/Write functions.bunnei
- These cannot be used within the cache, as they change cache state.
2018-10-16gl_rasterizer_cache: Clamp cached surface size to mapped GPU region size.bunnei
2018-10-16memory_manager: Add a method for querying the end of a mapped GPU region.bunnei
2018-10-16rasterizer_cache: Reintroduce method for flushing.bunnei
2018-10-16gl_rasterizer_cache: Reintroduce code for handling swizzle and flush to ↵bunnei
guest RAM.
2018-10-16Merge pull request #1443 from DarkLordZach/lower-loader-logs-1bunnei
content_archive/patch_manager: Lower log levels to eliminate some unnecessary logs
2018-10-16Implement VI ConvertScalingMode (#1475)David
* Implement VI ConvertScalingMode * Fixed push enum * Scale mode now uses Nintendo scale mode as an enum as well
2018-10-16Merge pull request #1502 from lioncash/uniquebunnei
core: Convert shared_ptr instances into unique_ptr instances where applicable for System and Cpu
2018-10-16savedata_factory: Add TemporaryStorage SaveDataSpaceIdZach Hilman
Required for TemporaryStorage saves (in addition to SaveDataType)
2018-10-16savedata_factory: Add support for DeviceSaveDataZach Hilman
Uses the same path as SaveData except with UID 0. Adds a warning if UID is not 0.
2018-10-16file_sys/registered_cache: Use unique_ptr and regular pointers instead of ↵Lioncash
shared_ptrs where applicable The data retrieved in these cases are ultimately chiefly owned by either the RegisteredCache instance itself, or the filesystem factories. Both these should live throughout the use of their contained data. If they don't, it should be considered an interface/design issue, and using shared_ptr instances here would mask that, as the data would always be prolonged after the main owner's lifetime ended. This makes the lifetime of the data explicit and makes it harder to accidentally create cyclic references. It also makes the interface slightly more flexible than the previous API, as a shared_ptr can be created from a unique_ptr, but not the other way around, so this allows for that use-case if it ever becomes necessary in some form.
2018-10-15Merge pull request #1473 from lioncash/cmakebunnei
web_service: Make linkage of web_service-related externals and the library private
2018-10-15Merge pull request #1487 from lioncash/maybe-unusedbunnei
yuzu/main: Apply the [[maybe_unused]] attribute to the parameter of SetDiscordEnabled
2018-10-15file_sys/control_metadata: Get rid of magic constantsLioncash
These are just the size of the data being passed in, so we can specify that via the size() member function.
2018-10-15Merge pull request #1494 from DarkLordZach/aoc-signature-fixesbunnei
aoc: Fix various bugs in current AOC implementation
2018-10-15Merge pull request #1499 from lioncash/nrobunnei
nro/nso: Minor error handling changes
2018-10-15Merge pull request #1500 from DarkLordZach/key-derivation-6.0.0bunnei
crypto: Various crypto fixes for quickstart guide
2018-10-15nso: Return an optional address from LoadModuleLioncash
If a malformed NSO is attempted to be loaded, we shouldn't continue onwards. We should be reporting an error and bailing out.
2018-10-15shader_bytecode: Add Control Code enum 0xfReinUsesLisp
Control Code 0xf means to unconditionally execute the instruction. This value is passed to most BRA, EXIT and SYNC instructions (among others) but this may not always be the case.
2018-10-15gl_shader_decompiler: Fixup style inconsistenciesReinUsesLisp
2018-10-15gl_rasterizer: Silence implicit cast warning in glBindBufferRangeReinUsesLisp
2018-10-15core_cpu: Make Cpu scheduler instances unique_ptrs instead of shared_ptrsLioncash
2018-10-15core: Make the live Cpu instances unique_ptrs instead of shared_ptrsLioncash
There's no need for shared ownership here, as the only owning class instance of those Cpu instances is the System class itself. We can also make the thread_to_cpu map use regular pointers instead of shared_ptrs, given that the Cpu instances will always outlive the cases where they're used with that map.
2018-10-15core: Make the exclusive monitor a unique_ptr instead of a shared_ptrLioncash
Like the barrier, this is owned entirely by the System and will always outlive the encompassing state, so shared ownership semantics aren't necessary here.
2018-10-15core: Make CPUBarrier a unique_ptr instead of a shared_ptrLioncash
This will always outlive the Cpu instances, since it's destroyed after we destroy the Cpu instances on shutdown, so there's no need for shared ownership semantics here.
2018-10-15gl_shader_decompiler: Implement HSET2_RReinUsesLisp
2018-10-15gl_shader_decompiler: Implement HSETP2_RReinUsesLisp
2018-10-15gl_shader_decompiler: Implement HFMA2 instructionsReinUsesLisp
2018-10-15gl_shader_decompiler: Implement HADD2_IMM and HMUL2_IMMReinUsesLisp