aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle
AgeCommit message (Collapse)Author
2020-06-24Mark invalid IPC buffers as ASSERT_OR_EXECUTE_MSGDavid Marcec
Previously if applications would send faulty buffers(example homebrew) it would lead to us returning uninitalized data. Switching from ASSERT_MSG to ASSERT_OR_EXECUTE_MSG allows us to have a fail safe to prevent crashes but also continue execution without introducing undefined behavior
2020-06-24Move GetKeyCodeMapImpl to an anonymous namespaceDavid Marcec
2020-06-24Fixed logging outputDavid Marcec
2020-06-24Implement GetKeyCodeMap & GetKeyCodeMap2David Marcec
Closes #3919
2020-06-23Merge pull request #4138 from Morph1984/GyroscopeZeroDriftModebunnei
hid: Implement Get/ResetGyroscopeZeroDriftMode
2020-06-23Merge pull request #4128 from lioncash/move2bunnei
software_keyboard: Eliminate trivial redundant copies
2020-06-22lm: Silence no return value warningMorph
2020-06-22account: Update function tables and add missing classes (#4145)VolcaEM
* account: Update function tables and add missing classes * clang-format * Add missing "public" * Add missing public again * Add missing final
2020-06-21hid: Implement Get/ResetGyroscopeZeroDriftModeMorph
- Used by Captain Toad Treasure Tracker
2020-06-20software_keyboard: Eliminate trivial redundant copiesLioncash
We can just make use of moves here to get rid of two redundant copies
2020-06-18memory_manager: Explicitly specifcy std::min<size_t>MerryMage
2020-06-18Move SHA256Hash to its original positionVolcaEM
It's not needed to have it in its previous position anymore
2020-06-16Remove unnecessary pragmasVolcaEM
2020-06-16Revert IsValidNRO refactor but make it more readableVolcaEM
2020-06-16Update assert stringVolcaEM
2020-06-14Merge pull request #4070 from ogniK5377/GetTPCMasks-fixbunnei
nvdrv: Fix GetTPCMasks for ioctl3
2020-06-14Clang-format againVolcaEM
2020-06-14Use consistent variable namesVolcaEM
2020-06-14Clang-formatVolcaEM
2020-06-14Make assert strings consistentVolcaEM
2020-06-14Attempt to fix crashes in SSBU and refactor IsValidNROVolcaEM
2020-06-14Merge pull request #4069 from ogniK5377/total-phys-membunnei
kernel: Account for system resource size for memory usage
2020-06-12Merge pull request #4010 from ogniK5377/reserve-always-breakbunnei
kernel: ResourceLimit::Reserve remove useless while loop
2020-06-10nvdrv: Fix GetTPCMasks for ioctl3David Marcec
Fixes animal crossing svcBreak on launch
2020-06-10kernel: Account for system resource size for memory usageDavid Marcec
GetTotalPhysicalMemoryAvailableWithoutSystemResource & GetTotalPhysicalMemoryUsedWithoutSystemResource seem to subtract the resource size from the usage.
2020-06-04service: nvhost_vic: Ignore Submit commands.bunnei
2020-06-04nvdrv: Stub nvdec/vic ioctls to bypass nvdec moviesZach Hilman
2020-06-04Downgrade "handle not signaled" error to traceDavid Marcec
clogs logs quite a bit
2020-06-02Address review commentsVolcaEM
2020-06-01Clang-formatVolcaEM
2020-06-01hid: Stub GetXpadIDsVolcaEM
Allows Minecraft: Nintendo Switch Edition (a.k.a. old Minecraft) to boot and go ingame
2020-05-31Add comment to nrr_kindVolcaEM
According to Atmosphére (https://github.com/Atmosphere-NX/Atmosphere/blob/c7026b90940a1d88f9c10a6d98263bf22e654fa5/libraries/libstratosphere/include/stratosphere/ro/ro_types.hpp), nrr_kind (Atmosphére calls it "type") is 7.0.0+
2020-05-31ldr: Update NRR/NRO structs VolcaEM
This was based on Switchbrew pages: https://switchbrew.org/wiki/NRR https://switchbrew.org/wiki/NRO
2020-05-29kernel: ResourceLimit::Reserve remove useless while loopDavid Marcec
Timeout is a u64, it will always be >= 0
2020-05-21clang-formatVolcaEM
2020-05-21nifm: correct assert in CreateTemporaryNetworkProfileVolcaEM
This has been wrong since https://github.com/yuzu-emu/yuzu/commit/0432af5ad1ec34f02071f6fdc5fc78149b059f18 I haven't found a game that called this function (and I haven't tried this on a real Switch), and because of this I haven't been able to check if the number in assert OR the string in the assert is wrong, but one of the two is wrong: NetworkProfileData is 0x18E, while SfNetworkProfileData is 0x17C, according to Switchbrew Switchbrew doesn't officially say that NetworkProfileData's size is 0x18E but it's possible to calculate its size since Switchbrew provides the size and the offset of all the components of NetworkProfileData (which isn't currently implemented in yuzu, alongside SfNetworkProfileData) NetworkProfileData documentation: https://switchbrew.org/wiki/Network_Interface_services#NetworkProfileData SfNetworkProfileData documentation: https://switchbrew.org/wiki/Network_Interface_services#SfNetworkProfileData Since I trust ogniK's work on reversing NIFM, I'd assume this was just a typo in the string
2020-05-20crypto: Make KeyManager a singleton classFearlessTobi
Previously, we were reading the keys everytime a KeyManager object was created, causing yuzu to reread the keys file multiple hundreds of times when loading the game list. With this change, it is only loaded once. On my system, this decreased game list loading times by a factor of 20.
2020-05-19Merge pull request #3926 from ogniK5377/keyboard-statesbunnei
hid: Clear keyboard states & fix logic issue
2020-05-16Merge pull request #3665 from bunnei/device-savebunnei
FS: Improve emulation of device saves
2020-05-16nv_flinger: Use enum for pixel format instead of u32David Marcec
2020-05-12time_zone: Use std::chrono::seconds for strong typing.bunnei
2020-05-12hid: Clear keyboard states & fix logic issueDavid Marcec
Previously we never cleared the states of the entries and the key would stay held down, also looping over the key bytes for each key lead to setting every bit for the key state instead of the key we wanted
2020-05-11hle: service: time_zone_manager: Use current time zone setting.bunnei
2020-05-11service: fsp_srv: Stub implementation of OpenMultiCommitManager.bunnei
2020-05-12Stub SendKeyboardLockKeyEventDavid Marcec
Needed for Puchikon 4 SmileBASIC 1.0.0
2020-05-08Replace externals with Conan (#3735)James Rowe
* Remove git submodules that will be loaded through conan * Move custom Find modules to their own folder * Use conan for downloading missing external dependencies * CI: Change the yuzu source folder user to the user that the containers run on * Attempt to remove dirty mingw build hack * Install conan on the msvc build * Only set release build type when using not using multi config generator * Re-add qt bundled to workaround an issue with conan qt not downloading prebuilt binaries * Add workaround for submodules that use legacy CMAKE variables * Re-add USE_BUNDLED_QT on the msvc build bot
2020-05-07Merge pull request #3879 from lioncash/global2bunnei
hle_ipc: Eliminate core memory globals
2020-05-05Merge pull request #3881 from lioncash/mem-warningbunnei
kernel/memory: Resolve several compiler warnings
2020-05-04Merge pull request #3880 from lioncash/encodingbunnei
kernel/memory: Amend potential encoding warnings
2020-05-04Merge pull request #3843 from ogniK5377/GetPopFromGeneralChannelEventbunnei
am: IHomeMenuFunctions:GetPopFromGeneralChannelEvent