| Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
|
|
This is more representative of what actually occurs, as web does support remote URLs which wouldn't need a romfs callback. This paves for easy future support of this with a call like 'OpenPageRemote' or similar.
|
|
|
|
This is responsible for parental controls and supports verifying, changing, and registering PIN codes.
|
|
|
|
These keep track of running process' launch properties and control properties and allows for issuing and reading them by process and title ID.
|
|
|
|
|
|
Glue is the name of the sysmodule that contains both arp and bgtc.
|
|
Manages mapping between title IDs and application launch and control properties.
|
|
Used to determine StorageId source for application data.
|
|
|
|
|
|
|
|
service/acc: Silence truncation warnings
|
|
kernel: Differentiate kernel and user processes when picking ID
|
|
loader, file_sys: Add support for parsing and loading KIP (Kernel Internal Process) files
|
|
core: Add detailed local reporting feature for development
|
|
The sanitizing function ensures that the returned type is always the
correct type. This eliminates warnings without extra casts.
|
|
|
|
|
|
|
|
|
|
Revert PR 2590.
|
|
Update content_archive.cpp
|
|
Even though it has been proven that IAudioRenderer:SystemEvent is
actually an automatic event. The current implementation of such event is
all thought to be manual. Thus it's implementation needs to be corrected
when doing such change. As it is right now this PR introduced a series
of regressions on softlocks on multiple games. Therefore, this pr
reverts such change until a correct implementation is made.
|
|
core: Remove unused CiTrace source files
|
|
service/audio/audren_u: Correct event reset type for the system event
|
|
log clutter in debug logs when theres really no need
|
|
These source files have been unused for the entire lifecycle of the
project. They're a hold-over from Citra and only add to the build time
of the project, so they can be removed.
There's also likely no way this would ever work in yuzu in its current
form without revamping quite a bit of it, given how different the GPU on
the Switch is compared to the 3DS.
|
|
This is actually an auto-reset event in the audio service itself, not a
manual one.
|
|
|
|
The old implementation had faulty Threadsafe methods where events could
be missing. This implementation unifies unsafe/safe methods and makes
core timing thread safe overall.
|
|
|
|
|
|
Partial impl of GetAccumulatedSuspendedTickChangedEvent
IPC-100 was changed to InitializeApplicationInfoOld instead of InitializeApplicationInfo. IPC-150 makes an indentical call to IPC-100 however does extra processing. They should not have the same name as it's quite confusing to debug.
|
|
common/hex_util: Combine HexVectorToString() and HexArrayToString()
|
|
file_sys/ips_layer: Remove unnecessary reserve() call
|
|
kernel/vm_manager: Remove redundant Reset call in destructor
|