FearlessTobi
5e9e8073a0
crypto: Make KeyManager a singleton class
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.
6 years ago
ReinUsesLisp
541a254c2e
yuzu: Add frontend settings for assembly shaders
Add settings for assembly shaders. Currently hidden to avoid users from
accidentally enabled them.
6 years ago
David Marcec
d50dd8f7a0
file_sys: Update SystemVersion archive to version 10.0.2
6 years ago
David Marcec
97c023e3f0
nv_flinger: Use enum for pixel format instead of u32
6 years ago
Morph
eedbf90664
frontend: Set minimum window size to 640x360 instead of 1280x720 ( #3413 )
6 years ago
bunnei
053399a553
time_zone: Use std::chrono::seconds for strong typing.
6 years ago
David Marcec
e6886a756c
hid: Clear keyboard states & fix logic issue
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
6 years ago
bunnei
f42b9c0a85
hle: service: time_zone_manager: Use current time zone setting.
6 years ago
bunnei
8588ac0645
core: settings: Add a setting for time zone.
6 years ago
bunnei
ee3b9071b5
service: fsp_srv: Stub implementation of OpenMultiCommitManager.
6 years ago
bunnei
97e2eb439c
file_sys: savefata_factory: Update to support DeviceSaveData.
6 years ago
bunnei
f870a935d4
file_sys: control_metadata: Expose device_save_data_size.
6 years ago
David Marcec
26bd4978a3
Stub SendKeyboardLockKeyEvent
Needed for Puchikon 4 SmileBASIC 1.0.0
6 years ago
James Rowe
2991e7441a
Replace externals with Conan ( #3735 )
* 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
6 years ago
Lioncash
12b81f2581
kernel/memory: Remove #pragma once within cpp file
This isn't necessary in a cpp file and will cause warnings on clang.
6 years ago
Lioncash
0bf0d27552
kernel/memory: Remove unused includes
Prevents header churn and needing to recompile these files if these
headers are ever changed in the future.
6 years ago
Lioncash
0bb99454ed
kernel/memory: Remove unused variables in memory_block_manager
Prevents unused variable warnings.
6 years ago
Lioncash
42d43335c9
kernel/memory: Make use of std::array consistently in address_space_info
This allows tuning standard library implementations to enable or disable
range checks at runtime, which is nicer for debugging.
6 years ago
Lioncash
e09098b981
kernel/memory: Resolve -Wshadow warnings
Prevents variable name clashing.
6 years ago
Lioncash
a93929b23a
kernel/memory: Amend potential encoding warnings
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.
6 years ago
Lioncash
ccfac6d992
hle_ipc: Eliminate core memory globals
We can just pass the required instances into the constructor of the
request, eliminating all usages of the global system accessor.
6 years ago
Morph
970c8f1ccc
settings: Add anisotropic filtering level to the yuzu configuration log ( #3875 )
6 years ago
bunnei
6173ba77f8
Update src/core/hle/service/am/am.cpp
Co-authored-by: Mat M. <mathew1800@gmail.com>
6 years ago
Lioncash
918b439e26
readable_event: Remove unnecessary semicolon in Signal()
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.
6 years ago
David Marcec
1d2ebbf8fe
nvdrv: Fix GetGpuTime stack corruption
IoctlGetGpuTime should be 16 bytes, not 8.
6 years ago
David Marcec
e433e24ed4
am: IHomeMenuFunctions:GetPopFromGeneralChannelEvent
QLaunch 1.0.0
6 years ago
Jason Parker
9cdcfd80fc
caps:su Stub out SetShimLibraryVersion
Used by Animal Crossing: New Horizons when trying to take a picture.
6 years ago
David Marcec
053fabf414
fs-srv: GetFreeSpaceSize & GetTotalSpaceSize
Closes #3533
Turns out the functions were already implemented but just never added
6 years ago
David Marcec
9acd88ff71
nim: CreateServerInterface, CreateAccessorInterface, CreateAsyncInterface
Closes #3026
6 years ago
David Marcec
66f74349f0
caps: Add missing service names to caps:su
SetShimLibraryVersion, SaveScreenShotEx1 & SaveScreenShotEx2 were missing
6 years ago
David Marcec
5da10e6ec0
am: GetFriendInvitationStorageChannelEvent
Closes #3829
6 years ago
David Marcec
b1d4271c5d
psm: Mark as debug instead of warning
No point to emulate battery life. However options are broken out if we ever want to add a setting for it
6 years ago
David Marcec
22298a3b2d
am: Properly implement GetDisplayVersion
Properly implement IApplicationFunctions::GetDisplayVersion
6 years ago
David Marcec
70e12c713e
am: IsVrModeEnabled & SetVrModeEnabled fixes
Return the proper state of vr mode for IsVrModeEnabled
We should not return an error for SetVrModeEnabled. When VR Mode is turned on, it signals to lbl to turn vr mode on, not return an error code
6 years ago
David Marcec
3d475a655b
acc: Return a unique value per account for GetAccountId
6 years ago
David Marcec
485cb3ac34
acc: Fix InitializeApplicationInfo
We're not suppose to pop a u64, should just read the sent pid and check that
6 years ago
David Marcec
4f69eb7061
kernel: Don't fail silently
6 years ago
David Marcec
63b73587b7
Don't fail silently for vi, sm, set and ns services
6 years ago
David Marcec
45ece975bf
kernel: Bad GetInfo ids should not be marked as stubs
As we currently match hardware and don't return a successful result, these should be marked as errors instead of warnings and as stubs.
6 years ago
David Marcec
fecc4a4a01
Updated comment to reflect ListQualifiedUsers better
6 years ago
David Marcec
0af061e175
style: Change AMs & Glues error codes to be dec instead of hex
Consistency for the rest of the error codes in the codebase
6 years ago
David Marcec
b680569dd3
marked stubs
6 years ago
David Marcec
36302b6e20
account: ListQualifiedUsers
Closes #2844
6 years ago
David Marcec
f3209e7baa
Audin:u ListAudioIns, OpenAudioIn, ListAudioInsAuto, OpenAudioInAuto, ListAudioInsAutoFiltered, OpenAudioInProtocolSpecified
Closes #2874
6 years ago
M&M
381eed14f6
services: hid: Stub StopSevenSixAxisSensor.
- Used by The Legend of Zelda: Breath of the Wild v1.6.0
6 years ago
David Marcec
efe3e5c7c6
vi: Don't let uninitialized data pass as a response for SetBufferCount
Currently SetBufferCount doesn't write to the out buffer which then contains uninitialized data. This leads to non-zero data which leads to responding with different error codes
6 years ago
Lioncash
dca9c90af3
physical_core: Make use of std::make_unique instead of std::make_shared in ctor
We can also allow unicorn to be constructed in 32-bit mode or 64-bit
mode to satisfy the need for both interpreter instances.
Allows this code to compile successfully of non x86-64 architectures.
6 years ago
Lioncash
9a5a6ebe0a
shared_memory: Amend doxygen reference
Amends the parameter to match the documentation reference.
Resolves a -Wdocumentation warning with clang.
6 years ago
Lioncash
224d3c6b9d
svc: Re-add MapProcessCodeMemory/UnmapProcessCodeMemory
These were lost in the re-implementation of the virtual memory manager.
6 years ago
Lioncash
2fc4351547
svc: Remove unused variable
Since the VMM refactor, this is no longer used or needed.
6 years ago