aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-07-16Merge pull request #4332 from lioncash/vkdevRodrigo Locatti
vk_device: Make use of designated initializers where applicable
2020-07-16decode/other: Implement S2R.LaneIdReinUsesLisp
This maps to host's thread id. - Fixes graphical issues on Paper Mario.
2020-07-16gl_arb_decompiler: Execute BAR even when inside control flowReinUsesLisp
Unlike GLSL, GLASM allows us to call BAR inside control flow. - Fixes graphical artifacts in Paper Mario.
2020-07-16renderer_{opengl,vulkan}: Clamp shared memory to host's limitReinUsesLisp
This stops shaders from failing to build when the exceed host's shared memory size limit. An error is logged.
2020-07-16Merge pull request #4321 from lioncash/desigbunnei
vk_blit_screen: Make use of designated initializers where applicable
2020-07-16kernel/thread: Remove unimplemented function prototypeLioncash
This isn't used, so it can be removed.
2020-07-16kernel: Remove unused variablesLioncash
Resolves some compiler warnings in the Linux build.
2020-07-16Merge pull request #4356 from lioncash/incLC
cpu_manager: Minor tidying up/header inclusions
2020-07-16kernel: Add missing includeLioncash
2020-07-16cpu_manager: Mark function getters as staticLioncash
All these do are return std::function instances of static functions, so these can be used without an instance of the CPU manager.
2020-07-16cpu_manager: Remove unused preemption_count variableLioncash
Shrinks the data structure by 8 bytes.
2020-07-16cpu_manager: Add missing includesLioncash
Previously this header was relying on indirect inclusions that are no longer satisfied.
2020-07-16Refactor adapter codeAmeer
2020-07-16Merge pull request #4261 from ameerj/gc-calibrationbunnei
input_common: GC Controller save and compare against analog origin state
2020-07-16Merge pull request #4337 from lat9nq/fix-per-game-asyncbunnei
main: Set async gpu properly after loading per-game setting
2020-07-16Merge pull request #4297 from FearlessTobi/skip-profile-selectbunnei
main/profile_select: Don't prompt for profile selection when only one is available
2020-07-16Merge pull request #4346 from lioncash/threadDavid
kernel/handle_table: Remove usages of the global system instance
2020-07-16hid: Only update keyboard & debug pad inputs if enabledDavid Marcec
Previously we would ignore this setting and would update the states regardless of the user setting
2020-07-16Merge pull request #4249 from Morph1984/delete-update-aoc-on-overwriteDavid
registered_cache: Remove previous update/dlc if it exists on install
2020-07-16Check for empty section0 and CNMT prior to installMorph
2020-07-16Add comment to clarify the nullptr checkMorph
2020-07-16filesystem: Create subdirectories prior to creating a fileMorph
If subdirectories exist in the given path parameter and don't exist in the real filesystem create them prior to creating the files within. This fixes the softlocks upon save creation in The Legend of Zelda: Breath of the Wild
2020-07-15Merge pull request #4328 from lioncash/unused-var3bunnei
memory_layout: Remove unused data member
2020-07-15core_timing: Remove unused data memberLioncash
Shrinks the size of the CoreTiming class by 8 bytes.
2020-07-15core_timing: Make TimedCallback take std::chrono::nanosecondsLioncash
Enforces our desired time units directly with a concrete type.
2020-07-15core_timing: Make use of std::chrono with ScheduleEventLioncash
2020-07-15settings: Resolve a sign conversion warning within GetTimeZoneString()Lioncash
A sign conversion warning was occurring due to an int < size_t comparison.
2020-07-15kernel/process: Move name and system context to the bottom of the member listLioncash
These aren't directly important or commonly used within the process, so we can move these to the bottom to allow everything else to be more likely to be within a cache line.
2020-07-15kernel/handle_table: Remove usages of the global system instanceLioncash
Removes even more usages of the global system instance, trimming away more dependencies on global variables and making them explicit in the interface.
2020-07-15settings: Make use of std::string_view over std::string for loggingLioncash
In all usages of LogSetting(), string literals are provided. std::string_view is better suited here, as we won't churn a bunch of string allocations every time the settings are logged out. While we're at it, we can fold LogSetting() into LogSettings(), given it's only ever used there.
2020-07-15kernel/thread: Remove global GetCurrentThread()Lioncash
This is only used in one place, so we can fold it into the calling code, eliminating a place for the global system instance to be used.
2020-07-15clang formatMorph
2020-07-15Use proper install result when overwriting filesMorph
2020-07-15Remove global system instance and address feedbackMorph
2020-07-15registered_cache: Remove previous update/dlc if it exists on installMorph
- This checks for and removes old updates or dlc based on title id. If a content meta nca exists within the registered cache, it will attempt to remove all the ncas associated with the content meta before installing a new update/dlc
2020-07-15clang-formatVolcaEM
2020-07-15dmnt_cheat_vm: Implement opcode 0xC3 (ReadWriteStaticRegister)VolcaEM
This was based on Atmosphére's DMNT Cheat VM: - https://github.com/Atmosphere-NX/Atmosphere/blob/master/stratosphere/dmnt/source/cheat/impl/dmnt_cheat_vm.hpp - https://github.com/Atmosphere-NX/Atmosphere/blob/master/stratosphere/dmnt/source/cheat/impl/dmnt_cheat_vm.cpp From Atmosphére's documentation: "Code type 0xC3 reads or writes a static register with a given register" There are now only two remaining opcodes to implement (PauseProcess and BreakProcess) This is untested because I don't have any experience in testing cheats on yuzu
2020-07-14Merge pull request #4342 from lioncash/endianRodrigo Locatti
common/swap: Make use of std::endian
2020-07-14common/swap: Make use of std::endianLioncash
Allows removing a bunch of defines in favor of a two liner.
2020-07-14shader_cache: Make use of std::erase_ifLioncash
Now that we use C++20, we can also make use of std::erase_if instead of needing to do the erase-remove idiom.
2020-07-14Merge pull request #4242 from ReinUsesLisp/maxwell-dmabunnei
maxwell_dma: Match official doc and support pitch->voxel copies
2020-07-14clang-formatlat9nq
2020-07-14settings: Move settings sanitization to its own functionlat9nq
Creates a new function that can be expanded later to fix other settings that are known to cause emulation errors across executables.
2020-07-14Rebase to masterAmeer
2020-07-14Merge pull request #4294 from MerryMage/cpu-opt-settingsbunnei
configuration: Add settings to enable/disable specific CPU optimizations
2020-07-14Merge pull request #4282 from Morph1984/fs-sizebunnei
filesystem: Set various NAND partition sizes to their defaults
2020-07-14Merge pull request #4338 from ameerj/disconnected-adapterbunnei
gcadapter: Fix crash if gc configured but adapter not connected
2020-07-14Fix crash if gc configured but adapter not connectedAmeer
2020-07-14Merge pull request #4314 from lioncash/input-warnbunnei
gcadapter: Tidy up compiler warnings
2020-07-14Merge pull request #4315 from lioncash/udp-warnbunnei
udp: Silence a C++20 deprecation warning