summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-04-30Merge pull request #3831 from ogniK5377/caps-su-namesMat M
caps: Add missing service names to caps:su
2020-04-30Merge pull request #3825 from ogniK5377/psm-no-warnbunnei
psm: Mark as debug instead of warning
2020-04-30Merge pull request #3807 from ReinUsesLisp/fix-depth-clampbunnei
maxwell_3d: Fix depth clamping register
2020-04-30Merge pull request #3799 from ReinUsesLisp/iadd-ccbunnei
shader: Implement P2R CC, IADD Rd.CC and IADD.X
2020-04-30Merge pull request #3805 from ReinUsesLisp/preserve-contentsbunnei
texture_cache: Reintroduce preserve_contents accurately
2020-04-30Merge pull request #3788 from FernandoS27/revertbunnei
Revert: shader_decode: Fix LD, LDG when track constant buffer.
2020-04-30caps: Add missing service names to caps:suDavid Marcec
SetShimLibraryVersion, SaveScreenShotEx1 & SaveScreenShotEx2 were missing
2020-04-29psm: Mark as debug instead of warningDavid Marcec
No point to emulate battery life. However options are broken out if we ever want to add a setting for it
2020-04-28Merge pull request #3771 from benru/dump-romfs-with-updatesbunnei
Dump RomFS command to include Updates
2020-04-28Merge pull request #3818 from ogniK5377/err-logMat M
Don't fail silently for vi, sm, set and ns services
2020-04-28Merge pull request #3783 from lioncash/pointerMat M
physical_core: Make use of std::make_unique instead of std::make_shared in ctor
2020-04-29Don't fail silently for vi, sm, set and ns servicesDavid Marcec
2020-04-28shader/arithmetic_integer: Fix tracking issue in temporaryReinUsesLisp
This temporary is not needed as we mark Rd.CC + IADD.X as unimplemented. It caused issues when tracking global buffers.
2020-04-28Merge pull request #3784 from ReinUsesLisp/shader-memory-utilbunnei
shader/memory_util: Deduplicate code
2020-04-29kernel: Bad GetInfo ids should not be marked as stubsDavid Marcec
As we currently match hardware and don't return a successful result, these should be marked as errors instead of warnings and as stubs.
2020-04-29style: Change AMs & Glues error codes to be dec instead of hexDavid Marcec
Consistency for the rest of the error codes in the codebase
2020-04-27maxwell_3d: Fix depth clamping registerReinUsesLisp
Using deko3d as reference: https://github.com/devkitPro/deko3d/blob/4e47ba0013552e592a86ab7a2510d1e7dadf236a/source/maxwell/gpu_3d_state.cpp#L42 We were using bits 3 and 4 to determine depth clamping, but these are the same both enabled and disabled: state->depthClampEnable ? 0x101A : 0x181D The same happens on Nvidia's OpenGL driver, where they do something like this (default capabilities, GL 4.5 compatibility): (state & DEPTH_CLAMP) != 0 ? 0x201a : 0x281c There's always a difference between the first bits in this register, but bit 11 is consistently disabled on both deko3d/NVN and OpenGL. This commit changes yuzu's behaviour to use bit 11 to determine depth clamping. - Fixes depth issues on Super Mario Odyssey's intro.
2020-04-27Merge pull request #3785 from ogniK5377/set-buffer-count-unitbunnei
vi: Don't let uninitialized data pass as a response for SetBufferCount
2020-04-27Merge pull request #3766 from ReinUsesLisp/renderpass-cache-keyFernando Sahmkow
vk_renderpass_cache: Pack renderpass cache key and unify keys
2020-04-27Merge pull request #3756 from ReinUsesLisp/integrated-devicesFernando Sahmkow
vk_memory_manager: Remove unified memory model flag
2020-04-27Merge pull request #3797 from slashiee/hid-stubMat M
services: hid: Stub StopSevenSixAxisSensor.
2020-04-27Merge pull request #3742 from FernandoS27/command-listbunnei
Optimize GPU Command Lists and Introduce Fast GPU Time Option
2020-04-26texture_cache: Reintroduce preserve_contents accuratelyReinUsesLisp
This reverts commit 94b0e2e5dae4e0bd0021ac2d8fe1ff904a93ee69. preserve_contents proved to be a meaningful optimization. This commit reintroduces it but properly implemented on OpenGL. We have to make sure the clear removes all the previous contents of the image. It's not currently implemented on Vulkan because we can do smart things there that's preferred to be introduced in a separate commit.
2020-04-26Merge pull request #3795 from vitor-k/fix-folderbunnei
Fix "Port citra-emu/citra#4956: "Fixes to game list sorting" #3611"
2020-04-26Merge pull request #3744 from lioncash/table2bunnei
service: Update function tables
2020-04-26Merge pull request #3753 from ReinUsesLisp/ac-vulkanRodrigo Locatti
{gl,vk}_rasterizer: Add lazy default buffer maker and use it for empty buffers
2020-04-26shader/memory_util: Deduplicate codeReinUsesLisp
Deduplicate code shared between vk_pipeline_cache and gl_shader_cache as well as shader decoder code. While we are at it, fix a bug in gl_shader_cache where compute shaders had an start offset of a stage shader.
2020-04-26Merge pull request #3791 from Kewlan/hotkey-config-plusbunnei
configuration: Add Restore Default and Clear options to hotkeys
2020-04-25Merge pull request #3761 from Kewlan/stick-modifier-sliderbunnei
configure_input_player: Use slider to edit modifier scale
2020-04-25shader/arithmetic_integer: Fix edge case and mark IADD.X Rd.CC as unimplementedReinUsesLisp
IADD.X Rd.CC requires some extra logic that is not currently implemented. Abort when this is hit.
2020-04-25shader/arithmetic_integer: Change IAdd to UAdd to avoid signed overflowReinUsesLisp
Signed integer addition overflow might be undefined behavior. It's free to change operations to UAdd and use unsigned integers to avoid potential bugs.
2020-04-25shader/arithmetic_integer: Implement IADD.XReinUsesLisp
IADD.X takes the carry flag and adds it to the result. This is generally used to emulate 64-bit operations with 32-bit registers.
2020-04-25shader/arithmetic_integer: Implement CC for IADDReinUsesLisp
2020-04-25decode/register_set_predicate: Implement CCReinUsesLisp
P2R CC takes the state of condition codes and puts them into a register. We already have this implemented for PR (predicates). This commit implements CC over that.
2020-04-25decode/register_set_predicate: Use move for shared pointersReinUsesLisp
Avoid atomic counters used by shared pointers.
2020-04-25services: hid: Stub StopSevenSixAxisSensor.M&M
- Used by The Legend of Zelda: Breath of the Wild v1.6.0
2020-04-25Fix the mistake in the port and update the comment for clarityVitor Kiguchi
2020-04-25Merge pull request #3721 from ReinUsesLisp/sort-devicesbunnei
vulkan/wrapper: Sort physical devices
2020-04-25Merge pull request #3734 from ReinUsesLisp/half-float-modsbunnei
decode/arithmetic_half: Fix HADD2 and HMUL2 absolute and negation bits
2020-04-24Merge pull request #3780 from lioncash/processbunnei
svc: Re-add MapProcessCodeMemory/UnmapProcessCodeMemory
2020-04-24vk_rasterizer: Pack texceptions and color formats on invalid formatsReinUsesLisp
Sometimes for unknown reasons NVN games can bind a render target format of 0. This may be a yuzu bug. With the commits before this the formats were specified without being "packed", assuming all formats and texceptions will be written like in the color_attachments vector. To address this issue, iterate all render targets and pack them as they are valid. This way they will match color_attachments. - Fixes validation errors and graphical issues on Breath of the Wild.
2020-04-24Add Restore Defaults and Clear options to hotkeysKewlan
2020-04-24Merge pull request #3749 from ReinUsesLisp/lea-immbunnei
shader/arithmetic_integer: Fix LEA_IMM encoding
2020-04-24Revert: shader_decode: Fix LD, LDG when track constant buffer.Fernando Sahmkow
2020-04-24Fix -Wdeprecated-copy warning.Markus Wick
2020-04-24Fix -Werror=conversion error.Markus Wick
2020-04-24vi: Don't let uninitialized data pass as a response for SetBufferCountDavid Marcec
Currently SetBufferCount doesn't write to the out buffer which then contains uninitialized data. This leads to non-zero data which leads to responding with different error codes
2020-04-24Merge pull request #3760 from Morph1984/trailing-filedir-separatorbunnei
frontend/filesystem: Add a trailing separator to the string path
2020-04-24physical_core: Make use of std::make_unique instead of std::make_shared in ctorLioncash
We can also allow unicorn to be constructed in 32-bit mode or 64-bit mode to satisfy the need for both interpreter instances. Allows this code to compile successfully of non x86-64 architectures.
2020-04-23Merge pull request #3777 from lioncash/warnRodrigo Locatti
page_table: Remove unused captures