| Age | Commit message (Collapse) | Author |
|
Restore memory perms on svcUnmapMemory/UnloadNro
|
|
This simply queries whether or not auto-sleep facilities are disabled
and has no special handling. It's a basic getter function.
|
|
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.
|
|
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.
|
|
IFriendService::GetFriendList
|
|
pm: Implement various pm commands for finding process and title IDs
|
|
mii: Implement IDatabaseService SetInterfaceVersion
|
|
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.
|
|
hid:StartLrAssignmentMode, hid:StopLrAssignmentMode, hid:SwapNpadAssignment
|
|
|
|
apm: Initial implementation of performance config and boost mode
|
|
fsp-srv: Implement Access Logging Functionality
|
|
Appears to set a member variable used to affect the API that games access, and the method used to store data.
|
|
|
|
|
|
IAudioDevice::QueryAudioDeviceOutputEvent
|
|
set: Implement GetQuestFlag with config option
|
|
Implemented InitializeApplicationInfo & InitializeApplicationInfoRestricted
|
|
Implement Time::GetSharedMemoryNativeHandle
|
|
Implemented INotificationService
|
|
|
|
The event should only be signaled when an output audio device gets changed. Example, Speaker to USB headset. We don't identify different devices internally yet so there's no need to signal the event yet.
|
|
StartLrAssignmentMode and StopLrAssignmentMode don't require any implementation as it's just used for showing the screen of changing the controller orientation if the user wishes to do so. Ever since #1634 this has not been needed as users can specify the controller orientation from the config and swap at any time. We store a private member just in case this gets used for anything extra in the future
|
|
|
|
|
|
|
|
8.0.0+ identical version of apm
|
|
|
|
Returns some misc. data about logging to help the game determine if it should log.
|
|
Allows games to log data to the SD.
|
|
Simply returns a true/false value indicating if the system is a kiosk system. This has been mapped to a config option for the purposes of yuzu.
|
|
Seems to be an issue with clang format
|
|
|
|
|
|
InitializeApplicationInfoRestricted will need further implementation as it's checking for other user requirements about the game. As we're emulating, we're assuming the user owns the game so we skip these checks currently, implementation will need to be added further on
|
|
Returns the process ID of the current application or 0 if no app is running.
|
|
Takes a title ID and searches for a matching process, returning error if it doesn't exist, otherwise the process ID.
|
|
Searches the process list for a process with the specified ID, returning the title ID if it exists.
|
|
applets: Implement backend and default frontend for Parental Controls and EShop (ShopN) applets
|
|
|
|
|
|
This PR attempts to implement the shared memory provided by GetSharedMemoryNativeHandle. There is still more work to be done however that requires a rehaul of the current time module to handle clock contexts. This PR is mainly to get the basic functionality of the SharedMemory working and allow the use of addition to it whilst things get improved on.
Things to note:
Memory Barriers are used in the SharedMemory and a better solution would need to be done to implement this. Currently in this PR I’m faking the memory barriers as everything is sync and single threaded. They work by incrementing the counter and just populate the two data slots. On data reading, it will read the last added data.
Specific values in the shared memory would need to be updated periodically. This isn't included in this PR since we don't actively do this yet. In a later PR when time is refactored this should be done.
Finally, as we don't handle clock contexts. When time is refactored, we will need to update the shared memory for specific contexts. This PR does this already however since the contexts are all identical and not separated. We're just updating the same values for each context which in this case is empty.
Tiime:SetStandardUserSystemClockAutomaticCorrectionEnabled, Time:IsStandardUserSystemClockAutomaticCorrectionEnabled are also partially implemented in this PR. The reason the implementation is partial is because once again, a lack of clock contexts. This will be improved on in a future PR.
This PR closes issue #2556
|
|
should be the users account id
|
|
SizedNotificationInfo
|
|
Avoids using system accessor to get current process in applet code.
|
|
|
|
Prevents crashes with ShopN applet occasionally.
|
|
If it is needed but wasn't passed (or passed nullptr), the Shop handling code will alert and throw an error.
|
|
Allows easy handling of multiple shim types, as they have enough in common to be the same backend but not enough to share init/exec.
|
|
Much, much more HW-accurate and allows us to easily support all of the different web 'shim' types.
|