summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-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-09IFriendService::GetFriendListDavid Marcec
We don't have any friends implemented in Yuzu yet so it doesn't make sense to return any friends. For now we'll be returning 0 friends however the information provided will allow a proper implementation of this cmd when needed.
2019-07-09gl_rasterizer: Amend documentation comment for ConfigureFramebuffers()Lioncash
must_reconfigure isn't a parameter for this function any more, so it can be replaced with current_state. While we're at it, we can make the parameters of the declaration match the same name as the ones in the definition.
2019-07-08Merge pull request #2661 from ogniK5377/audren-loopZach Hilman
audren: Only manage wave buffers with a size
2019-07-08Merge pull request #2657 from ogniK5377/npad-assignmentsZach Hilman
hid:StartLrAssignmentMode, hid:StopLrAssignmentMode, hid:SwapNpadAssignment
2019-07-08addressed issuesDavid Marcec
2019-07-08addressed issueDavid Marcec
2019-07-07Merge pull request #2651 from DarkLordZach/apm-boost-mode-1bunnei
apm: Initial implementation of performance config and boost mode
2019-07-07Merge pull request #2642 from DarkLordZach/fsp-log-2bunnei
fsp-srv: Implement Access Logging Functionality
2019-07-07Delete decode_integer_set.cppTobias
2019-07-07vk_sampler_cache: Remove unused includesLioncash
These are no longer used within this header, so they can be removed.
2019-07-07video_core: Add missing override specifiersLioncash
2019-07-07vk_scheduler: Drop execution context in favor of viewsReinUsesLisp
Instead of passing by copy an execution context through out the whole Vulkan call hierarchy, use a command buffer view and fence view approach. This internally dereferences the command buffer or fence forcing the user to be unable to use an outdated version of it on normal usage. It is still possible to keep store an outdated if it is casted to VKFence& or vk::CommandBuffer. While changing this file, add an extra parameter for Flush and Finish to allow releasing the fence from this calls.
2019-07-06mii: Implement IDatabaseService SetInterfaceVersionZach Hilman
Appears to set a member variable used to affect the API that games access, and the method used to store data.
2019-07-06Merge pull request #2674 from lioncash/reporterZach Hilman
core/reporter: Minor changes
2019-07-06Merge pull request #2677 from lioncash/assertZach Hilman
kernel/vm_manager: Handle stack/TLS IO region placement a little better
2019-07-06clang-format fixesMichael Scire
2019-07-06am: Implement GetAccumulatedSuspendedTickValueMichael Scire
2019-07-06memory: Remove unused includesLioncash
These aren't used within the central memory management code, so they can be removed.
2019-07-06memory: Remove unused PageTable forward declarationLioncash
This isn't used by anything in the header file, so it can be removed.
2019-07-06kernel/vm_manager: Rename 'new map' to 'stack'Lioncash
Provides a more accurate name for the memory region and also disambiguates between the map and new map regions of memory, making it easier to understand.
2019-07-05kernel/vm_manager: Handle stack/TLS IO region placement betterLioncash
Handles the placement of the stack a little nicer compared to the previous code, which was off in a few ways. e.g. The stack (new map) region, shouldn't be the width of the entire address space if the size of the region calculation ends up being zero. It should be placed at the same location as the TLS IO region and also have the same size. In the event the TLS IO region contains a size of zero, we should also be doing the same thing. This fixes our memory layout a little bit and also resolves some cases where assertions can trigger due to the memory layout being incorrect.
2019-07-05core/reporter: Allow moves into SaveToFile()Lioncash
Taking the json instance as a constant reference, makes all moves into the parameter non-functional, resulting in copies. Taking it by value allows moves to function.
2019-07-05core/reporter: Add missing includes and forward declarationsLioncash
Adds missing inclusions to prevent potential compilation issues.
2019-07-05core/reporter: Remove unnecessary namespace qualifiersLioncash
The Reporter class is part of the Core namespace, so the System class doesn't need to be qualified.
2019-07-05core/reporter: Remove pessimizing move in GetHLERequestContextData()Lioncash
This can inhibit copy-elision, so we can remove this redundant move.
2019-07-05core/reporter: Make bracing consistentLioncash
Makes all control statements braced, regardless of their size, making code more uniform.
2019-07-05core/reporter: Return in error case in SaveToFile()Lioncash
If the path couldn't be created, then we shouldn't be attempting to save the file.
2019-07-05Merge pull request #2601 from FernandoS27/texture_cacheZach Hilman
Implement a new Texture Cache
2019-07-05texture_cache: Address FeedbackFernando Sahmkow
2019-07-04texture_cache: Correct Texture Buffer UploadingFernando Sahmkow
2019-07-04Merge pull request #2669 from FearlessTobi/move-cpujit-settingZach Hilman
yuzu: Move CPU Jit setting to Debug tab
2019-07-04Merge pull request #2555 from lioncash/tlsZach Hilman
kernel/process: Decouple TLS handling from threads
2019-07-04yuzu: Remove CPU Jit setting from the UIfearlessTobi
A normal user shouldn't change this, as it will slow down the emulation and can lead to bugs or crashes. The renaming is done in order to prevent users from leaving this on without a way to turn it off from the UI.
2019-07-04Merge pull request #2670 from DarkLordZach/fix-merge-discrep-1bunnei
gl_shader_cache: Make CachedShader constructor private
2019-07-04Merge pull request #2658 from ogniK5377/QueryAudioDeviceOutputEventbunnei
IAudioDevice::QueryAudioDeviceOutputEvent
2019-07-04Merge pull request #2638 from DarkLordZach/quest-flagbunnei
set: Implement GetQuestFlag with config option
2019-07-03gl_shader_cache: Make CachedShader constructor privateZach Hilman
Fixes missing review comments introduced.
2019-07-03kernel/process: Default initialize all member variablesLioncash
Ensures a Process instance is always created with a deterministic initial state.
2019-07-03kernel/process: Decouple TLS handling from threadsLioncash
Extracts out all of the thread local storage management from thread instances themselves and makes the owning process handle the management of the memory. This brings the memory management slightly more in line with how the kernel handles these allocations. Furthermore, this also makes the TLS page management a little more readable compared to the lingering implementation that was carried over from Citra.
2019-07-03kernel/vm_manager: Add overload of FindFreeRegion() that operates on a boundaryLioncash
This will be necessary for making our TLS slot management slightly more straightforward. This can also be utilized for other purposes in the future. We can implement the existing simpler overload in terms of this one anyways, we just pass the beginning and end of the ASLR region as the boundaries.
2019-07-03Merge pull request #2613 from ogniK5377/InitalizeApplicationInfoZach Hilman
Implemented InitializeApplicationInfo & InitializeApplicationInfoRestricted
2019-07-03Merge pull request #2608 from ogniK5377/Time_GetSharedMemoryNativeHandleZach Hilman
Implement Time::GetSharedMemoryNativeHandle
2019-07-03Merge pull request #2563 from ReinUsesLisp/shader-initializersZach Hilman
gl_shader_cache: Use static constructors for CachedShader initialization