Commit Graph

12101 Commits (b901cd584e7c63ace5feb095279e1671fc605129)
 

Author SHA1 Message Date
ReinUsesLisp 3f3c3ca5f9 texture_cache: Address feedback 6 years ago
Tobias cae9708a00 Revert "CMake: Get Git submodule dependencies via CMake (#2474)"
This reverts commit 5cef446f42.
6 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.
6 years ago
Zach Hilman efa7d8d04b settings: Add config option for kiosk (quest) mode 6 years ago
bunnei bb4a1e059c
Merge pull request #2533 from DarkLordZach/memory-frozen
memory: Add class to manage and enforce memory freezing
6 years ago
David Marcec dfe4b3f723 Attemp clang format fix?
Seems to be an issue with clang format
6 years ago
David Marcec 7d417d501d Added errors.h to cmakelist 6 years ago
David Marcec c2146c4eef Addressed issues 6 years ago
David Marcec fd6549be73 Addressed issues 6 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
6 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
6 years ago
bunnei 4ed2774c26
Merge pull request #2607 from DarkLordZach/arp-1
glue: Implement arp:w and arp:r services
6 years ago
David Marcec f67039c067 Addressed issues 6 years ago
Zach Hilman d10fc2d727 glue: Correct missing bytes in ApplicationLaunchParameter 6 years ago
Fernando Sahmkow 223ca80753 texture_cache: Correct variable naming. 6 years ago
Fernando Sahmkow 5aeabd9a17 gl_texture_cache: Correct asserts 6 years ago
Fernando Sahmkow 88bc39374f texture_cache: Corrections, documentation and asserts 6 years ago
Fernando Sahmkow c0abc7124d surface_params: Corrections, asserts and documentation. 6 years ago
Fernando Sahmkow fb234560b0 copy_params: use constexpr for constructor 6 years ago
Fernando Sahmkow 18d24fbdd0 gl_texture_cache: Corrections and fixes 6 years ago
Fernando Sahmkow 36665ce0b2 gl_resource_manager: Correct MakeStreamCopy 6 years ago
Fernando Sahmkow 58c8a44e7a texture_cache: Query MemoryManager from the system 6 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
6 years ago
David Marcec 192f1f7ebe SizedNotificationInfo should be 0x10 bytes, user_uuid is incorrect, this should be the users account id 6 years ago
David Marcec 5d005b87a3 fixed spelling errors and fixed issue with Pop not returning the SizedNotificationInfo 6 years ago
Zach Hilman 3c4238657d applets: Pass current process title ID to applets
Avoids using system accessor to get current process in applet code.
6 years ago
Zach Hilman 01ff38cca8 general_frontend: Add documentation for parental controls and ecommerce applets 6 years ago
Zach Hilman 73dcb13619 web_browser: Only delete temporary directory if it was created
Prevents crashes with ShopN applet occasionally.
6 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.
6 years ago
Zach Hilman 54684feffa frontend: Add base class and default impl for ECommerce applet frontend 6 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.
6 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.
6 years ago
Zach Hilman b889167b2c yuzu: Accept default applets for Parental Controls and ECommerce 6 years ago
Zach Hilman e447d8aafa applets: Track ECommerce and Parental Control applet frontends 6 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.
6 years ago
Zach Hilman c96450f6e2 frontend: Add base class and default impl of parent controls applet frontend 6 years ago
Zach Hilman 9d2d349d7b applets: Implement Auth applet backend
This is responsible for parental controls and supports verifying, changing, and registering PIN codes.
6 years ago
Zach Hilman d40a38df8d core: Keep track of ARPManager and register current application on boot 6 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.
6 years ago
Zach Hilman df3ee4f444 glue: Add errors for glue/arp services 6 years ago
Zach Hilman 4fab0d392b glue: Add scaffolding for bgtc:t and bgtc:sc services 6 years ago
Zach Hilman 9003e19797 arp: Move to glue services
Glue is the name of the sysmodule that contains both arp and bgtc.
6 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.
6 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.
6 years ago
Zach Hilman a468273221 patch_manager: Add getter for title version 6 years ago
ReinUsesLisp 7565389700 texture_cache: Include "core/core.h" 6 years ago
ReinUsesLisp e723441e37 gl_texture_cache: Explicitly add indirect include 6 years ago
ReinUsesLisp 34841a41c3 texture_cache/surface_view: Address feedback 6 years ago
ReinUsesLisp 0837290992 texture_cache/surface_base: Address feedback 6 years ago
ReinUsesLisp 75de730e28 video_core/surface: Address feedback 6 years ago