David Marcec
9a4d35fd46
SizedNotificationInfo should be 0x10 bytes, user_uuid is incorrect, this should be the users account id
7 years ago
David Marcec
c557b50022
fixed spelling errors and fixed issue with Pop not returning the SizedNotificationInfo
7 years ago
Zach Hilman
2f49b0e0b1
applets: Pass current process title ID to applets
Avoids using system accessor to get current process in applet code.
7 years ago
Zach Hilman
7de7e83df0
general_frontend: Add documentation for parental controls and ecommerce applets
7 years ago
Zach Hilman
d2ba9e2f09
web_browser: Only delete temporary directory if it was created
Prevents crashes with ShopN applet occasionally.
7 years ago
Zach Hilman
9425e3c388
web_browser: Take ECommerce applet frontend optionally in constructor
If it is needed but wasn't passed (or passed nullptr), the Shop handling code will alert and throw an error.
7 years ago
Zach Hilman
7bcf8e8305
web_browser: Use function tables for execute and initialize
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.
7 years ago
Zach Hilman
1322c2ff7a
web_browser: Correct structures and properly parse TLVs/ShimKind
Much, much more HW-accurate and allows us to easily support all of the different web 'shim' types.
7 years ago
Zach Hilman
30735156ff
applets: Track ECommerce and Parental Control applet frontends
7 years ago
Zach Hilman
9f43c3de05
applets: Implement Auth applet backend
This is responsible for parental controls and supports verifying, changing, and registering PIN codes.
7 years ago
Zach Hilman
430a52ecb3
glue: Implement arp:w and arp:r services
These keep track of running process' launch properties and control properties and allows for issuing and reading them by process and title ID.
7 years ago
Zach Hilman
837cc28dae
glue: Add errors for glue/arp services
7 years ago
Zach Hilman
5a9560cb33
glue: Add scaffolding for bgtc:t and bgtc:sc services
7 years ago
Zach Hilman
72306a95da
arp: Move to glue services
Glue is the name of the sysmodule that contains both arp and bgtc.
7 years ago
Zach Hilman
37a7c17014
glue: Add manager to keep track of application registry
Manages mapping between title IDs and application launch and control properties.
7 years ago
David Marcec
0a47457838
Implemented INotificationService
7 years ago
Lioncash
ee7b682ee0
service/acc: Silence truncation warnings
The sanitizing function ensures that the returned type is always the
correct type. This eliminates warnings without extra casts.
7 years ago
Fernando Sahmkow
1b11723253
Revert PR 2590.
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.
7 years ago
Lioncash
cedbb6ee41
service/audio/audren_u: Correct event reset type for the system event
This is actually an auto-reset event in the audio service itself, not a
manual one.
7 years ago
David Marcec
7b451419b4
Addressed issues
7 years ago
Fernando Sahmkow
16ee1b7006
Core_Timing: Make core_timing threadsafe by default.
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.
7 years ago
David Marcec
622b25db6e
Signalled accumulated_suspended_tick_changed_event on creation based on RE
7 years ago
David Marcec
9578a9a72d
Cleanup
7 years ago
David Marcec
5f5f8c6341
Impl'd IsUserAccountSwitchLocked, SetAudioOutVolume, GetAudioOutVolume & 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.
7 years ago
Lioncash
59d55c8137
common/hex_util: Combine HexVectorToString() and HexArrayToString()
These can be generified together by using a concept type to designate
them. This also has the benefit of not making copies of potentially very
large arrays.
7 years ago
Lioncash
b0fc1ae7bf
kernel/vm_manager: Remove redundant Reset call in destructor
This is performing more work than would otherwise be necessary during
VMManager's destruction. All we actually want to occur in this scenario
is for any allocated memory to be freed, which will happen automatically
as the VMManager instance goes out of scope.
Anything else being done is simply unnecessary work.
7 years ago
Zach Hilman
3f221f8e3f
kernel: Differentiate kernel and user processes when picking ID
This allows kernel internal type processes to be assigned IDs in the KIP range while userland processes are assigned in the user range.
7 years ago
Lioncash
9f6aa8af4a
kernel/process: Make Create()'s name parameter be taken by value
Makes the interface more flexible in terms of how Create() may be
called, while still allowing the parameter itself to be moved into.
7 years ago
Lioncash
3a22c12704
kernel/svc: Implement TotalMemoryUsedWithoutMmHeap/TotalMemoryAvailableWithoutMmHeap
Given we don't currently implement the personal heap yet, the existing
memory querying functions are essentially doing what the memory querying
types introduced in 6.0.0 do.
So, we can build the necessary machinery over the top of those and just
use them as part of info types.
7 years ago
Lioncash
a331973720
kernel/svc: Amend naming for TotalMemoryUsage in svcGetInfo()
Disambiguates and makes the name a little more consistent with
TotalPhysicalMemoryUsed.
7 years ago
Lioncash
9f62c69fca
kernel/svc: Remove duplicate enum entry in svcGetInfo()
7 years ago
Zach Hilman
bf2e779efb
constants: Extract backup JPEG used by account services
7 years ago
Lioncash
783b996dcd
service/ns: Add missing override specifiers
7 years ago
Lioncash
c23f162111
kernel/process: Remove unused boost header include
Boost headers typically include a lot of other headers, so removing this
can prevent a bit of unnecessary compiler churn when building.
7 years ago
Lioncash
debd00b300
core/core_timing_util: Amend casing of cyclesTo* functions
Makes the casing consistent with all of our general function naming
conventions.
7 years ago
Lioncash
97882b84a8
core/core_timing_util: Use std::chrono types for specifying time units
Makes the interface more type-safe and consistent in terms of return
values.
7 years ago
Lioncash
9ac89fde57
core/core: Remove unnecessary includes
The contents of these includes aren't used anywhere in this translation
unit.
7 years ago
Zach Hilman
7b531ebaae
ncm: Implement LR OpenAddOnContentLocationResolver (2)
Returns an object of type IAddOnContentLocationResolver for the provided StorageId.
7 years ago
Zach Hilman
2630a22608
ncm: Implement LR OpenRegisteredLocationResolver (1)
Returns an object of type IRegisteredLocationResolver for the StorageId.
7 years ago
Zach Hilman
feeda71211
ncm: Implement LR OpenLocationResolver (0)
Returns an object of type ILocationResolver with the provided StorageId.
7 years ago
Zach Hilman
227430a157
loader: Move NSO module tracking to AppLoader
Also cleanup of general stuff
7 years ago
Zach Hilman
bdfb6260d5
prepo: Save reports from PlayReport service
Logs a lot of seemingly innocuous telemetry games generate.
7 years ago
Zach Hilman
1509f4921d
fatal: Save report on fatal:u call
Matches offical behavior with creport and replaces old log/text based report system.
7 years ago
Zach Hilman
30368b0571
service: Save report on unimplemented function call
7 years ago
Zach Hilman
f5659d962c
applets/error: Save report on error applet
This matches official behavior with the erpt/eclct/eupld service chain.
7 years ago
Zach Hilman
0ab58dcc13
applets: Save report on stubbed applet
This also reworks the applet data storage to be peekable.
7 years ago
Zach Hilman
7c698b4f31
svc: Save report on call to svcBreak
7 years ago
Michael Scire
33290c231a
Fix bitmask logic inversion
7 years ago
Michael Scire
6c068e4636
fix introduced clang-format errors
7 years ago
Michael Scire
35293a8285
Address review comments
7 years ago