Zach Hilman
65eb9cbb28
apm: Add Controller class to manage speed data and application
7 years ago
Zach Hilman
d40f38967e
fsp-srv: Implement GetAccessLogVersionInfo
Returns some misc. data about logging to help the game determine if it should log.
7 years ago
Zach Hilman
554e2f2f98
reporter: Add report class for filesystem access logs
7 years ago
Zach Hilman
db2fdd0352
fsp-srv: Implement OutputAccessLogToSdCard
Allows games to log data to the SD.
7 years ago
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
bunnei
bb4a1e059c
Merge pull request #2533 from DarkLordZach/memory-frozen
memory: Add class to manage and enforce memory freezing
7 years ago
David Marcec
dfe4b3f723
Attemp clang format fix?
Seems to be an issue with clang format
7 years ago
David Marcec
7d417d501d
Added errors.h to cmakelist
7 years ago
David Marcec
c2146c4eef
Addressed issues
7 years ago
David Marcec
fd6549be73
Addressed issues
7 years ago
David Marcec
0b03e8a98f
Implemented InitializeApplicationInfo & InitializeApplicationInfoRestricted
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
7 years ago
Zach Hilman
bce4bfffb6
pm: Implement pm:shell and pm:dmnt GetApplicationPid
Returns the process ID of the current application or 0 if no app is running.
7 years ago
Zach Hilman
354c254cde
pm: Implement pm:dmnt GetTitlePid
Takes a title ID and searches for a matching process, returning error if it doesn't exist, otherwise the process ID.
7 years ago
Zach Hilman
49af3bcdcb
pm: Implement pm:info GetTitleId
Searches the process list for a process with the specified ID, returning the title ID if it exists.
7 years ago
bunnei
5829ba1ccc
Merge pull request #2548 from DarkLordZach/applet-shopn
applets: Implement backend and default frontend for Parental Controls and EShop (ShopN) applets
7 years ago
bunnei
4ed2774c26
Merge pull request #2607 from DarkLordZach/arp-1
glue: Implement arp:w and arp:r services
7 years ago
David Marcec
f67039c067
Addressed issues
7 years ago
Zach Hilman
d10fc2d727
glue: Correct missing bytes in ApplicationLaunchParameter
7 years ago
Fernando Sahmkow
223ca80753
texture_cache: Correct variable naming.
7 years ago
Fernando Sahmkow
5aeabd9a17
gl_texture_cache: Correct asserts
7 years ago
Fernando Sahmkow
88bc39374f
texture_cache: Corrections, documentation and asserts
7 years ago
Fernando Sahmkow
c0abc7124d
surface_params: Corrections, asserts and documentation.
7 years ago
Fernando Sahmkow
fb234560b0
copy_params: use constexpr for constructor
7 years ago
Fernando Sahmkow
18d24fbdd0
gl_texture_cache: Corrections and fixes
7 years ago
Fernando Sahmkow
36665ce0b2
gl_resource_manager: Correct MakeStreamCopy
7 years ago
Fernando Sahmkow
58c8a44e7a
texture_cache: Query MemoryManager from the system
7 years ago
David Marcec
19dc36ce06
Implement Time::GetSharedMemoryNativeHandle
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
7 years ago
David Marcec
192f1f7ebe
SizedNotificationInfo should be 0x10 bytes, user_uuid is incorrect, this should be the users account id
7 years ago
David Marcec
5d005b87a3
fixed spelling errors and fixed issue with Pop not returning the SizedNotificationInfo
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
b889167b2c
yuzu: Accept default applets for Parental Controls and ECommerce
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