Commit Graph

12119 Commits (f2e5c195201384c1c064a85c4b0a3549c7ed4250)
 

Author SHA1 Message Date
Bakugo 79163fca80 file_sys/registered_cache: Ignore DeltaFragment NCAs during installation
DeltaFragments are only used to download and apply partial patches on a real console, and are not useful to us at all. Most patch NSPs do not include them, and when they do, it's a waste of space to install them.
6 years ago
Bakugo 306a24aad7 file_sys: Rename ContentRecordType::Patch to DeltaFragment
Avoids potential confusion, since patches and DeltaFragments are not the same thing. Actual full patches are listed under the Program type.
6 years ago
David Marcec 472210bf72 hid:StartLrAssignmentMode, hid:StopLrAssignmentMode, hid:SwapNpadAssignment
StartLrAssignmentMode and StopLrAssignmentMode don't require any implementation as it's just used for showing the screen of changing the controller orientation if the user wishes to do so.  Ever since #1634 this has not been needed as users can specify the controller orientation from the config and swap at any time. We store a private member just in case this gets used for anything extra in the future
6 years ago
bunnei d992909636
Merge pull request #2583 from FernandoS27/core-timing-safe
Core_Timing: Make core_timing threadsafe by default.
6 years ago
ReinUsesLisp 6e1db6b703 texture_cache: Pack sibling queries inside a method 6 years ago
ReinUsesLisp 8eae66907e texture_cache: Use std::vector reservation for sampled_textures 6 years ago
ReinUsesLisp f6f1a8f26a texture_cache: Style changes 6 years ago
Zach Hilman 1ca2b504bf
Merge pull request #2653 from FearlessTobi/revert-2474-patch-1
Revert "CMake: Get Git submodule dependencies via CMake"
6 years ago
ReinUsesLisp dd9ace502b texture_cache: Use std::array for siblings_table 6 years ago
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 7e5d7773cc am: Implement SetCpuBoostMode in terms of APM 6 years ago
Zach Hilman e2ad3e1fb0 core: Keep instance of APM Controller 6 years ago
Zach Hilman e52306ca60 apm: Implement SetCpuBoostMode 6 years ago
Zach Hilman 1c6e6305ea apm: Add getters for performance config and mode 6 years ago
Zach Hilman 9175b00e7d apm: Add apm:am service
8.0.0+ identical version of apm
6 years ago
Zach Hilman 65eb9cbb28 apm: Add Controller class to manage speed data and application 6 years ago
Zach Hilman d40f38967e fsp-srv: Implement GetAccessLogVersionInfo
Returns some misc. data about logging to help the game determine if it should log.
6 years ago
Zach Hilman 554e2f2f98 reporter: Add report class for filesystem access logs 6 years ago
Zach Hilman db2fdd0352 fsp-srv: Implement OutputAccessLogToSdCard
Allows games to log data to the SD.
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