summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-07-19service/audren_u: Handle audio USB output revision queries in ↵Lioncash
ListAudioDeviceName() Audio devices use the supplied revision information in order to determine if USB audio output is able to be supported. In this case, we can only really handle using this revision information in ListAudioDeviceName(), where it checks if USB audio output is supported before supplying it as a device name. A few other scenarios exist where the revision info is checked, such as: - Early exiting from SetAudioDeviceOutputVolume if USB audio is attempted to be set when that device is unsupported. - Early exiting and returning 0.0f in GetAudioDeviceOutputVolume when USB output volume is queried and it's an unsupported device. - Falling back to AHUB headphones in GetActiveAudioDeviceName when the device type is USB output, but is unsupported based off the revision info. In order for these changes to also be implemented, a few other changes to the interface need to be made. Given we now properly handle everything about ListAudioDeviceName(), we no longer need to describe it as a stubbed function.
2019-07-19service/audren_u: Move revision testing code out of AudRenULioncash
The revision querying facilities are used by more than just audren. e.g. audio devices can use this to test whether or not USB audio output is supported. This will be used within the following change.
2019-07-19service/audio: Remove global system accessorsLioncash
Trims out the lingering reliance on global state out of the audio code.
2019-07-19service/audren_u: Remove unnecessary return value from ↵Lioncash
GetActiveAudioDeviceName() This service function only ever returns a result and nothing more.
2019-07-19service/audren_u: Report proper device namesLioncash
AudioDevice and AudioInterface aren't valid device names on the Switch. We should also be returning consistent names in GetActiveAudioDeviceName(). While we're at it, we can also handle proper name output in ListAudioDeviceName, by returning all the available devices on the Switch.
2019-07-18Merge pull request #2687 from lioncash/tls-processbunnei
kernel/process: Allocate the process' TLS region during initialization
2019-07-18Merge pull request #2738 from lioncash/shader-irbunnei
shader-ir: Minor cleanup-related changes
2019-07-17Kernel: Downgrade WaitForAddress and SignalToAddress messages to Trace.Fernando Sahmkow
This messages were originally set as warnning since few games used these svcs and it was needed for debugging. This is no longer the case.
2019-07-17Merge pull request #2740 from lioncash/braFernando Sahmkow
shader/decode/other: Correct branch indirect argument within BRA handling
2019-07-17Merge pull request #2726 from lioncash/accessRodrigo Locatti
core: Remove CurrentArmInterface() global accessor
2019-07-16shader_ir: std::move Node instance where applicableLioncash
These are std::shared_ptr instances underneath the hood, which means copying them isn't as cheap as a regular pointer. Particularly so on weakly-ordered systems. This avoids atomic reference count increments and decrements where they aren't necessary for the core set of operations.
2019-07-16shader_ir: Rename Get/SetTemporal to Get/SetTemporaryLioncash
This is more accurate in terms of describing what the functions are actually doing. Temporal relates to time, not the setting of a temporary itself.
2019-07-16shader_ir: Remove unused includesLioncash
Removes unnecessary header dependencies.
2019-07-16Merge pull request #2565 from ReinUsesLisp/track-indirectFernando Sahmkow
shader/track: Track indirect buffers
2019-07-16shader/decode/other: Correct branch indirect argument within BRA handlingLioncash
This appears to have been a copy/paste error introduced within 8a6fc529a968e007f01464abadd32f9b5eb0a26c
2019-07-15Merge pull request #2695 from ReinUsesLisp/layer-viewportFernando Sahmkow
gl_shader_decompiler: Implement gl_ViewportIndex and gl_Layer in vertex shaders
2019-07-14Merge pull request #2705 from FernandoS27/tex-cache-fixesbunnei
GPU: Fixes to Texture Cache and Include Microprofiles for GL State/BufferCopy/Macro Interpreter
2019-07-14shader: Allow tracking of indirect buffers without variable offsetReinUsesLisp
While changing this code, simplify tracking code to allow returning the base address node, this way callers don't have to manually rebuild it on each invocation.
2019-07-14Merge pull request #2675 from ReinUsesLisp/opengl-buffer-cachebunnei
buffer_cache: Implement a generic buffer cache and its OpenGL backend
2019-07-14Texture_Cache: Address FeedbackFernando Sahmkow
2019-07-14Texture_Cache: Remove some unprecise fallback case and clang formatFernando Sahmkow
2019-07-14Texture_Cache: Force Framebuffer reset if an active render target is ↵Fernando Sahmkow
unregistered.
2019-07-14GPU: Add a microprofile for macro interpreterFernando Sahmkow
2019-07-14GL_State: Add a microprofile timer to OpenGL state.Fernando Sahmkow
2019-07-14Gl_Texture_Cache: Measure Buffer Copy TimesFernando Sahmkow
2019-07-14Texture_Cache: Correct Linear Structural Match.Fernando Sahmkow
2019-07-14Merge pull request #2690 from SciresM/physmem_fixesFernando Sahmkow
Implement MapPhysicalMemory/UnmapPhysicalMemory
2019-07-14Merge pull request #2692 from ReinUsesLisp/tlds-f16Fernando Sahmkow
shader/texture: Add F16 support for TLDS
2019-07-12core: Remove CurrentArmInterface() global accessorLioncash
Replaces the final usage of the global accessor function and removes it. Removes one more enabler of global state.
2019-07-13Clang formatDavid Marcec
2019-07-13Addressed issuesDavid Marcec
2019-07-13"AudioRenderer" thread should have a unique nameDavid Marcec
Creating multiple "AudioRenderer" threads cause the previous thread to be overwritten. The thread will name be renamed to AudioRenderer-InstanceX, where X is the current instance number.
2019-07-11Remove unicorn mappings/unmappingsMichael Scire
2019-07-11Merge pull request #2609 from FernandoS27/new-scanbunnei
Implement a New Shader Scanner, Decompile Flow Stack and implement BRX BRA.CC
2019-07-11gl_shader_decompiler: Fix gl_PointSize redeclarationReinUsesLisp
2019-07-11Merge pull request #2717 from SciresM/unmirror_memorybunnei
Restore memory perms on svcUnmapMemory/UnloadNro
2019-07-11Merge pull request #2723 from lioncash/membunnei
core/arm: Remove obsolete Unicorn memory mapping
2019-07-11service/am: Implement IsAutoSleepDisabledLioncash
This simply queries whether or not auto-sleep facilities are disabled and has no special handling. It's a basic getter function.
2019-07-11service/am: Implement SetAutoSleepDisabledLioncash
Provides a basic implementation of SetAutoSleepDisabled. Until idle handling is implemented, this is about the best we can do. In the meantime, provide a rough documenting of specifics that occur when this function is called on actual hardware.
2019-07-11yuzu: Remove setting for using UnicornLioncash
The JIT is mature enough that this setting can be removed, falling back to Unicorn only on unsupported architectures. Any missing features from Unicorn (of which there are extremely few), are mostly developer-oriented, which most users don't care about. Features should be coordinated with the JIT, not the interpreter, anyhow.
2019-07-11core/arm: Remove obsolete Unicorn memory mappingLioncash
This was initially necessary when AArch64 JIT emulation was in its infancy and all memory-related instructions weren't implemented. Given the JIT now has all of these facilities implemented, we can remove these functions from the CPU interface.
2019-07-11Restore memory perms on svcUnmapMemory/UnloadNroMichael Scire
Prior to PR, Yuzu did not restore memory to RW- on unmap of mirrored memory or unloading of NRO. (In fact, in the NRO case, the memory was unmapped instead of reprotected to --- on Load, so it was actually lost entirely...) This PR addresses that, and restores memory to RW- as it should. This fixes a crash in Super Smash Bros when creating a World of Light save for the first time, and possibly other games/circumstances.
2019-07-11gl_shader_decompiler: Fix conditional usage of ↵ReinUsesLisp
GL_ARB_shader_viewport_layer_array
2019-07-10Merge pull request #2697 from lioncash/docbunnei
gl_rasterizer: Amend documentation comment for ConfigureFramebuffers()
2019-07-10Merge pull request #2686 from ReinUsesLisp/vk-schedulerbunnei
vk_scheduler: Drop execution context in favor of views
2019-07-10Merge pull request #2700 from ogniK5377/GetFriendListbunnei
IFriendService::GetFriendList
2019-07-10Merge pull request #2611 from DarkLordZach/pm-info-cmdbunnei
pm: Implement various pm commands for finding process and title IDs
2019-07-10Merge pull request #2650 from DarkLordZach/mii-iface-verbunnei
mii: Implement IDatabaseService SetInterfaceVersion
2019-07-10Merge pull request #2691 from lioncash/overridebunnei
video_core: Add missing override specifiers
2019-07-09shader_ir: Add comments on missing instruction.Fernando Sahmkow
Also shows Nvidia's address space on comments.