aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle
AgeCommit message (Collapse)Author
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
2020-05-03Merge pull request #3822 from ogniK5377/GetAccountIdbunnei
acc: Return a unique value per account for GetAccountId
2020-05-03kernel/memory: Remove #pragma once within cpp fileLioncash
This isn't necessary in a cpp file and will cause warnings on clang.
2020-05-03kernel/memory: Remove unused includesLioncash
Prevents header churn and needing to recompile these files if these headers are ever changed in the future.
2020-05-03kernel/memory: Remove unused variables in memory_block_managerLioncash
Prevents unused variable warnings.
2020-05-03kernel/memory: Make use of std::array consistently in address_space_infoLioncash
This allows tuning standard library implementations to enable or disable range checks at runtime, which is nicer for debugging.
2020-05-03kernel/memory: Resolve -Wshadow warningsLioncash
Prevents variable name clashing.
2020-05-03kernel/memory: Amend potential encoding warningsLioncash
While èis generally representable in some language encodings, in some it isn't and will result in compilation warnings occurring. To remain friendly with other language's codepages on Windows, we normalize it to an ASCII e.
2020-05-03hle_ipc: Eliminate core memory globalsLioncash
We can just pass the required instances into the constructor of the request, eliminating all usages of the global system accessor.
2020-05-02Merge pull request #3871 from lioncash/semibunnei
readable_event: Remove unnecessary semicolon in Signal()
2020-05-02Merge pull request #3824 from ogniK5377/GetDisplayVersionbunnei
am: Properly implement GetDisplayVersion
2020-05-02Update src/core/hle/service/am/am.cppbunnei
Co-authored-by: Mat M. <mathew1800@gmail.com>
2020-05-02readable_event: Remove unnecessary semicolon in Signal()Lioncash
Resolves a -Wextra-semi warning. While we're at it, we can invert the branch to form a guard clause, unindenting all of the contained code.
2020-05-02Merge pull request #3811 from ogniK5377/audin-initbunnei
audin:u: ListAudioIns, OpenAudioIn, ListAudioInsAuto, OpenAudioInAuto, ListAudioInsAutoFiltered, OpenAudioInProtocolSpecified
2020-05-02Merge pull request #3819 from ogniK5377/err-log2bunnei
kernel: Don't fail silently
2020-05-01Merge pull request #3833 from qwell/caps_su-32-stubbunnei
Add stub for caps:su SetShimLibraryVersion