Zach Hilman
f477c5dfdd
set: Implement GetQuestFlag
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.
7 years ago
Zach Hilman
efa7d8d04b
settings: Add config option for kiosk (quest) mode
7 years ago
Zach Hilman
d10fc2d727
glue: Correct missing bytes in ApplicationLaunchParameter
7 years ago
Zach Hilman
3c4238657d
applets: Pass current process title ID to applets
Avoids using system accessor to get current process in applet code.
7 years ago
Zach Hilman
01ff38cca8
general_frontend: Add documentation for parental controls and ecommerce applets
7 years ago
Zach Hilman
73dcb13619
web_browser: Only delete temporary directory if it was created
Prevents crashes with ShopN applet occasionally.
7 years ago
Zach Hilman
d018ac2c60
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
54684feffa
frontend: Add base class and default impl for ECommerce applet frontend
7 years ago
Zach Hilman
3898c3903e
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
675aa5f719
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
e447d8aafa
applets: Track ECommerce and Parental Control applet frontends
7 years ago
Zach Hilman
6ff9008230
web_browser: Rename OpenPage to OpenPageLocal
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.
7 years ago
Zach Hilman
c96450f6e2
frontend: Add base class and default impl of parent controls applet frontend
7 years ago
Zach Hilman
9d2d349d7b
applets: Implement Auth applet backend
This is responsible for parental controls and supports verifying, changing, and registering PIN codes.
7 years ago
Zach Hilman
d40a38df8d
core: Keep track of ARPManager and register current application on boot
7 years ago
Zach Hilman
ce21973022
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
df3ee4f444
glue: Add errors for glue/arp services
7 years ago
Zach Hilman
4fab0d392b
glue: Add scaffolding for bgtc:t and bgtc:sc services
7 years ago
Zach Hilman
9003e19797
arp: Move to glue services
Glue is the name of the sysmodule that contains both arp and bgtc.
7 years ago
Zach Hilman
5f8d2a2044
glue: Add manager to keep track of application registry
Manages mapping between title IDs and application launch and control properties.
7 years ago
Zach Hilman
db2e5e5fa6
registered_cache: Add getter to determine source slot in content provider union
Used to determine StorageId source for application data.
7 years ago
Zach Hilman
a468273221
patch_manager: Add getter for title version
7 years ago
Thomas May
334e6370f9
Update reporter.cpp
7 years ago
Lioncash
82cd87f6c2
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
Zach Hilman
4111971cbd
freezer: Update documentation
7 years ago
Zach Hilman
ed82fa3a91
core: Move Freezer class to tools namespace
7 years ago
Zach Hilman
c9983ad9a7
freezer: Add documentation for methods
7 years ago
Zach Hilman
1b7d619914
memory: Add class to manage and enforce memory freezing
7 years ago
Fernando Sahmkow
26fcdf087d
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
jonsn0w
e78d069a81
Update content_archive.cpp
log clutter in debug logs when theres really no need
7 years ago
Lioncash
61d2498f00
core: Remove unused CiTrace source files
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.
7 years ago
Lioncash
5799404b78
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
6ca20ad7ba
Addressed issues
7 years ago
David Marcec
50e3269f3b
Signalled accumulated_suspended_tick_changed_event on creation based on RE
7 years ago
David Marcec
5fb6781c61
Cleanup
7 years ago
David Marcec
335127af69
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
18c1d91920
file_sys/ips_layer: Remove unnecessary reserve() call
Given 'replace' is assigned to on the following line, this isn't
necessary, given the underlying data is going to be overwritten
entirely.
7 years ago
Lioncash
a62088539e
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
c7daddb715
file_sys/card_image: Remove obsolete TODO
We already support Rev 1+.
7 years ago
Lioncash
0af3b4d9f4
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
Lioncash
a602bcaaf8
file_sys/nca_metadata: Update CNMT structures
Names a few more entries in relevant structures. Information based off
SwitchBrew and my own RE.
7 years ago
Lioncash
7bdef6106e
file_sys/card_image: Deduplicate casts within AddNCAFromPartition()
Makes for nicer reading.
7 years ago
Lioncash
81d361d9f8
file_sys/card_image: Make bracing consistent
Makes for more consistent reading.
7 years ago
Lioncash
e34368249f
file_sys/card_image: Assign collapsed NCA contents directly to ncas member
Same thing, significantly less noisy.
7 years ago
Lioncash
288d027e89
file_sys/card_image: Deduplicate type cast
Same thing, less duplication. We can also std::move raw into the
PartitionFilesystem constructor.
7 years ago
Lioncash
825ffd7b1f
file_sys/card_image: Get rid of a magic number
We can just use the size of the array to dehardcode it.
7 years ago
Lioncash
bf35138d1d
file_sys/card_image: Use std::array deduction guides
Same thing, less code.
7 years ago
Zach Hilman
fc0bf91a96
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
fea6568955
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
3f87664d8f
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