aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle
AgeCommit message (Collapse)Author
2019-06-30Merge pull request #2583 from FernandoS27/core-timing-safebunnei
Core_Timing: Make core_timing threadsafe by default.
2019-06-28am: Implement SetCpuBoostMode in terms of APMZach Hilman
2019-06-28apm: Implement SetCpuBoostModeZach Hilman
2019-06-28apm: Add getters for performance config and modeZach Hilman
2019-06-28apm: Add apm:am serviceZach Hilman
8.0.0+ identical version of apm
2019-06-28apm: Add Controller class to manage speed data and applicationZach Hilman
2019-06-28fsp-srv: Implement GetAccessLogVersionInfoZach Hilman
Returns some misc. data about logging to help the game determine if it should log.
2019-06-28fsp-srv: Implement OutputAccessLogToSdCardZach Hilman
Allows games to log data to the SD.
2019-06-28set: Implement GetQuestFlagZach Hilman
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.
2019-06-28Attemp clang format fix?David Marcec
Seems to be an issue with clang format
2019-06-28Addressed issuesDavid Marcec
2019-06-28Addressed issuesDavid Marcec
2019-06-27Implemented InitializeApplicationInfo & InitializeApplicationInfoRestrictedDavid Marcec
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
2019-06-26pm: Implement pm:shell and pm:dmnt GetApplicationPidZach Hilman
Returns the process ID of the current application or 0 if no app is running.
2019-06-26pm: Implement pm:dmnt GetTitlePidZach Hilman
Takes a title ID and searches for a matching process, returning error if it doesn't exist, otherwise the process ID.
2019-06-26pm: Implement pm:info GetTitleIdZach Hilman
Searches the process list for a process with the specified ID, returning the title ID if it exists.
2019-06-26Merge pull request #2548 from DarkLordZach/applet-shopnbunnei
applets: Implement backend and default frontend for Parental Controls and EShop (ShopN) applets
2019-06-26Addressed issuesDavid Marcec
2019-06-25glue: Correct missing bytes in ApplicationLaunchParameterZach Hilman
2019-06-26Implement Time::GetSharedMemoryNativeHandleDavid Marcec
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
2019-06-25SizedNotificationInfo should be 0x10 bytes, user_uuid is incorrect, this ↵David Marcec
should be the users account id
2019-06-25fixed spelling errors and fixed issue with Pop not returning the ↵David Marcec
SizedNotificationInfo
2019-06-24applets: Pass current process title ID to appletsZach Hilman
Avoids using system accessor to get current process in applet code.
2019-06-24general_frontend: Add documentation for parental controls and ecommerce appletsZach Hilman
2019-06-24web_browser: Only delete temporary directory if it was createdZach Hilman
Prevents crashes with ShopN applet occasionally.
2019-06-24web_browser: Take ECommerce applet frontend optionally in constructorZach Hilman
If it is needed but wasn't passed (or passed nullptr), the Shop handling code will alert and throw an error.
2019-06-24web_browser: Use function tables for execute and initializeZach Hilman
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.
2019-06-24web_browser: Correct structures and properly parse TLVs/ShimKindZach Hilman
Much, much more HW-accurate and allows us to easily support all of the different web 'shim' types.
2019-06-24applets: Track ECommerce and Parental Control applet frontendsZach Hilman
2019-06-24applets: Implement Auth applet backendZach Hilman
This is responsible for parental controls and supports verifying, changing, and registering PIN codes.
2019-06-24glue: Implement arp:w and arp:r servicesZach Hilman
These keep track of running process' launch properties and control properties and allows for issuing and reading them by process and title ID.
2019-06-24glue: Add errors for glue/arp servicesZach Hilman
2019-06-24glue: Add scaffolding for bgtc:t and bgtc:sc servicesZach Hilman
2019-06-24arp: Move to glue servicesZach Hilman
Glue is the name of the sysmodule that contains both arp and bgtc.
2019-06-24glue: Add manager to keep track of application registryZach Hilman
Manages mapping between title IDs and application launch and control properties.
2019-06-24Implemented INotificationServiceDavid Marcec
2019-06-21Merge pull request #2602 from lioncash/castbunnei
service/acc: Silence truncation warnings
2019-06-21Merge pull request #2575 from DarkLordZach/process-id-typesbunnei
kernel: Differentiate kernel and user processes when picking ID
2019-06-21Merge pull request #2482 from DarkLordZach/prepobunnei
core: Add detailed local reporting feature for development
2019-06-21service/acc: Silence truncation warningsLioncash
The sanitizing function ensures that the returned type is always the correct type. This eliminates warnings without extra casts.
2019-06-19Revert PR 2590.Fernando Sahmkow
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.
2019-06-19Merge pull request #2590 from lioncash/eventbunnei
service/audio/audren_u: Correct event reset type for the system event
2019-06-18service/audio/audren_u: Correct event reset type for the system eventLioncash
This is actually an auto-reset event in the audio service itself, not a manual one.
2019-06-17Addressed issuesDavid Marcec
2019-06-16Core_Timing: Make core_timing threadsafe by default.Fernando Sahmkow
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.
2019-06-16Signalled accumulated_suspended_tick_changed_event on creation based on REDavid Marcec
2019-06-16CleanupDavid Marcec
2019-06-16Impl'd IsUserAccountSwitchLocked, SetAudioOutVolume, GetAudioOutVolume & ↵David Marcec
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.
2019-06-15Merge pull request #2581 from lioncash/hexZach Hilman
common/hex_util: Combine HexVectorToString() and HexArrayToString()
2019-06-12common/hex_util: Combine HexVectorToString() and HexArrayToString()Lioncash
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.